pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/ghostscript-gpl Fix build of ghostscript-gpl aga...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/47d76402f074
branches:  trunk
changeset: 442744:47d76402f074
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Nov 29 22:07:24 2020 +0000

description:
Fix build of ghostscript-gpl against recent freetype.

Build fix only; no version bump.

diffstat:

 print/ghostscript-gpl/distinfo                     |   3 ++-
 print/ghostscript-gpl/patches/patch-psi_fapi__ft.c |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r e8c87de7797c -r 47d76402f074 print/ghostscript-gpl/distinfo
--- a/print/ghostscript-gpl/distinfo    Sun Nov 29 22:07:22 2020 +0000
+++ b/print/ghostscript-gpl/distinfo    Sun Nov 29 22:07:24 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2017/11/13 16:52:51 he Exp $
+$NetBSD: distinfo,v 1.23 2020/11/29 22:07:24 dholland Exp $
 
 SHA1 (ghostscript-9.06.tar.bz2) = 4c1c2b4cddd16d86b21f36ad4fc15f6100162238
 RMD160 (ghostscript-9.06.tar.bz2) = 11ef74cf783ec5f7cde0ceaaf2823a1f62fb4d1d
@@ -31,3 +31,4 @@
 SHA1 (patch-cups_colord.h) = ab5c4bfa7184d2c1756697b87e7046645bdc2bc2
 SHA1 (patch-openjpeg_libopenjpeg_opj_malloc_h) = 24f15c55cd7961afc1254f6c4bccd6d0c2a5e737
 SHA1 (patch-psi_zfile.c) = 24626fed9b161a77d9ab43233bad4c8391120b16
+SHA1 (patch-psi_fapi__ft.c) = ff9ee32a7332177d9b178452e071dd6f8805af8e
diff -r e8c87de7797c -r 47d76402f074 print/ghostscript-gpl/patches/patch-psi_fapi__ft.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/ghostscript-gpl/patches/patch-psi_fapi__ft.c        Sun Nov 29 22:07:24 2020 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-psi_fapi__ft.c,v 1.1 2020/11/29 22:07:25 dholland Exp $
+
+Fix build with freetype2 2.10.3+
+
+--- psi/fapi_ft.c~     2012-08-08 08:01:36.000000000 +0000
++++ psi/fapi_ft.c
+@@ -53,6 +53,11 @@
+ #include FT_IMAGE_H
+ #include FT_BITMAP_H
+ 
++/* internal now-removed freetype2 object gs shouldn't have been using */
++#ifndef FT_CALLBACK_DEF
++#define FT_CALLBACK_DEF(decl) static decl
++#endif
++
+ /* Note: structure definitions here start with FF_, which stands for 'FAPI FreeType". */
+ 
+ typedef struct FF_server_s



Home | Main Index | Thread Index | Old Index