summaryrefslogtreecommitdiff
path: root/print/ghostscript9-agpl-x11/files/patch-devices_gdevl256.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript9-agpl-x11/files/patch-devices_gdevl256.c')
-rw-r--r--print/ghostscript9-agpl-x11/files/patch-devices_gdevl256.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/print/ghostscript9-agpl-x11/files/patch-devices_gdevl256.c b/print/ghostscript9-agpl-x11/files/patch-devices_gdevl256.c
new file mode 100644
index 000000000000..86ebbb32fbd8
--- /dev/null
+++ b/print/ghostscript9-agpl-x11/files/patch-devices_gdevl256.c
@@ -0,0 +1,15 @@
+--- devices/gdevl256.c.orig 2015-03-30 08:21:24 UTC
++++ devices/gdevl256.c
+@@ -303,12 +303,3 @@ lvga256_draw_line(gx_device * dev, int x
+ gl_line(x0, y0, x1, y1, color);
+ return 0;
+ }
+-
+-#ifdef GS_DEVS_SHARED
+-extern void gs_lib_register_device(const gx_device *dev);
+-void
+-gs_shared_init(void)
+-{
+- gs_lib_register_device(&gs_lvga256_device);
+-}
+-#endif