Project import generated by Copybara. NOKEYCHECK=True GitOrigin-RevId: a86ff48083c9393f5ae5496d1956f95a2619e9c0
diff --git a/libgpg-error.patches/libgpg-error-50.patch b/libgpg-error.patches/libgpg-error-50.patch new file mode 100644 index 0000000..6c6b2e1 --- /dev/null +++ b/libgpg-error.patches/libgpg-error-50.patch
@@ -0,0 +1,24 @@ +diff -Naur a/src/Makefile.am b/src/Makefile.am +--- a/src/Makefile.am 2010-09-16 06:09:17.000000000 -0700 ++++ b/src/Makefile.am 2016-09-07 22:34:28.201388863 -0700 +@@ -138,7 +138,7 @@ + # 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) $(extra_cppflags) _$@ | grep GPG_ERR_ | \ ++ $(CPP) $(extra_cppflags) -P _$@ | grep GPG_ERR_ | \ + $(AWK) -f $(srcdir)/mkerrcodes.awk >$@ + -rm _$@ + +diff -Naur a/src/Makefile.in b/src/Makefile.in +--- a/src/Makefile.in 2010-10-26 02:20:52.000000000 -0700 ++++ b/src/Makefile.in 2016-09-07 22:34:28.201388863 -0700 +@@ -848,7 +848,7 @@ + # 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) $(extra_cppflags) _$@ | grep GPG_ERR_ | \ ++ $(CPP) $(extra_cppflags) -P _$@ | grep GPG_ERR_ | \ + $(AWK) -f $(srcdir)/mkerrcodes.awk >$@ + -rm _$@ +
diff --git a/libgpg-error.patches/libgpg-error-51.patch b/libgpg-error.patches/libgpg-error-51.patch new file mode 100644 index 0000000..bfb2f40 --- /dev/null +++ b/libgpg-error.patches/libgpg-error-51.patch
@@ -0,0 +1,57 @@ +diff -Naur a/src/Makefile.am b/src/Makefile.am +--- a/src/Makefile.am 2016-09-13 21:25:19.622397189 -0700 ++++ b/src/Makefile.am 2016-09-13 21:28:01.216421787 -0700 +@@ -138,14 +138,14 @@ + # 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) $(extra_cppflags) -P _$@ | grep GPG_ERR_ | \ ++ $(CPP) $(CPPFLAGS) $(extra_cppflags) -P _$@ | grep GPG_ERR_ | \ + $(AWK) -f $(srcdir)/mkerrcodes.awk >$@ + -rm _$@ + + if HAVE_W32CE_SYSTEM + # It is correct to use $(CPP). We want the host's idea of the error codes. + mkw32errmap.tab.h: Makefile mkw32errmap.c +- $(CPP) -DRESOLVE_MACROS $(srcdir)/mkw32errmap.c | \ ++ $(CPP) $(CPPFLAGS) -DRESOLVE_MACROS $(srcdir)/mkw32errmap.c | \ + grep '{&mkw32errmap_marker' >$@ + mkw32errmap.map.c: mkw32errmap + ./mkw32errmap --map > $@ +@@ -161,7 +161,7 @@ + # the data is really to be preprocessed. + gpg-error.def: Makefile gpg-error.def.in + cat $(srcdir)/gpg-error.def.in >_$@.h +- $(CPP) $(DEFAULT_INCLUDES) $(INCLUDES) $(extra_cppflags) _$@.h | \ ++ $(CPP) $(CPPFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extra_cppflags) _$@.h | \ + grep -v '^#' >$@ + -rm _$@.h + +diff -Naur a/src/Makefile.in b/src/Makefile.in +--- a/src/Makefile.in 2016-09-13 21:25:19.622397189 -0700 ++++ b/src/Makefile.in 2016-09-13 21:28:01.216421787 -0700 +@@ -848,13 +848,13 @@ + # 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) $(extra_cppflags) -P _$@ | grep GPG_ERR_ | \ ++ $(CPP) $(CPPFLAGS) $(extra_cppflags) -P _$@ | grep GPG_ERR_ | \ + $(AWK) -f $(srcdir)/mkerrcodes.awk >$@ + -rm _$@ + + # It is correct to use $(CPP). We want the host's idea of the error codes. + @HAVE_W32CE_SYSTEM_TRUE@mkw32errmap.tab.h: Makefile mkw32errmap.c +-@HAVE_W32CE_SYSTEM_TRUE@ $(CPP) -DRESOLVE_MACROS $(srcdir)/mkw32errmap.c | \ ++@HAVE_W32CE_SYSTEM_TRUE@ $(CPP) $(CPPFLAGS) -DRESOLVE_MACROS $(srcdir)/mkw32errmap.c | \ + @HAVE_W32CE_SYSTEM_TRUE@ grep '{&mkw32errmap_marker' >$@ + @HAVE_W32CE_SYSTEM_TRUE@mkw32errmap.map.c: mkw32errmap + @HAVE_W32CE_SYSTEM_TRUE@ ./mkw32errmap --map > $@ +@@ -868,7 +868,7 @@ + # the data is really to be preprocessed. + gpg-error.def: Makefile gpg-error.def.in + cat $(srcdir)/gpg-error.def.in >_$@.h +- $(CPP) $(DEFAULT_INCLUDES) $(INCLUDES) $(extra_cppflags) _$@.h | \ ++ $(CPP) $(CPPFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extra_cppflags) _$@.h | \ + grep -v '^#' >$@ + -rm _$@.h +
diff --git a/libgpg-error.tar.bz2 b/libgpg-error.tar.bz2 new file mode 100644 index 0000000..d8aab4b --- /dev/null +++ b/libgpg-error.tar.bz2 Binary files differ
diff --git a/libgpg-error.url b/libgpg-error.url new file mode 100644 index 0000000..193e93e --- /dev/null +++ b/libgpg-error.url
@@ -0,0 +1 @@ +ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.bz2
diff --git a/libgpg-error.version b/libgpg-error.version new file mode 100644 index 0000000..c044b1a --- /dev/null +++ b/libgpg-error.version
@@ -0,0 +1 @@ +1.10