[71725] trunk/dports/security/steghide

ryandesign at macports.org ryandesign at macports.org
Tue Sep 21 00:34:03 PDT 2010


Revision: 71725
          http://trac.macports.org/changeset/71725
Author:   ryandesign at macports.org
Date:     2010-09-21 00:33:59 -0700 (Tue, 21 Sep 2010)
Log Message:
-----------
steghide: fix build with gettext 0.18; see #25014

Modified Paths:
--------------
    trunk/dports/security/steghide/Portfile

Added Paths:
-----------
    trunk/dports/security/steghide/files/patch-src-gettext.h.diff

Modified: trunk/dports/security/steghide/Portfile
===================================================================
--- trunk/dports/security/steghide/Portfile	2010-09-21 07:21:49 UTC (rev 71724)
+++ trunk/dports/security/steghide/Portfile	2010-09-21 07:33:59 UTC (rev 71725)
@@ -22,7 +22,8 @@
 
 patchfiles          patch-build-with-gcc-4.diff \
                     patch-src-Makefile.am.diff \
-                    patch-src-Makefile.in.diff
+                    patch-src-Makefile.in.diff \
+                    patch-src-gettext.h.diff
 
 checksums           md5 5be490e24807d921045780fd8cc446b3 \
                     sha1 a6d204744fabfe5751ab5e2d889ac373c0b0a30c \

Added: trunk/dports/security/steghide/files/patch-src-gettext.h.diff
===================================================================
--- trunk/dports/security/steghide/files/patch-src-gettext.h.diff	                        (rev 0)
+++ trunk/dports/security/steghide/files/patch-src-gettext.h.diff	2010-09-21 07:33:59 UTC (rev 71725)
@@ -0,0 +1,13 @@
+--- src/gettext.h.orig	2003-09-28 10:30:30.000000000 -0500
++++ src/gettext.h	2010-09-21 02:24:49.000000000 -0500
+@@ -25,6 +25,10 @@
+ /* Get declarations of GNU message catalog functions.  */
+ # include <libintl.h>
+ 
++#ifdef setlocale
++#undef setlocale
++#endif
++
+ #else
+ 
+ /* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100921/46a0ca26/attachment.html>


More information about the macports-changes mailing list