Package: distmp3
Version: 0.1.9.ds1-4.1
Severity: normal
Tags: patch

Hi mooch :-)

Attached is the diff for my distmp3 0.1.9.ds1-4.2 NMU on behalf of
Tobias Toedter.

Cheers

Luk

-- 
Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D
Fingerprint:   D5AF 25FB 316B 53BB 08E7   F999 E544 DE07 9B7C 328D
diff -u distmp3-0.1.9.ds1/debian/patches/00list 
distmp3-0.1.9.ds1/debian/patches/00list
--- distmp3-0.1.9.ds1/debian/patches/00list
+++ distmp3-0.1.9.ds1/debian/patches/00list
@@ -5,0 +6 @@
+06_fix_system_call
diff -u distmp3-0.1.9.ds1/debian/changelog distmp3-0.1.9.ds1/debian/changelog
--- distmp3-0.1.9.ds1/debian/changelog
+++ distmp3-0.1.9.ds1/debian/changelog
@@ -1,3 +1,14 @@
+distmp3 (0.1.9.ds1-4.2) unstable; urgency=medium
+
+  * Non-maintainer upload with maintainer's approval
+  * Fix wrong parameters of perl's system() call, which made distmp3host
+    fail to start up. Thanks to Michael Eyrich for the patch.
+    This is added to the existing patches as 06_fix_system_call.dpatch.
+    Closes: #368330
+  * Urgency set to medium as per release policy (RC bug fix)
+
+ -- Tobias Toedter <[EMAIL PROTECTED]>  Sat,  4 Nov 2006 20:36:07 +0100
+
 distmp3 (0.1.9.ds1-4.1) unstable; urgency=low
 
   * Non-maintainer upload to fix longstanding l10n issues
only in patch2:
unchanged:
--- distmp3-0.1.9.ds1.orig/debian/patches/06_fix_system_call.dpatch
+++ distmp3-0.1.9.ds1/debian/patches/06_fix_system_call.dpatch
@@ -0,0 +1,37 @@
+#! /bin/sh -e
+## 06_fix_system_call.dpatch by Michael Eyrich <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Make system() call use ('-m', '0600') instead of ('-m 0600')
+## DP: as parameters
+
+if [ $# -ne 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+    -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
+    -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
+    *)
+        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+        exit 1;;
+esac
+
+exit 0
+
+--- distmp3-0.1.9.orig/distmp3host
++++ distmp3-0.1.9/distmp3host
+@@ -176,11 +176,11 @@
+ {
+       printd("creating mp3_fifo @config{MP3FIFO}");
+       unlink @config{MP3FIFO};
+-      system('mknod', '-m 0600', @config{MP3FIFO}, 'p') && die "can't mknod 
@config{MP3FIFO}: $!";
++      system('mknod', '-m', '0600', @config{MP3FIFO}, 'p') && die "can't 
mknod @config{MP3FIFO}: $!";
+ 
+       printd("creating wav_fifo @config{WAVFIFO}");
+       unlink @config{WAVFIFO};
+-      system('mknod', '-m 0600', @config{WAVFIFO}, 'p') && die "can't mknod 
@config{WAVFIFO}: $!";
++      system('mknod', '-m', '0600', @config{WAVFIFO}, 'p') && die "can't 
mknod @config{WAVFIFO}: $!";
+ }
+ 
+ sub run_program

Reply via email to