[125206] trunk/dports/devel/libgpg-error

ryandesign at macports.org ryandesign at macports.org
Tue Sep 9 20:35:28 PDT 2014


Revision: 125206
          https://trac.macports.org/changeset/125206
Author:   ryandesign at macports.org
Date:     2014-09-09 20:35:27 -0700 (Tue, 09 Sep 2014)
Log Message:
-----------
libgpg-error: fix build on Snow Leopard and earlier by including <sys/types.h> (#44921)

Modified Paths:
--------------
    trunk/dports/devel/libgpg-error/Portfile

Added Paths:
-----------
    trunk/dports/devel/libgpg-error/files/patch-src-gpg-error.h.in.diff

Modified: trunk/dports/devel/libgpg-error/Portfile
===================================================================
--- trunk/dports/devel/libgpg-error/Portfile	2014-09-10 02:54:12 UTC (rev 125205)
+++ trunk/dports/devel/libgpg-error/Portfile	2014-09-10 03:35:27 UTC (rev 125206)
@@ -27,7 +27,8 @@
 depends_lib     port:libiconv \
                 port:gettext
 
-patchfiles      patch-configure.diff
+patchfiles      patch-configure.diff \
+                patch-src-gpg-error.h.in.diff
 
 test.run        yes
 test.target     check

Added: trunk/dports/devel/libgpg-error/files/patch-src-gpg-error.h.in.diff
===================================================================
--- trunk/dports/devel/libgpg-error/files/patch-src-gpg-error.h.in.diff	                        (rev 0)
+++ trunk/dports/devel/libgpg-error/files/patch-src-gpg-error.h.in.diff	2014-09-10 03:35:27 UTC (rev 125206)
@@ -0,0 +1,11 @@
+https://bugs.g10code.com/gnupg/issue1712
+--- src/gpg-error.h.in.orig	2014-08-26 06:40:05.000000000 -0500
++++ src/gpg-error.h.in	2014-09-09 22:17:14.000000000 -0500
+@@ -26,6 +26,7 @@
+ #include <stddef.h>
+ #include <stdio.h>
+ #include <stdarg.h>
++#include <sys/types.h>
+ 
+ #ifdef __GNUC__
+ #define GPG_ERR_INLINE __inline__
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140909/0e19ed50/attachment.html>


More information about the macports-changes mailing list