diff options
Diffstat (limited to 'print/ghostscript7-base/files/patch-src_gdevvglb.c')
-rw-r--r-- | print/ghostscript7-base/files/patch-src_gdevvglb.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/print/ghostscript7-base/files/patch-src_gdevvglb.c b/print/ghostscript7-base/files/patch-src_gdevvglb.c new file mode 100644 index 000000000000..bdacbfbbfca0 --- /dev/null +++ b/print/ghostscript7-base/files/patch-src_gdevvglb.c @@ -0,0 +1,15 @@ +--- src/gdevvglb.c.orig 2015-08-22 01:41:20.966252000 +0900 ++++ src/gdevvglb.c 2015-08-22 01:41:35.725091000 +0900 +@@ -373,3 +373,12 @@ + } + 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_vgalib_device); ++} ++#endif |