vdr/vdr-plugin-mp3/debian/patches 01_Makefile-fPIC-fix.dpatch 00list 10_mount.sh-path.dpatch

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 11 Jul 2004 11:35:51 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-mp3/debian/patches
In directory haydn:/tmp/cvs-serv9026/vdr/vdr-plugin-mp3/debian/patches

Modified Files:
	00list 10_mount.sh-path.dpatch 
Added Files:
	01_Makefile-fPIC-fix.dpatch 
Log Message:
fix for FTBFS-Bug on hppa

Index: 00list
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-mp3/debian/patches/00list,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- 00list	3 Jul 2004 12:55:13 -0000	1.1
+++ 00list	11 Jul 2004 11:35:49 -0000	1.2
@@ -1 +1,2 @@
+01_Makefile-fPIC-fix
 10_mount.sh-path

Index: 10_mount.sh-path.dpatch
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-mp3/debian/patches/10_mount.sh-path.dpatch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- 10_mount.sh-path.dpatch	3 Jul 2004 13:08:52 -0000	1.2
+++ 10_mount.sh-path.dpatch	11 Jul 2004 11:35:49 -0000	1.3
@@ -2,7 +2,7 @@
 ## 10_mount.sh-path.dpatch by Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
 ##
 ## All lines beginning with `## DP:' are a description of the patch.
-## DP: Change the default-path of mount.sh to /usr/sbin/mount.sh
+## DP: Change the default-path of mount.sh to /usr/lib/vdr-plugin-mp3/mount.sh
 
 if [ $# -lt 1 ]; then
     echo "`basename $0`: script expects -patch|-unpatch as argument" >&2

--- NEW FILE: 01_Makefile-fPIC-fix.dpatch ---
#! /bin/sh -e
## 02_Makefile-fPIC-fix.dpatch by Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Adds -fPIC to Makefile, to fix FTBFS on hppa

if [ $# -lt 1 ]; then
    echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
    exit 1
fi

[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"

case "$1" in
    -patch) patch -p1 ${patch_opts} < $0;;
    -unpatch) patch -R -p1 ${patch_opts} < $0;;
    *)
        echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
        exit 1;;
esac

exit 0

@DPATCH@
diff -urNad /home/chelli/vdr/cvs/vdr/vdr-plugin-mp3/Makefile vdr-plugin-mp3/Makefile
--- /home/chelli/vdr/cvs/vdr/vdr-plugin-mp3/Makefile	2004-05-14 12:32:27.000000000 +0200
+++ vdr-plugin-mp3/Makefile	2004-07-11 13:30:07.000000000 +0200
@@ -36,7 +36,7 @@
 
 ### The C++ compiler and options:
 CXX      ?= g++
-CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual
+CXXFLAGS ?= -fPIC -O2 -Wall -Woverloaded-virtual
 
 ###############################################
 ###############################################