Package: mp3val Version: 0.1.7-4 Followup-For: Bug #532803 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu jaunty ubuntu-patch
Here the patch to fix the FTBFS *** /tmp/tmpa3fhep -- System Information: Debian Release: 5.0 APT prefers jaunty-updates APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty') Architecture: amd64 (x86_64) Kernel: Linux 2.6.28-11-generic (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash
diff -u mp3val-0.1.7/debian/patches/00list mp3val-0.1.7/debian/patches/00list --- mp3val-0.1.7/debian/patches/00list +++ mp3val-0.1.7/debian/patches/00list @@ -2,0 +3 @@ +30_bts-532803_FTBFS_gcc43 only in patch2: unchanged: --- mp3val-0.1.7.orig/debian/patches/30_bts-532803_FTBFS_gcc43.dpatch +++ mp3val-0.1.7/debian/patches/30_bts-532803_FTBFS_gcc43.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 30_bts-532803_FTBFS_gcc43.dpatch by Fabrice Coutadeur <fabric...@ubuntu.com> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: fix a FTBFS with gcc 4.4 because of mising third argument to open call + +...@dpatch@ +diff -urNad mp3val~/crossapi.cpp.old mp3val/crossapi.cpp +--- mp3val~/crossapi.cpp 2009-06-11 19:21:22.000000000 +0000 ++++ mp3val/crossapi.cpp 2009-06-11 19:22:16.000000000 +0000 +@@ -241,7 +241,7 @@ + //Moving failed due to different logical drives of source and destination. Let's copy: + id=open(szOldName,O_RDONLY); + if(id==-1) return 0; +- od=open(szNewName,O_WRONLY|O_CREAT|O_TRUNC); ++ od=open(szNewName,O_WRONLY|O_CREAT|O_TRUNC,0644); + if(od==-1) { + close(id); + return 0;