summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-04 09:50:17 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-04 09:50:17 +0000
commit3110b46e8a3fa54cd48c7371f939650336b812a6 (patch)
tree65f8bb4ade1ddf2e871a5cc516eb10fdcbc23809 /media-libs/svgalib/files
parent(#135178) Fix gcc4 build by passing F77 to configure. Also add FORTRAN settin... (diff)
downloadgentoo-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/svgalib/files')
-rw-r--r--media-libs/svgalib/files/svgalib-1.9.24-all_devices.patch17
1 files changed, 17 insertions, 0 deletions
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";