r52093 - in /trunk/libdbd-xbase-perl/debian: changelog patches/no_O_BINARY_redefine.patch patches/series

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Feb 3 09:04:16 UTC 2010


Author: dmn
Date: Wed Feb  3 09:03:28 2010
New Revision: 52093

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=52093
Log:
add no_O_BINARY_redefine.patch stopping a warning about O_BINARY being on
module load. Closes: #494808

Added:
    trunk/libdbd-xbase-perl/debian/patches/no_O_BINARY_redefine.patch
Modified:
    trunk/libdbd-xbase-perl/debian/changelog
    trunk/libdbd-xbase-perl/debian/patches/series

Modified: trunk/libdbd-xbase-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-xbase-perl/debian/changelog?rev=52093&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/debian/changelog (original)
+++ trunk/libdbd-xbase-perl/debian/changelog Wed Feb  3 09:03:28 2010
@@ -9,6 +9,10 @@
 
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
+
+  [ Damyan Ivanov ]
+  * add no_O_BINARY_redefine.patch stopping a warning about O_BINARY being on
+    module load. Closes: #494808
 
  -- gregor herrmann <gregoa at debian.org>  Wed, 06 Aug 2008 21:33:35 -0300
 

Added: trunk/libdbd-xbase-perl/debian/patches/no_O_BINARY_redefine.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-xbase-perl/debian/patches/no_O_BINARY_redefine.patch?rev=52093&op=file
==============================================================================
--- trunk/libdbd-xbase-perl/debian/patches/no_O_BINARY_redefine.patch (added)
+++ trunk/libdbd-xbase-perl/debian/patches/no_O_BINARY_redefine.patch Wed Feb  3 09:03:28 2010
@@ -1,0 +1,23 @@
+# Description: do not re-define O_BONARY
+#  this stops an annoying warning when this module is loaded
+# Bug: http://rt.cpan.org/Public/Bug/Display.html?id=29523
+# Big-Debian: 494828
+# Author: Damyan Ivanov <dmn at debian.org>
+--- a/lib/XBase/Base.pm
++++ b/lib/XBase/Base.pm
+@@ -11,15 +11,6 @@ use strict;
+ use IO::File;
+ use Fcntl qw( O_RDWR O_RDONLY );
+ 
+-### I _Realy_ hate to have this code here!
+-BEGIN { local $^W = 0;
+-	if ($^O =~ /mswin/i) {
+-		eval 'use Fcntl qw( O_BINARY )'
+-	} else {
+-		eval ' sub O_BINARY { 0 } '
+-	}
+-}
+-
+ $XBase::Base::VERSION = '0.129';
+ 
+ # Sets the debug level

Modified: trunk/libdbd-xbase-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-xbase-perl/debian/patches/series?rev=52093&op=diff
==============================================================================
--- trunk/libdbd-xbase-perl/debian/patches/series (original)
+++ trunk/libdbd-xbase-perl/debian/patches/series Wed Feb  3 09:03:28 2010
@@ -1,2 +1,3 @@
 Makefile.PL.patch
 underline-dump.patch
+no_O_BINARY_redefine.patch




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