[Midnightbsd-cvs] mports [15435] trunk/archivers/bzip: fix build

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Sep 12 19:32:00 EDT 2013


Revision: 15435
          http://svnweb.midnightbsd.org/mports/?rev=15435
Author:   laffer1
Date:     2013-09-12 19:31:59 -0400 (Thu, 12 Sep 2013)
Log Message:
-----------
fix build

Modified Paths:
--------------
    trunk/archivers/bzip/Makefile
    trunk/archivers/bzip/distinfo
    trunk/archivers/bzip/files/patch-ac

Modified: trunk/archivers/bzip/Makefile
===================================================================
--- trunk/archivers/bzip/Makefile	2013-09-12 23:30:03 UTC (rev 15434)
+++ trunk/archivers/bzip/Makefile	2013-09-12 23:31:59 UTC (rev 15435)
@@ -1,24 +1,20 @@
-# New ports collection makefile for:    bzip
-# Date created:         Fr  27 Sep 1996 11:47:35 MET DST
-# Whom:                 Andreas Klemm <andreas at klemm.gtn.com>
-#
 # $MidnightBSD: mports/archivers/bzip/Makefile,v 1.5 2012/02/24 01:29:04 laffer1 Exp $
-# $FreeBSD: ports/archivers/bzip/Makefile,v 1.29 2006/08/14 12:33:28 jmelo Exp $
-#
 
 PORTNAME=	bzip
 PORTVERSION=	0.21
+PORTREVISION=	1
 CATEGORIES=	archivers
 MASTER_SITES=	ftp://ftp.42.org/pub/OLD/b/
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	A block-sorting file compressor
+
 LICENSE=	restricted
 # its gpl2 but patent issues
 
-DEPRECATED=	see full description
 RESTRICTED=	may be covered by patents
 MAN1=		bzip.1 bunzip.1
+USE_CSTD=	gnu89
 
 PLIST_FILES=	bin/bzip bin/bunzip
 

Modified: trunk/archivers/bzip/distinfo
===================================================================
--- trunk/archivers/bzip/distinfo	2013-09-12 23:30:03 UTC (rev 15434)
+++ trunk/archivers/bzip/distinfo	2013-09-12 23:31:59 UTC (rev 15435)
@@ -1,3 +1,2 @@
 SHA256 (bzip-0.21.tar.gz) = 85846f55406fa019305cee6f0aa3637769e857d8fff00eba26d8effc4539b014
-RMD160 (bzip-0.21.tar.gz) = 11a92099106de37660935f8735f74bf3971cff8a
 SIZE (bzip-0.21.tar.gz) = 325757

Modified: trunk/archivers/bzip/files/patch-ac
===================================================================
--- trunk/archivers/bzip/files/patch-ac	2013-09-12 23:30:03 UTC (rev 15434)
+++ trunk/archivers/bzip/files/patch-ac	2013-09-12 23:31:59 UTC (rev 15435)
@@ -8,6 +8,24 @@
     #include <utime.h>
     #include <unistd.h>
  #if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)	/* stdlib already included above */
+@@ -2580,7 +2581,7 @@
+ 
+ 
+ /*---------------------------------------------*/
+-void mySignalCatcher ( IntNative *n )
++void mySignalCatcher (int n __unused)
+ {
+    fprintf ( stderr, 
+              "\n%s: Control-C (or similar) caught, quitting.\n",
+@@ -2590,7 +2591,7 @@
+ 
+ 
+ /*---------------------------------------------*/
+-void mySIGSEGVorSIGBUScatcher ( IntNative *n )
++void mySIGSEGVorSIGBUScatcher (int n __unused)
+ {
+    if (compressing)
+       fprintf ( stderr,
 @@ -3132,11 +3133,6 @@
     signal (SIGBUS,  mySIGSEGVorSIGBUScatcher);
     #endif



More information about the Midnightbsd-cvs mailing list