vdr/vdr-plugin-dvd/debian/patches 00list 01_Makefile-fPIC-fix.dpatch
Thomas Schmidt
pkg-vdr-dvb-changes@lists.alioth.debian.org
Fri, 30 Jul 2004 18:57:45 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-dvd/debian/patches
In directory haydn:/tmp/cvs-serv6507/vdr/vdr-plugin-dvd/debian/patches
Added Files:
00list 01_Makefile-fPIC-fix.dpatch
Log Message:
* use dpatch
* added fix for FTBFS
--- NEW FILE: 00list ---
01_Makefile-fPIC-fix
--- NEW FILE: 01_Makefile-fPIC-fix.dpatch ---
#! /bin/sh -e
## 01_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
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-buildpackage/vdr-plugin-dvd/vdr-plugin-dvd-0.3.3-jau-p8+0.3.4-rc10/Makefile vdr-plugin-dvd-0.3.3-jau-p8+0.3.4-rc10/Makefile
--- /home/chelli/vdr/cvs-buildpackage/vdr-plugin-dvd/vdr-plugin-dvd-0.3.3-jau-p8+0.3.4-rc10/Makefile 2004-04-22 13:13:19.000000000 +0200
+++ vdr-plugin-dvd-0.3.3-jau-p8+0.3.4-rc10/Makefile 2004-07-30 20:49:52.000000000 +0200
@@ -16,7 +16,7 @@
### The C++ compiler and options:
CXX ?= g++
-CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual
+CXXFLAGS ?= -fPIC -O2 -Wall -Woverloaded-virtual
### The directory environment: