[93422] trunk/dports/archivers/hfstar

mww at macports.org mww at macports.org
Mon May 21 23:48:52 PDT 2012


Revision: 93422
          https://trac.macports.org/changeset/93422
Author:   mww at macports.org
Date:     2012-05-21 23:48:51 -0700 (Mon, 21 May 2012)
Log Message:
-----------
hfstar: fix compilation on 10.7

Modified Paths:
--------------
    trunk/dports/archivers/hfstar/Portfile

Added Paths:
-----------
    trunk/dports/archivers/hfstar/files/patch-lib-getline.h.diff

Modified: trunk/dports/archivers/hfstar/Portfile
===================================================================
--- trunk/dports/archivers/hfstar/Portfile	2012-05-22 05:53:10 UTC (rev 93421)
+++ trunk/dports/archivers/hfstar/Portfile	2012-05-22 06:48:51 UTC (rev 93422)
@@ -20,7 +20,7 @@
 extract.suffix 	.tgz
 checksums	md5 67641190e4b3946c201a48310fe2e581
 worksrcdir	${name}
-patchfiles	patch-po_Makefile.in.in
+patchfiles	patch-po_Makefile.in.in patch-lib-getline.h.diff
 configure.args	--program-prefix=hfs --mandir=${prefix}/share/man \
 		--infodir=${prefix}/share/info
 build.env   LANG=C

Added: trunk/dports/archivers/hfstar/files/patch-lib-getline.h.diff
===================================================================
--- trunk/dports/archivers/hfstar/files/patch-lib-getline.h.diff	                        (rev 0)
+++ trunk/dports/archivers/hfstar/files/patch-lib-getline.h.diff	2012-05-22 06:48:51 UTC (rev 93422)
@@ -0,0 +1,11 @@
+--- lib/getline.h	1999-05-13 22:51:21.000000000 +0200
++++ lib/getline.h	2012-05-22 08:42:33.000000000 +0200
+@@ -27,7 +27,7 @@
+ #  endif
+ # endif
+ 
+-# if __GLIBC__ < 2
++# if __GLIBC__ < 2 && (! defined(__APPLE__))
+ int
+ getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream));
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120521/22be468f/attachment.html>


More information about the macports-changes mailing list