r20895 - in /trunk/libaudio-flac-header-perl/debian: changelog control patches/ patches/series patches/uninitialized_comment rules

ntyni at users.alioth.debian.org ntyni at users.alioth.debian.org
Tue Jun 10 13:37:51 UTC 2008


Author: ntyni
Date: Tue Jun 10 13:37:50 2008
New Revision: 20895

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20895
Log:
initialize the length of an empty vorbis comment struct to zero before appending to it. (Closes: #484046)

* Manage debian/patches with quilt again.
  + debian/patches/uninitialized_comment: initialize the length of an empty
    vorbis comment struct to zero before appending to it. (Closes: #484046)

Added:
    trunk/libaudio-flac-header-perl/debian/patches/
    trunk/libaudio-flac-header-perl/debian/patches/series
    trunk/libaudio-flac-header-perl/debian/patches/uninitialized_comment
Modified:
    trunk/libaudio-flac-header-perl/debian/changelog
    trunk/libaudio-flac-header-perl/debian/control
    trunk/libaudio-flac-header-perl/debian/rules

Modified: trunk/libaudio-flac-header-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libaudio-flac-header-perl/debian/changelog?rev=20895&op=diff
==============================================================================
--- trunk/libaudio-flac-header-perl/debian/changelog (original)
+++ trunk/libaudio-flac-header-perl/debian/changelog Tue Jun 10 13:37:50 2008
@@ -1,3 +1,11 @@
+libaudio-flac-header-perl (2.2-2) unstable; urgency=low
+
+  * Manage debian/patches with quilt again.
+    + debian/patches/uninitialized_comment: initialize the length of an empty
+      vorbis comment struct to zero before appending to it. (Closes: #484046)
+
+ -- Niko Tyni <ntyni at debian.org>  Tue, 10 Jun 2008 16:28:13 +0300
+
 libaudio-flac-header-perl (2.2-1) unstable; urgency=low
 
   * New upstream release, fixes two bugs reported to the Debian BTS:

Modified: trunk/libaudio-flac-header-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libaudio-flac-header-perl/debian/control?rev=20895&op=diff
==============================================================================
--- trunk/libaudio-flac-header-perl/debian/control (original)
+++ trunk/libaudio-flac-header-perl/debian/control Tue Jun 10 13:37:50 2008
@@ -2,7 +2,7 @@
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 5), perl (>= 5.8.4), libflac-dev (>= 1.1.2),
- libtest-pod-coverage-perl, libtest-pod-perl
+ libtest-pod-coverage-perl, libtest-pod-perl, quilt (>= 0.40)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Niko Tyni <ntyni at debian.org>, Martín Ferrari <tincho at debian.org>,
  gregor herrmann <gregoa at debian.org>

Added: trunk/libaudio-flac-header-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libaudio-flac-header-perl/debian/patches/series?rev=20895&op=file
==============================================================================
--- trunk/libaudio-flac-header-perl/debian/patches/series (added)
+++ trunk/libaudio-flac-header-perl/debian/patches/series Tue Jun 10 13:37:50 2008
@@ -1,0 +1,1 @@
+uninitialized_comment

Added: trunk/libaudio-flac-header-perl/debian/patches/uninitialized_comment
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libaudio-flac-header-perl/debian/patches/uninitialized_comment?rev=20895&op=file
==============================================================================
--- trunk/libaudio-flac-header-perl/debian/patches/uninitialized_comment (added)
+++ trunk/libaudio-flac-header-perl/debian/patches/uninitialized_comment Tue Jun 10 13:37:50 2008
@@ -1,0 +1,10 @@
+--- libaudio-flac-header-perl.orig/Header.xs
++++ libaudio-flac-header-perl/Header.xs
+@@ -636,6 +636,7 @@
+ 	}
+ 
+ 	FLAC__StreamMetadata_VorbisComment_Entry entry;
++	entry.length = 0;
+ 	FLAC__metadata_object_vorbiscomment_append_comment(block, entry, /*copy=*/true);
+ 
+ 	if (hv_iterinit(tags)) {

Modified: trunk/libaudio-flac-header-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libaudio-flac-header-perl/debian/rules?rev=20895&op=diff
==============================================================================
--- trunk/libaudio-flac-header-perl/debian/rules (original)
+++ trunk/libaudio-flac-header-perl/debian/rules Tue Jun 10 13:37:50 2008
@@ -2,6 +2,9 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+# use quilt to manage patches
+include /usr/share/quilt/quilt.make
 
 # If set to a true value then MakeMaker's prompt function will
 # always return the default without waiting for user input.
@@ -21,14 +24,14 @@
 endif
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
 	$(MAKE) test
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	dh_clean build-stamp install-stamp




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