vdr/vdr-plugin-remote/debian/patches 00list 01_Makefile-fPIC-fix.dpatch

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sat, 09 Oct 2004 16:11:16 +0000


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

Added Files:
	00list 01_Makefile-fPIC-fix.dpatch 
Log Message:
* initial import of the package (from Tobi's Repository)

--- NEW FILE: 00list ---
01_Makefile-fPIC-fix

--- NEW FILE: 01_Makefile-fPIC-fix.dpatch ---
#!/bin/sh -e
## Makefile-fPIC-fix patch
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Adds -fPIC to Makefile to fix potential FTBFS.

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

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

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

exit 0

@DPATCH@
diff -urNad /usr/src/cvs/vdrdevel-plugin-remote/Makefile vdrdevel-plugin-remote/Makefile
--- /usr/src/cvs/vdrdevel-plugin-remote/Makefile	Fri Apr 23 22:57:08 2004
+++ vdrdevel-plugin-remote/Makefile	Fri Sep 10 23:59:42 2004
@@ -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: