vdr/vdr-plugin-osdteletext/debian/patches 00list 01_Makefile-fPIC-fix.dpatch 01_Makefile.dpatch
Thomas Schmidt
pkg-vdr-dvb-changes@lists.alioth.debian.org
Wed, 06 Oct 2004 20:30:43 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-osdteletext/debian/patches
In directory haydn:/tmp/cvs-serv5770/vdr/vdr-plugin-osdteletext/debian/patches
Added Files:
00list 01_Makefile-fPIC-fix.dpatch 01_Makefile.dpatch
Log Message:
* initial import of the osdteletext-plugin (taken from Tobias Grimm's Repository)
--- NEW FILE: 00list ---
01_Makefile
01_Makefile-fPIC-fix
--- NEW FILE: 01_Makefile.dpatch ---
#!/bin/sh -e
## 01_Makefile.dpatch
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Move installation of README and man page from all to install.
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@
--- osdteletext.orig/Makefile
+++ osdteletext/Makefile
@@ -67,8 +67,6 @@
### Targets:
all: libvdr-$(PLUGIN).so
- @install -d ../../man
- @install README ../../man/$(PLUGIN).man
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
@@ -84,3 +82,7 @@
clean:
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~
+
+install:
+ @install -d ../../man
+ @install README ../../man/$(PLUGIN).man
--- 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-osdteletext/Makefile vdrdevel-plugin-osdteletext/Makefile
--- /usr/src/cvs/vdrdevel-plugin-osdteletext/Makefile Sun Sep 12 17:31:27 2004
+++ vdrdevel-plugin-osdteletext/Makefile Sun Sep 12 17:32:35 2004
@@ -16,7 +16,7 @@
### The C++ compiler and options:
CXX ?= g++
-CXXFLAGS ?= -O2 -g -Wall -Woverloaded-virtual
+CXXFLAGS ?= -fPIC -O2 -g -Wall -Woverloaded-virtual
# for debugging:
#CXXFLAGS ?= -O0 -g -Wall -Woverloaded-virtual