summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/svgalib/files/svgalib-1.9.24-all_devices.patch')
-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";