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
commitc533d4bcab6ef429721f52cf5f942055e3e76203 (patch)
treecce991c6ea0f21388f2970c2d7c23c51692f02fc /media-libs/svgalib/files
parent(#135178) Fix gcc4 build by passing F77 to configure. Also add FORTRAN settin... (diff)
downloadhistorical-c533d4bcab6ef429721f52cf5f942055e3e76203.tar.gz
historical-c533d4bcab6ef429721f52cf5f942055e3e76203.tar.bz2
historical-c533d4bcab6ef429721f52cf5f942055e3e76203.zip
Fix by Pablo De Nápoli to make sure all_devices is an exported symbol #133936 by Walter Meinl.
Package-Manager: portage-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";