vdr/vdr-plugin-femon/debian/patches 00list 01_Makefile-fPIC-fix.dpatch
Thomas Schmidt
pkg-vdr-dvb-changes@lists.alioth.debian.org
Mon, 16 Aug 2004 19:50:19 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-femon/debian/patches
In directory haydn:/tmp/cvs-serv29443/vdr/vdr-plugin-femon/debian/patches
Added Files:
00list 01_Makefile-fPIC-fix.dpatch
Log Message:
* changed architecture to any
* add -fPIC to Makefile
--- 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-femon/vdr-plugin-femon-0.0.6/Makefile vdr-plugin-femon-0.0.6/Makefile
--- /home/chelli/vdr/cvs-buildpackage/vdr-plugin-femon/vdr-plugin-femon-0.0.6/Makefile 2004-06-11 03:20:00.000000000 +0200
+++ vdr-plugin-femon-0.0.6/Makefile 2004-08-16 21:46:56.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: