[Pkg-sympa-commits] [SCM] sympa Debian packaging branch, master, updated. debian/6.1.1_dfsg-2-35-g4d9bf6f

Emmanuel Bouthenot kolter at openics.org
Fri Jun 3 22:58:05 UTC 2011


The following commit has been merged in the master branch:
commit 49d72db5a99163687f8b80599b560011f04671e3
Author: Emmanuel Bouthenot <kolter at openics.org>
Date:   Fri Jun 3 21:27:47 2011 +0000

    Add a patch to fix some warnings about deprecated usage of 'defined' with Perl 5.12 (#629082)

diff --git a/debian/patches/1011_fix_deprecated_defined_usage_perl512 b/debian/patches/1011_fix_deprecated_defined_usage_perl512
new file mode 100644
index 0000000..23f03a7
--- /dev/null
+++ b/debian/patches/1011_fix_deprecated_defined_usage_perl512
@@ -0,0 +1,17 @@
+Description: Fix some warnings about deprecated usage of 'defined' with Perl
+ 5.12 which break wwsympa CGI.
+Forwarded: not-needed
+Bug-Debian: http://bugs.debian.org/629096
+Author: Emmanuel Bouthenot <kolter at debian.org>
+Last-Update: 2011-06-03
+--- a/wwsympa/wwsympa.fcgi.in
++++ b/wwsympa/wwsympa.fcgi.in
+@@ -15789,7 +15789,7 @@
+      wwslog ('debug2',"export_topics($robot)");
+      my %topics = &List::load_topics($robot);
+ 
+-     unless (defined %topics) {
++     unless (%topics) {
+ 	 &wwslog('err','No topics defined');
+ 	 return undef;
+      }
diff --git a/debian/patches/series b/debian/patches/series
index 8f9275b..ad66a37 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,6 +6,7 @@
 1007_wizard_probe_currently_supported_locales.patch
 #1009_postfix_virtual_aliases.patch
 1010_db_port.patch
+1011_fix_deprecated_defined_usage_perl512
 2001_hardcode_user_and_group.patch
 2002_wizard_drop_localedir.patch
 #2003_sanitize_make_all.patch

-- 
sympa Debian packaging



More information about the Pkg-sympa-commits mailing list