[SCM] libx11-guitest-perl Debian packaging branch, master, updated. debian/0.25-1-4-g22c1461

gregor herrmann gregoa at debian.org
Tue Dec 13 16:58:55 UTC 2011


The following commit has been merged in the master branch:
commit 381d313a46b655297f5eca3c4faa33098dd76116
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Dec 13 17:49:39 2011 +0100

    Add patch ccflags.patch: include $Config{ccflags} in CCFLAGS in Makefile.PL.
    
    Thanks: Boris Sukholitk for the bug report
    Closes: #651876

diff --git a/debian/patches/ccflags.patch b/debian/patches/ccflags.patch
new file mode 100644
index 0000000..f1ea0e6
--- /dev/null
+++ b/debian/patches/ccflags.patch
@@ -0,0 +1,27 @@
+Description: Include $Config{ccflags} in CCFLAGS
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/651876
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2011-12-13
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -4,7 +4,7 @@
+ use strict;
+ use warnings;
+ use ExtUtils::MakeMaker;
+-
++use Config;
+ 
+ # Optional building of additional doc formats.
+ if (defined($ARGV[0]) && $ARGV[0] eq 'docs') {
+@@ -30,7 +30,7 @@
+ 	# (X server) extensions, use "-DX11_GUITEST_USING_XINERAMA".
+ 	'DEFINE' => '-DNDEBUG -DX11_GUITEST_ALT_L_FALLBACK_META_L', # e.g., '-DHAVE_SOMETHING'
+ 	'INC'   => '-I/usr/X11R6/include -I/usr/X/include', # e.g., '-I/usr/include/other'
+-	'CCFLAGS' => '-Wall',
++	'CCFLAGS' => "-Wall $Config{ccflags}",
+ 	'OBJECT' => 'GUITest$(OBJ_EXT) KeyUtil$(OBJ_EXT)',
+ 	'OPTIMIZE' => '-O2'
+ );
diff --git a/debian/patches/series b/debian/patches/series
index ee7eaed..42ad5bf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-fix-spelling-error.diff
+ccflags.patch

-- 
libx11-guitest-perl Debian packaging



More information about the Pkg-perl-cvs-commits mailing list