tags 636653 +patch
thanks
Please find a patch which fixes this problem for me.
Cheers,
Dominic.
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
diff -Nru libcrypt-gcrypt-perl-1.24/debian/changelog libcrypt-gcrypt-perl-1.24/debian/changelog
--- libcrypt-gcrypt-perl-1.24/debian/changelog 2010-02-02 16:49:26.000000000 +0000
+++ libcrypt-gcrypt-perl-1.24/debian/changelog 2011-08-06 16:36:48.000000000 +0100
@@ -1,3 +1,10 @@
+libcrypt-gcrypt-perl (1.24-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add $Config{ccflags} to CCFLAGS (Closes: #636653)
+
+ -- Dominic Hargreaves <[email protected]> Sat, 06 Aug 2011 16:36:35 +0100
+
libcrypt-gcrypt-perl (1.24-1) unstable; urgency=low
* New Upstream Release.
diff -Nru libcrypt-gcrypt-perl-1.24/debian/patches/series libcrypt-gcrypt-perl-1.24/debian/patches/series
--- libcrypt-gcrypt-perl-1.24/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ libcrypt-gcrypt-perl-1.24/debian/patches/series 2011-08-06 16:39:59.000000000 +0100
@@ -0,0 +1 @@
+use-config-ccflags.patch
diff -Nru libcrypt-gcrypt-perl-1.24/debian/patches/use-config-ccflags.patch libcrypt-gcrypt-perl-1.24/debian/patches/use-config-ccflags.patch
--- libcrypt-gcrypt-perl-1.24/debian/patches/use-config-ccflags.patch 1970-01-01 01:00:00.000000000 +0100
+++ libcrypt-gcrypt-perl-1.24/debian/patches/use-config-ccflags.patch 2011-08-06 16:39:52.000000000 +0100
@@ -0,0 +1,15 @@
+Description: Add $Config{ccflags} to CCFLAGS
+Author: Dominic Hargreaves <[email protected]>
+Bug-Debian: http://bugs.debian.org/636653
+
+--- libcrypt-gcrypt-perl-1.24.orig/Makefile.PL
++++ libcrypt-gcrypt-perl-1.24/Makefile.PL
+@@ -45,7 +45,7 @@ WriteMakefile(
+ 'VERSION_FROM' => 'lib/Crypt/GCrypt.pm',
+ 'LIBS' => $libs,
+ 'DEFINE' => '',
+- 'CCFLAGS' => '-funsigned-char',
++ 'CCFLAGS' => "-funsigned-char $Config{ccflags}",
+ 'dist' => { COMPRESS => 'gzip', SUFFIX => 'gz' },
+ @extras
+ );