[Pkg-electronics-commits] [SCM] Packaging for Pcb branch, master, updated. debian/20110918-5-2-g6f053e2
أحمد المحمو =?UTF-8?Q?=D8=AF=D9=8A=20?=(Ahmed El-Mahmoudy)
aelmahmoudy at sabily.org
Wed May 23 11:33:40 UTC 2012
The following commit has been merged in the master branch:
commit 6f053e298492884dafee100edfd303888a649cfa
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
Date: Wed May 23 13:13:49 2012 +0200
Added fix_CPPFLAGS.diff patch to Append input CPPFLAGS for lesstif target
diff --git a/debian/patches/fix_CPPFLAGS.diff b/debian/patches/fix_CPPFLAGS.diff
new file mode 100644
index 0000000..88c7d7a
--- /dev/null
+++ b/debian/patches/fix_CPPFLAGS.diff
@@ -0,0 +1,26 @@
+Description: Append input CPPFLAGS for lesstif target
+Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
+Bug: https://bugs.launchpad.net/pcb/+bug/1003355
+Forwarded: https://bugs.launchpad.net/pcb/+bug/1003355/+attachment/3159260/+files/fix_CPPFLAGS.diff
+--- a/configure
++++ b/configure
+@@ -15260,7 +15260,7 @@
+
+ fi
+
+- CPPFLAGS="$CFLAGS $X_CFLAGS"
++ CPPFLAGS="$CPPFLAGS $CFLAGS $X_CFLAGS"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5
+ $as_echo_n "checking for XOpenDisplay in -lX11... " >&6; }
+ if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then :
+--- a/configure.ac
++++ b/configure.ac
+@@ -710,7 +710,7 @@
+ case $e in
+ lesstif )
+ AC_PATH_XTRA
+- CPPFLAGS="$CFLAGS $X_CFLAGS"
++ CPPFLAGS="$CPPFLAGS $CFLAGS $X_CFLAGS"
+ AC_CHECK_LIB(X11, XOpenDisplay, , , $X_LIBS)
+ AC_CHECK_LIB(ICE, main, , , $X_LIBS)
+ AC_CHECK_LIB(SM, main, , , $X_LIBS)
diff --git a/debian/patches/series b/debian/patches/series
index 883b416..b1b4f4b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ default_GtkFileChooser_cwd.diff
disable_hid_png3_test.diff
0001-Fixed-command-line-batch-output-for-some-exporters.patch
drop_check_global_included.patch
+fix_CPPFLAGS.diff
--
Packaging for Pcb
More information about the Pkg-electronics-commits
mailing list