summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-01-26 12:39:15 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-01-26 12:39:15 +0000
commit908e815694690bb16c139d291191082c6d05bf28 (patch)
treeaa732841725641574d1096f5226e7ffeb69c3150 /media-tv/kdetv/files
parentCheck that ${PREFIX} is non-empty before using it. (diff)
downloadgentoo-2-908e815694690bb16c139d291191082c6d05bf28.tar.gz
gentoo-2-908e815694690bb16c139d291191082c6d05bf28.tar.bz2
gentoo-2-908e815694690bb16c139d291191082c6d05bf28.zip
Add patch to link with non-lazy bindings kdetvv4lsetup binary.
(Portage version: 2529-svn)
Diffstat (limited to 'media-tv/kdetv/files')
-rw-r--r--media-tv/kdetv/files/kdetv-0.8.8-bindnow.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/media-tv/kdetv/files/kdetv-0.8.8-bindnow.patch b/media-tv/kdetv/files/kdetv-0.8.8-bindnow.patch
new file mode 100644
index 000000000000..edba44eb0a8f
--- /dev/null
+++ b/media-tv/kdetv/files/kdetv-0.8.8-bindnow.patch
@@ -0,0 +1,19 @@
+Add support for BINDNOW_FLAGS to build kdetvv4lsetup with
+non-lazy bindings, to improve security and fix installation on
+FEATURES=stricter.
+
+Requires the ebuild to export BINDNOW_FLAGS="$(bindnow-flags)".
+
+Index: kdetv-0.8.8/kdetv/kvideoio/kdetvv4lsetup/Makefile.am
+===================================================================
+--- kdetv-0.8.8.orig/kdetv/kvideoio/kdetvv4lsetup/Makefile.am
++++ kdetv-0.8.8/kdetv/kvideoio/kdetvv4lsetup/Makefile.am
+@@ -8,7 +8,7 @@ kdetvv4lsetup_SOURCES = kdetvv4lsetup.c
+ kdetvv4lsetup_CFLAGS = $(KDE_USE_FPIE)
+
+ # the library search path
+-kdetvv4lsetup_LDFLAGS = $(KDE_USE_PIE) $(all_libraries)
++kdetvv4lsetup_LDFLAGS = $(KDE_USE_PIE) $(all_libraries) $(BINDNOW_FLAGS)
+
+ # the libraries to link against. Be aware of the order. First the libraries,
+ # that depend on the following ones.