summaryrefslogtreecommitdiff
path: root/package/libgpg-error/patches/patch-src_Makefile_in
diff options
context:
space:
mode:
Diffstat (limited to 'package/libgpg-error/patches/patch-src_Makefile_in')
-rw-r--r--package/libgpg-error/patches/patch-src_Makefile_in17
1 files changed, 13 insertions, 4 deletions
diff --git a/package/libgpg-error/patches/patch-src_Makefile_in b/package/libgpg-error/patches/patch-src_Makefile_in
index d19b518db..f33ffcfb7 100644
--- a/package/libgpg-error/patches/patch-src_Makefile_in
+++ b/package/libgpg-error/patches/patch-src_Makefile_in
@@ -1,6 +1,6 @@
---- libgpg-error-1.9.orig/src/Makefile.in 2010-07-21 10:00:00.000000000 +0200
-+++ libgpg-error-1.9/src/Makefile.in 2011-02-05 15:44:54.000000000 +0100
-@@ -149,6 +149,7 @@ BUILD_TIMESTAMP = @BUILD_TIMESTAMP@
+--- libgpg-error-1.12.orig/src/Makefile.in 2013-06-24 06:42:26.000000000 +0200
++++ libgpg-error-1.12/src/Makefile.in 2015-11-08 22:40:50.500389023 +0100
+@@ -192,6 +192,7 @@ BUILD_TIMESTAMP = @BUILD_TIMESTAMP@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CC_FOR_BUILD = @CC_FOR_BUILD@
@@ -8,7 +8,16 @@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
-@@ -868,12 +869,12 @@ gpg-error.def: Makefile gpg-error.def.in
+@@ -979,7 +980,7 @@ code-to-errno.h: Makefile mkerrnos.awk e
+ # It is correct to use $(CPP). We want the host's idea of the error codes.
+ mkerrcodes.h: Makefile mkerrcodes.awk $(gpg_extra_headers)
+ $(AWK) -f $(srcdir)/mkerrcodes1.awk $(srcdir)/errnos.in >_$@
+- $(CPP) $(CPPFLAGS) $(extra_cppflags) _$@ | grep GPG_ERR_ | \
++ $(CPP) $(CPPFLAGS) $(extra_cppflags) -P _$@ | grep GPG_ERR_ | \
+ $(AWK) -f $(srcdir)/mkerrcodes.awk >$@
+ -rm _$@
+
+@@ -1006,12 +1007,12 @@ gpg-error.def: Makefile gpg-error.def.in
# It is correct to use $(CC_FOR_BUILD) here. We want to run the
# program at build time.
mkerrcodes: mkerrcodes.c mkerrcodes.h Makefile