Add patch to fix libgpg-error build
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 13 Apr 2018 06:51:48 +0000 (08:51 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Fri, 13 Apr 2018 06:51:48 +0000 (08:51 +0200)
* Makefile.am (EXTRA_DIST): Update.
* patches/libgpg-error-1.29/
0001-doc-Fix-yat2m-build-for-cross-compilation.patch: New.

Makefile.am
patches/libgpg-error-1.29/0001-doc-Fix-yat2m-build-for-cross-compilation.patch [new file with mode: 0755]

index 5e4e822..1431aac 100644 (file)
@@ -45,7 +45,8 @@ EXTRA_DIST = autogen.sh README.GIT ONEWS \
         patches/kleopatra/0005-Hack-generated-conf-files-for-Crosscompiling.patch \
         patches/kleopatra/fix-qt5.6-build.patch \
         patches/extra-cmake-modules/0001-Use-BIN_INSTALL_DIR-data-for-DATAROOTDIR-on-Windows.patch \
-        patches/gpa-0.9.10/0001-w32-Make-location-of-locale-dir-more-flexible.patch
+        patches/gpa-0.9.10/0001-w32-Make-location-of-locale-dir-more-flexible.patch \
+        patches/libgpg-error-1.29/0001-doc-Fix-yat2m-build-for-cross-compilation.patch
 
 
 copy-news:
diff --git a/patches/libgpg-error-1.29/0001-doc-Fix-yat2m-build-for-cross-compilation.patch b/patches/libgpg-error-1.29/0001-doc-Fix-yat2m-build-for-cross-compilation.patch
new file mode 100755 (executable)
index 0000000..b3b0bc1
--- /dev/null
@@ -0,0 +1,35 @@
+#! /bin/sh
+patch -p1 -l -f $* < $0
+exit $?
+
+From 792877a08ca7bc9d1377161dc9af374602a394cc Mon Sep 17 00:00:00 2001
+From: NIIBE Yutaka <gniibe@fsij.org>
+Date: Fri, 13 Apr 2018 15:45:54 +0900
+Subject: [PATCH Libgpg-error] doc: Fix yat2m build for cross compilation.
+
+* doc/Makefile.am: Fix target of yat2m-for-build.
+
+--
+
+GnuPG-bug-id: 3901
+Fixes-commit: efc4769339d42a4a399c040c146cf4a29c02ea4f
+Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
+---
+ doc/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/Makefile.am b/doc/Makefile.am
+index 7439a49..76af5be 100644
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -46,7 +46,7 @@ YAT2M_CMD = ./yat2m-for-build
+ YAT2M_DEP = yat2m-for-build
+ CLEANFILES += yat2m-for-build
+
+-yat2m-for-build$(EXEEXT): yat2m.c
++yat2m-for-build: yat2m.c
+       $(CC_FOR_BUILD) -o $@ $(srcdir)/yat2m.c
+ else
+ YAT2M_CMD = ./yat2m
+--
+2.11.0