vdr/vdr-plugin-console/debian/patches 00list 01_Makefile-fPIC-fix.dpatch 02_menu.h-fix.dpatch

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 24 Oct 2004 12:57:11 +0000


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

Added Files:
	00list 01_Makefile-fPIC-fix.dpatch 02_menu.h-fix.dpatch 
Log Message:
* initial import from my local archive

--- NEW FILE: 00list ---
01_Makefile-fPIC-fix
02_menu.h-fix

--- NEW FILE: 02_menu.h-fix.dpatch ---
#! /bin/sh -e
## 02_menu.h-fix.dpatch by Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: fix menu.h, so that the plugin works with vdr (>=1.2.5pre3)

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 /usr/src/self-compiled/vdr/plugins/console/vdr-plugin-console-0.5.1/menu.h vdr-plugin-console-0.5.1/menu.h
--- /usr/src/self-compiled/vdr/plugins/console/vdr-plugin-console-0.5.1/menu.h	2002-12-31 13:09:24.000000000 +0100
+++ vdr-plugin-console-0.5.1/menu.h	2004-08-06 19:08:07.000000000 +0200
@@ -161,7 +161,6 @@
 public:
   cMenuConsole( int consoleNr );
   virtual eOSState ProcessKey( eKeys Key );
-  void Display();
 };
 
 

--- 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 

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 /usr/src/self-compiled/vdr/plugins/console/vdr-plugin-console-0.5.1/Makefile vdr-plugin-console-0.5.1/Makefile
--- /usr/src/self-compiled/vdr/plugins/console/vdr-plugin-console-0.5.1/Makefile	2003-09-10 10:19:14.000000000 +0200
+++ vdr-plugin-console-0.5.1/Makefile	2004-08-06 19:05:04.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: