r18504 - in /trunk/libalien-wxwidgets-perl/debian: changelog control patches/ patches/recognize_g++_compiler.patch patches/series rules

roberto at users.alioth.debian.org roberto at users.alioth.debian.org
Sat Apr 12 18:04:06 UTC 2008


Author: roberto
Date: Sat Apr 12 18:04:05 2008
New Revision: 18504

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18504
Log:
Make Alien::wxWidgets->config able to see g++ >= 4.3 (Closes: #474404)

Added:
    trunk/libalien-wxwidgets-perl/debian/patches/
    trunk/libalien-wxwidgets-perl/debian/patches/recognize_g++_compiler.patch
    trunk/libalien-wxwidgets-perl/debian/patches/series
Modified:
    trunk/libalien-wxwidgets-perl/debian/changelog
    trunk/libalien-wxwidgets-perl/debian/control
    trunk/libalien-wxwidgets-perl/debian/rules

Modified: trunk/libalien-wxwidgets-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libalien-wxwidgets-perl/debian/changelog?rev=18504&op=diff
==============================================================================
--- trunk/libalien-wxwidgets-perl/debian/changelog (original)
+++ trunk/libalien-wxwidgets-perl/debian/changelog Sat Apr 12 18:04:05 2008
@@ -1,3 +1,9 @@
+libalien-wxwidgets-perl (0.33-2) unstable; urgency=low
+
+  * Make Alien::wxWidgets->config able to see g++ >= 4.3 (Closes: #474404)
+
+ -- Roberto C. Sanchez <roberto at connexer.com>  Sat, 12 Apr 2008 13:59:20 -0400
+
 libalien-wxwidgets-perl (0.33-1) unstable; urgency=low
 
   * debian/rules: Fix so package builds when run as 'debian/rules binary-arch'

Modified: trunk/libalien-wxwidgets-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libalien-wxwidgets-perl/debian/control?rev=18504&op=diff
==============================================================================
--- trunk/libalien-wxwidgets-perl/debian/control (original)
+++ trunk/libalien-wxwidgets-perl/debian/control Sat Apr 12 18:04:05 2008
@@ -6,7 +6,7 @@
  Damyan Ivanov <dmn at debian.org>
 Build-Depends: debhelper (>= 5), libmodule-build-perl,
  libmodule-pluggable-perl, libwxgtk2.6-dev, libtest-pod-perl,
- libtest-pod-coverage-perl
+ libtest-pod-coverage-perl, quilt
 Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Alien-wxWidgets/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libalien-wxwidgets-perl/

Added: trunk/libalien-wxwidgets-perl/debian/patches/recognize_g++_compiler.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libalien-wxwidgets-perl/debian/patches/recognize_g%2B%2B_compiler.patch?rev=18504&op=file
==============================================================================
--- trunk/libalien-wxwidgets-perl/debian/patches/recognize_g++_compiler.patch (added)
+++ trunk/libalien-wxwidgets-perl/debian/patches/recognize_g++_compiler.patch Sat Apr 12 18:04:05 2008
@@ -1,0 +1,11 @@
+--- libalien-wxwidgets-perl.orig/lib/Alien/wxWidgets/Utility.pm
++++ libalien-wxwidgets-perl/lib/Alien/wxWidgets/Utility.pm
+@@ -43,7 +43,7 @@
+ sub awx_cc_is_gcc {
+     my( $cc ) = @_;
+ 
+-    return    scalar( awx_capture( "$cc --version" ) =~ m/gcc/i ) # 3.x
++    return    scalar( awx_capture( "$cc --version" ) =~ m/g(cc|\+\+)/i ) # 3.x
+            || scalar( awx_capture( "$cc" ) =~ m/gcc/i );          # 2.95
+ }
+ 

Added: trunk/libalien-wxwidgets-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libalien-wxwidgets-perl/debian/patches/series?rev=18504&op=file
==============================================================================
--- trunk/libalien-wxwidgets-perl/debian/patches/series (added)
+++ trunk/libalien-wxwidgets-perl/debian/patches/series Sat Apr 12 18:04:05 2008
@@ -1,0 +1,1 @@
+recognize_g++_compiler.patch

Modified: trunk/libalien-wxwidgets-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libalien-wxwidgets-perl/debian/rules?rev=18504&op=diff
==============================================================================
--- trunk/libalien-wxwidgets-perl/debian/rules (original)
+++ trunk/libalien-wxwidgets-perl/debian/rules Sat Apr 12 18:04:05 2008
@@ -9,6 +9,8 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
 
 # wxWidgets version
 export V=`dpkg -s libwxgtk2.6-dev | grep ^Version |cut -f2 -d' '`
@@ -30,7 +32,7 @@
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 
 	# Add commands to compile the package here
@@ -40,7 +42,7 @@
 
 	touch build-stamp
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f debian/libalien-wxwidgets-perl.substvars




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