vdr/vdr-plugin-prefermenu/debian/patches 02_Makefile-GNU_SOURCE-fix.dpatch 00list

Tobias Grimm pkg-vdr-dvb-changes@lists.alioth.debian.org
Fri, 01 Oct 2004 17:46:59 +0000


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

Modified Files:
	00list 
Added Files:
	02_Makefile-GNU_SOURCE-fix.dpatch 
Log Message:
added -D_GNU_SOURCE patch

Index: 00list
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-prefermenu/debian/patches/00list,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- 00list	5 Aug 2004 21:12:25 -0000	1.1
+++ 00list	1 Oct 2004 17:46:56 -0000	1.2
@@ -1 +1,2 @@
 01_Makefile-fPIC-fix
+02_Makefile-GNU_SOURCE-fix

--- NEW FILE: 02_Makefile-GNU_SOURCE-fix.dpatch ---
#!/bin/sh -e
## makefile
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: add -D_GNU_SOURCE to enable GNU extensions

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@
--- vdr-plugin-pvr350-0.0.2/Makefile.orig	Thu Feb 26 01:11:15 2004
+++ vdr-plugin-pvr350-0.0.2/Makefile	Thu Feb 26 01:11:34 2004
@@ -43,6 +43,7 @@
 INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include
 
 DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+DEFINES += -D_GNU_SOURCE
 
 ### The object files (add further files here):