diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-04 09:50:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-04 09:50:17 +0000 |
commit | 3110b46e8a3fa54cd48c7371f939650336b812a6 (patch) | |
tree | 65f8bb4ade1ddf2e871a5cc516eb10fdcbc23809 /media-libs | |
parent | (#135178) Fix gcc4 build by passing F77 to configure. Also add FORTRAN settin... (diff) | |
download | gentoo-2-3110b46e8a3fa54cd48c7371f939650336b812a6.tar.gz gentoo-2-3110b46e8a3fa54cd48c7371f939650336b812a6.tar.bz2 gentoo-2-3110b46e8a3fa54cd48c7371f939650336b812a6.zip |
Fix by Pablo De Nápoli to make sure all_devices is an exported symbol #133936 by Walter Meinl.
(Portage version: 2.1_rc2-r3)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/svgalib/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/svgalib/files/svgalib-1.9.24-all_devices.patch | 17 | ||||
-rw-r--r-- | media-libs/svgalib/svgalib-1.9.24.ebuild | 3 |
3 files changed, 25 insertions, 2 deletions
diff --git a/media-libs/svgalib/ChangeLog b/media-libs/svgalib/ChangeLog index 90ab2e1e52ea..65ca42320252 100644 --- a/media-libs/svgalib/ChangeLog +++ b/media-libs/svgalib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/svgalib # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.67 2006/04/23 19:52:19 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/ChangeLog,v 1.68 2006/06/04 09:50:17 vapier Exp $ + + 04 Jun 2006; Mike Frysinger <vapier@gentoo.org> + +files/svgalib-1.9.24-all_devices.patch, svgalib-1.9.24.ebuild: + Fix by Pablo De Nápoli to make sure all_devices is an exported symbol + #133936 by Walter Meinl. 23 Apr 2006; John Mylchreest <johnm@gentoo.org> svgalib-1.9.24.ebuild: Honour kbuild_output correctly. diff --git a/media-libs/svgalib/files/svgalib-1.9.24-all_devices.patch b/media-libs/svgalib/files/svgalib-1.9.24-all_devices.patch new file mode 100644 index 000000000000..53d4cf2a1a5b --- /dev/null +++ b/media-libs/svgalib/files/svgalib-1.9.24-all_devices.patch @@ -0,0 +1,17 @@ +all_devices is an exported symbol so we cant declare it static + +Fix by Pablo De Nápoli + +http://bugs.gentoo.org/133936 + +--- svgalib-1.9.24/kernel/svgalib_helper/main.c ++++ svgalib-1.9.24/kernel/svgalib_helper/main.c +@@ -55,7 +55,7 @@ + #include "displaystart.h" + + int debug=0; +-static int all_devices=0; ++int all_devices=0; + int num_devices=0; + + static char *sdev_id="svgalib_helper"; diff --git a/media-libs/svgalib/svgalib-1.9.24.ebuild b/media-libs/svgalib/svgalib-1.9.24.ebuild index 5c47a1f20848..6f0a1f1b523a 100644 --- a/media-libs/svgalib/svgalib-1.9.24.ebuild +++ b/media-libs/svgalib/svgalib-1.9.24.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.24.ebuild,v 1.2 2006/04/23 19:52:19 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.9.24.ebuild,v 1.3 2006/06/04 09:50:17 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs linux-mod @@ -33,6 +33,7 @@ src_unpack() { # Get it to work with kernel 2.6 epatch "${FILESDIR}"/${PN}-1.9.24-linux2.6.patch + epatch "${FILESDIR}"/${PN}-1.9.24-all_devices.patch #133936 # -fPIC does work for lrmi, see bug #51698 epatch "${FILESDIR}"/${PN}-1.9.19-pic.patch |