[137640] trunk/dports/mail/gnupg2

jeremyhu at macports.org jeremyhu at macports.org
Mon Jun 15 12:00:41 PDT 2015


Revision: 137640
          https://trac.macports.org/changeset/137640
Author:   jeremyhu at macports.org
Date:     2015-06-15 12:00:41 -0700 (Mon, 15 Jun 2015)
Log Message:
-----------
gnupg2: Build fix when building against an SDK rather than /

Modified Paths:
--------------
    trunk/dports/mail/gnupg2/Portfile

Added Paths:
-----------
    trunk/dports/mail/gnupg2/files/patch-gl_stdint__h.diff

Modified: trunk/dports/mail/gnupg2/Portfile
===================================================================
--- trunk/dports/mail/gnupg2/Portfile	2015-06-15 18:50:27 UTC (rev 137639)
+++ trunk/dports/mail/gnupg2/Portfile	2015-06-15 19:00:41 UTC (rev 137640)
@@ -37,8 +37,6 @@
 
 # glib fails to find the right stdint.h  It picks clang's internal one rather
 # than the system header
-configure.env       gl_cv_absolute_stdint_h=/usr/include/stdint.h
-
 depends_lib         port:libiconv           \
                     port:gettext            \
                     port:zlib               \
@@ -57,7 +55,8 @@
 
 patchfiles          patch-common-homedir.c.diff \
                     patch-configure.diff \
-                    patch-tests__openpgp__Makefile.in.diff
+                    patch-tests__openpgp__Makefile.in.diff \
+                    patch-gl_stdint__h.diff
 
 platform darwin {
     patchfiles-append   patch-gpg_agent-launchd.diff

Added: trunk/dports/mail/gnupg2/files/patch-gl_stdint__h.diff
===================================================================
--- trunk/dports/mail/gnupg2/files/patch-gl_stdint__h.diff	                        (rev 0)
+++ trunk/dports/mail/gnupg2/files/patch-gl_stdint__h.diff	2015-06-15 19:00:41 UTC (rev 137640)
@@ -0,0 +1,15 @@
+--- gl/stdint_.h.orig	2015-02-17 06:00:57.000000000 -0800
++++ gl/stdint_.h	2015-06-15 11:47:56.000000000 -0700
+@@ -38,11 +38,7 @@
+       diagnostics.  */
+ #  define __STDINT_H__
+ # endif
+-  /* Other systems may have an incomplete or buggy <stdint.h>.
+-     Include it before <inttypes.h>, since any "#include <stdint.h>"
+-     in <inttypes.h> would reinclude us, skipping our contents because
+-     _GL_STDINT_H is defined.  */
+-# include @ABSOLUTE_STDINT_H@
++# include_next <stdint.h>
+ #endif
+ 
+ /* <sys/types.h> defines some of the stdint.h types as well, on glibc,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150615/09d1af50/attachment.html>


More information about the macports-changes mailing list