summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-15 00:37:44 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-15 00:37:44 +0000
commit68ffc74e265b6c58d638f0d3fb21ccc60a6b9b95 (patch)
tree381991b03b5c29ccc33eaa4de0860d8813af0c07 /media-libs/svgalib
parentfix compilation with >-O0 with gcc4; bug #87809 (diff)
downloadgentoo-2-68ffc74e265b6c58d638f0d3fb21ccc60a6b9b95.tar.gz
gentoo-2-68ffc74e265b6c58d638f0d3fb21ccc60a6b9b95.tar.bz2
gentoo-2-68ffc74e265b6c58d638f0d3fb21ccc60a6b9b95.zip
make sure the main.c uses the DEVFS_MK_SYMLINK define wrapper #91118
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'media-libs/svgalib')
-rw-r--r--media-libs/svgalib/svgalib-1.9.21.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/media-libs/svgalib/svgalib-1.9.21.ebuild b/media-libs/svgalib/svgalib-1.9.21.ebuild
index 431c5968a0c2..a02fe3c680b6 100644
--- a/media-libs/svgalib/svgalib-1.9.21.ebuild
+++ b/media-libs/svgalib/svgalib-1.9.21.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.21.ebuild,v 1.8 2005/05/10 23:05:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.21.ebuild,v 1.9 2005/05/15 00:37:44 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs linux-mod
@@ -36,6 +36,9 @@ src_unpack() {
# Don't let the ebuild screw around with ld.so.conf #64829
epatch "${FILESDIR}"/${PN}-1.9.19-dont-touch-ld.conf.patch
+ # make sure the define wrapper is used #91118
+ sed -i -e 's:devfs_mk_symlink:DEVFS_MK_SYMLINK:' kernel/svgalib_helper/main.c
+
use no-helper && sed -i '/^# NO_HELPER/s:# ::' Makefile.cfg
# Don't strip stuff, let portage do it