ports/print/ghostscript7-base/files/patch-src_gdevl256.c
Mathieu Arnold 1a8a092d9f Rename all files containing a : in their filename.
While there, run make makepatch on affected ports, and rename patches
accordingly.

Sponsored by:	Absolight
2016-06-17 23:28:04 +00:00

15 lines
364 B
C

--- src/gdevl256.c.orig 2015-08-22 01:40:41.895138000 +0900
+++ src/gdevl256.c 2015-08-22 01:40:56.016022000 +0900
@@ -307,3 +307,12 @@
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