[Pkg-electronics-commits] [gerbv] 01/04: Add cross.patch to fix cross builds

أحمد المحمودي (Ahmed El-Mahmoudy) aelmahmoudy at users.sourceforge.net
Sun Nov 19 09:01:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

aelmahmoudy-guest pushed a commit to branch master
in repository gerbv.

commit fef542b1d02d1065fecca99dbe20fd9b3f690f03
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
Date:   Sun Nov 19 09:42:27 2017 +0100

    Add cross.patch to fix cross builds
    
    Thanks: Helmut Grohne <helmut at subdivi.de>
    Closes: #879855
---
 debian/patches/cross.patch | 18 ++++++++++++++++++
 debian/patches/series      |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/cross.patch b/debian/patches/cross.patch
new file mode 100644
index 0000000..5f7fdd3
--- /dev/null
+++ b/debian/patches/cross.patch
@@ -0,0 +1,18 @@
+Description: Fix cross builds
+Author: Helmut Grohne <helmut at subdivi.de>
+Bug-Debian: https://bugs.debian.org/879855
+Index: gerbv-2.6.1/configure.ac
+===================================================================
+--- gerbv-2.6.1.orig/configure.ac
++++ gerbv-2.6.1/configure.ac
+@@ -185,8 +185,8 @@
+ AM_CONDITIONAL(HAVE_MAGICK, test x$have_magick = xyes)
+ 
+ # Check for pkg-config
+-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+-if test "$PKG_CONFIG" = "no"; then
++PKG_PROG_PKG_CONFIG
++if test "x$PKG_CONFIG" = "x"; then
+ 	AC_MSG_ERROR([Cannot find pkg-config, make sure it is installed and in your PATH])
+ fi      
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 13b2148..ae20d8c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 0002-Fix-manpage.patch
 0003-No-translation-available.patch
 0004-pnp-can-t-use-screen-units.patch
+cross.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/gerbv.git



More information about the Pkg-electronics-commits mailing list