summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-09-16 16:34:52 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-09-16 16:34:52 +0000
commit839fe88bcc2ad4b26da1f6b4f63b7965446978c0 (patch)
treed958513dbd3325f9a691a4702426fed6ee829de5 /media-libs/libvisual
parentMarking mod_dav-1.0.3-r2 stable on x86 per security bug #63948 (Manifest reco... (diff)
downloadgentoo-2-839fe88bcc2ad4b26da1f6b4f63b7965446978c0.tar.gz
gentoo-2-839fe88bcc2ad4b26da1f6b4f63b7965446978c0.tar.bz2
gentoo-2-839fe88bcc2ad4b26da1f6b4f63b7965446978c0.zip
Fix DESTDIR problems (sandbox violation). Closes bug #64204.
Diffstat (limited to 'media-libs/libvisual')
-rw-r--r--media-libs/libvisual/ChangeLog6
-rw-r--r--media-libs/libvisual/files/libvisual-0.1.6-destdir.patch28
-rw-r--r--media-libs/libvisual/libvisual-0.1.6.ebuild5
3 files changed, 36 insertions, 3 deletions
diff --git a/media-libs/libvisual/ChangeLog b/media-libs/libvisual/ChangeLog
index 4cf49cb0107c..6aeeee890951 100644
--- a/media-libs/libvisual/ChangeLog
+++ b/media-libs/libvisual/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/libvisual
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libvisual/ChangeLog,v 1.3 2004/09/15 21:16:52 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libvisual/ChangeLog,v 1.4 2004/09/16 16:34:52 eradicator Exp $
+
+ 16 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ +files/libvisual-0.1.6-destdir.patch:
+ Fix DESTDIR problems (sandbox violation). Closes bug #64204.
*libvisual-0.1.6 (15 Sep 2004)
diff --git a/media-libs/libvisual/files/libvisual-0.1.6-destdir.patch b/media-libs/libvisual/files/libvisual-0.1.6-destdir.patch
new file mode 100644
index 000000000000..0ec6b44ca696
--- /dev/null
+++ b/media-libs/libvisual/files/libvisual-0.1.6-destdir.patch
@@ -0,0 +1,28 @@
+diff -Naur libvisual-0.1.6.orig/Makefile.am libvisual-0.1.6/Makefile.am
+--- libvisual-0.1.6.orig/Makefile.am 2004-08-25 15:01:00.000000000 -0700
++++ libvisual-0.1.6/Makefile.am 2004-09-16 09:22:31.617768717 -0700
+@@ -6,8 +6,8 @@
+ pkgconfig_DATA = libvisual.pc
+
+ install-exec-local: libvisual/lvconfig.h
+- $(mkinstalldirs) $(prefix)/include/libvisual
+- file=$(prefix)/include/libvisual/lvconfig.h; \
++ $(mkinstalldirs) $(DESTDIR)$(includedir)/libvisual
++ file=$(DESTDIR)$(includedir)/libvisual/lvconfig.h; \
+ if test -r $$file && cmp -s libvisual/lvconfig.h $$file; then :; \
+ else $(INSTALL_DATA) libvisual/lvconfig.h $$file; fi
+
+diff -Naur libvisual-0.1.6.orig/Makefile.in libvisual-0.1.6/Makefile.in
+--- libvisual-0.1.6.orig/Makefile.in 2004-09-08 13:50:59.000000000 -0700
++++ libvisual-0.1.6/Makefile.in 2004-09-16 09:23:10.939264580 -0700
+@@ -641,8 +641,8 @@
+
+
+ install-exec-local: libvisual/lvconfig.h
+- $(mkinstalldirs) $(prefix)/include/libvisual
+- file=$(prefix)/include/libvisual/lvconfig.h; \
++ $(mkinstalldirs) $(DESTDIR)$(includedir)/libvisual
++ file=$(DESTDIR)$(includedir)/libvisual/lvconfig.h; \
+ if test -r $$file && cmp -s libvisual/lvconfig.h $$file; then :; \
+ else $(INSTALL_DATA) libvisual/lvconfig.h $$file; fi
+
diff --git a/media-libs/libvisual/libvisual-0.1.6.ebuild b/media-libs/libvisual/libvisual-0.1.6.ebuild
index 397583a38ed0..f28c0fb3b0db 100644
--- a/media-libs/libvisual/libvisual-0.1.6.ebuild
+++ b/media-libs/libvisual/libvisual-0.1.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libvisual/libvisual-0.1.6.ebuild,v 1.1 2004/09/15 21:16:52 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libvisual/libvisual-0.1.6.ebuild,v 1.2 2004/09/16 16:34:52 eradicator Exp $
IUSE="pic static"
@@ -22,6 +22,7 @@ src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-libdir.patch
+ epatch ${FILESDIR}/${P}-destdir.patch
}
src_compile() {
@@ -36,5 +37,5 @@ src_compile() {
src_install() {
make DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog HACKING MANIFESTO NEWS README TODO
+ dodoc AUTHORS ChangeLog NEWS README TODO
}