summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/svgalib/svgalib-1.9.21.ebuild')
-rw-r--r--media-libs/svgalib/svgalib-1.9.21.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/media-libs/svgalib/svgalib-1.9.21.ebuild b/media-libs/svgalib/svgalib-1.9.21.ebuild
index 65a04253657a..a136e9e71504 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.3 2005/05/02 02:47:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.21.ebuild,v 1.4 2005/05/07 08:03:58 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs linux-mod
@@ -36,6 +36,12 @@ 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
+ # DEVFS_MK_SYMLINK is a macro to hide devfs_mk_symlink usage, but
+ # main.c neglects to actually use it :) #91118
+ sed -i \
+ -e 's:devfs_mk_symlink:DEVFS_MK_SYMLINK:' \
+ kernel/svgalib_helper/main.c
+
# Don't strip stuff, let portage do it
sed -i '/^INSTALL_PROGRAM/s: -s : :' Makefile.cfg
}