pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/ghostscript-agpl ghostscript-agpl: Fix build on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb8008f7be36
branches:  trunk
changeset: 313483:fb8008f7be36
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Oct 01 09:21:32 2018 +0000

description:
ghostscript-agpl: Fix build on older SunOS.

diffstat:

 print/ghostscript-agpl/distinfo                    |   3 ++-
 print/ghostscript-agpl/patches/patch-base_ttobjs.h |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r 3322a28466f8 -r fb8008f7be36 print/ghostscript-agpl/distinfo
--- a/print/ghostscript-agpl/distinfo   Mon Oct 01 08:03:22 2018 +0000
+++ b/print/ghostscript-agpl/distinfo   Mon Oct 01 09:21:32 2018 +0000
@@ -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 @@
 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 -r 3322a28466f8 -r fb8008f7be36 print/ghostscript-agpl/patches/patch-base_ttobjs.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/ghostscript-agpl/patches/patch-base_ttobjs.h        Mon Oct 01 09:21:32 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index