diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-10-01 09:21:32 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-10-01 09:21:32 +0000 |
commit | 8084d3b24c3df18d4c272dd1580acdb65cadf4cc (patch) | |
tree | 0a8f2acfe2572ba056d193e0144302d774f5efba | |
parent | f89f495e26760db3e82ac97617a3c5b2b845481a (diff) | |
download | pkgsrc-8084d3b24c3df18d4c272dd1580acdb65cadf4cc.tar.gz |
ghostscript-agpl: Fix build on older SunOS.
-rw-r--r-- | print/ghostscript-agpl/distinfo | 3 | ||||
-rw-r--r-- | print/ghostscript-agpl/patches/patch-base_ttobjs.h | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/print/ghostscript-agpl/distinfo b/print/ghostscript-agpl/distinfo index 729d3867397..1481a1deb4e 100644 --- a/print/ghostscript-agpl/distinfo +++ b/print/ghostscript-agpl/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.22 2018/09/21 12:06:46 adam Exp $ +$NetBSD: distinfo,v 1.23 2018/10/01 09:21:32 jperkin Exp $ SHA1 (ghostscript-9.25.tar.xz) = 9d8ddff3382113bf4a1640368350e05652c93613 RMD160 (ghostscript-9.25.tar.xz) = f549670b7b16fbeed723afdf8f72ed39460ecbc2 @@ -7,6 +7,7 @@ Size (ghostscript-9.25.tar.xz) = 33027708 bytes SHA1 (patch-base_gserrors_h) = ce75cfb7528871842a3bd35e18a6d91c89823909 SHA1 (patch-base_lib.mak) = 723926f167b49568376ef0c0da6aa4ec01fe1516 SHA1 (patch-base_mkromfs.c) = 96006928e0b5381e7101027372b6e6408f1c4a0b +SHA1 (patch-base_ttobjs.h) = 4250d77127d5b7c2fcdd912bc764a59deca97fa2 SHA1 (patch-base_unix-dll.mak) = 73b5ee7fcbc7940ce72f44b35417d624f7ae5bca SHA1 (patch-configure) = 08ed9451fc3cf1aade8992e4297c7df736416c8b SHA1 (patch-devices_devs.mak) = 9857c177e7a6a28ee326dbc878bbe52ccbcfedce diff --git a/print/ghostscript-agpl/patches/patch-base_ttobjs.h b/print/ghostscript-agpl/patches/patch-base_ttobjs.h new file mode 100644 index 00000000000..cda794a8fbd --- /dev/null +++ b/print/ghostscript-agpl/patches/patch-base_ttobjs.h @@ -0,0 +1,17 @@ +$NetBSD: patch-base_ttobjs.h,v 1.1 2018/10/01 09:21:32 jperkin Exp $ + +Avoid GS conflict on older SunOS. + +--- base/ttobjs.h.orig 2018-09-13 10:02:01.000000000 +0000 ++++ base/ttobjs.h +@@ -42,6 +42,10 @@ + #include "tttables.h" + #include "setjmp_.h" + ++#ifdef __sun ++#undef GS ++#endif ++ + #ifdef __cplusplus + extern "C" { + #endif |