r37327 - in /trunk/libhtml-tidy-perl/debian: control patches/ patches/fix-segfault patches/series rules

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Wed Jun 3 03:57:09 UTC 2009


Author: ryan52-guest
Date: Wed Jun  3 03:56:45 2009
New Revision: 37327

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=37327
Log:
fix the segfault

Added:
    trunk/libhtml-tidy-perl/debian/patches/
    trunk/libhtml-tidy-perl/debian/patches/fix-segfault
    trunk/libhtml-tidy-perl/debian/patches/series
Modified:
    trunk/libhtml-tidy-perl/debian/control
    trunk/libhtml-tidy-perl/debian/rules

Modified: trunk/libhtml-tidy-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tidy-perl/debian/control?rev=37327&op=diff
==============================================================================
--- trunk/libhtml-tidy-perl/debian/control (original)
+++ trunk/libhtml-tidy-perl/debian/control Wed Jun  3 03:56:45 2009
@@ -1,7 +1,7 @@
 Source: libhtml-tidy-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7), perl (>= 5.6.0-12), libtidy-dev, libtest-pod-perl, libtest-pod-coverage-perl
+Build-Depends: debhelper (>= 7.0.8), quilt (>= 0.46-7), libtidy-dev, libtest-pod-perl, libtest-pod-coverage-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Ryan Niebur <ryanryan52 at gmail.com>
 Standards-Version: 3.8.1

Added: trunk/libhtml-tidy-perl/debian/patches/fix-segfault
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tidy-perl/debian/patches/fix-segfault?rev=37327&op=file
==============================================================================
--- trunk/libhtml-tidy-perl/debian/patches/fix-segfault (added)
+++ trunk/libhtml-tidy-perl/debian/patches/fix-segfault Wed Jun  3 03:56:45 2009
@@ -1,0 +1,12 @@
+--- a/Tidy.xs
++++ b/Tidy.xs
+@@ -96,7 +96,8 @@
+             rc = -1;
+         }
+ 
+-        tidyBufFree( &errbuf );
++        if(errbuf.bp)
++            tidyBufFree( &errbuf );
+         tidyRelease( tdoc );
+ 
+         if ( rc < 0 ) {

Added: trunk/libhtml-tidy-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tidy-perl/debian/patches/series?rev=37327&op=file
==============================================================================
--- trunk/libhtml-tidy-perl/debian/patches/series (added)
+++ trunk/libhtml-tidy-perl/debian/patches/series Wed Jun  3 03:56:45 2009
@@ -1,0 +1,1 @@
+fix-segfault

Modified: trunk/libhtml-tidy-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tidy-perl/debian/rules?rev=37327&op=diff
==============================================================================
--- trunk/libhtml-tidy-perl/debian/rules (original)
+++ trunk/libhtml-tidy-perl/debian/rules Wed Jun  3 03:56:45 2009
@@ -1,4 +1,4 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@
+	dh --with quilt $@




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