pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/gd Fix php-gd build PR pkg/56409
details: https://anonhg.NetBSD.org/pkgsrc/rev/788cbeff9f94
branches: trunk
changeset: 458763:788cbeff9f94
user: prlw1 <prlw1%pkgsrc.org@localhost>
date: Sun Sep 19 19:25:14 2021 +0000
description:
Fix php-gd build PR pkg/56409
diffstat:
graphics/gd/Makefile | 3 ++-
graphics/gd/distinfo | 3 ++-
graphics/gd/patches/patch-src_gd.h | 20 ++++++++++++++++++++
3 files changed, 24 insertions(+), 2 deletions(-)
diffs (50 lines):
diff -r a230453f0110 -r 788cbeff9f94 graphics/gd/Makefile
--- a/graphics/gd/Makefile Sun Sep 19 18:52:44 2021 +0000
+++ b/graphics/gd/Makefile Sun Sep 19 19:25:14 2021 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.130 2021/09/17 14:24:23 adam Exp $
+# $NetBSD: Makefile,v 1.131 2021/09/19 19:25:14 prlw1 Exp $
DISTNAME= libgd-2.3.3
PKGNAME= ${DISTNAME:S/libgd/gd/}
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=libgd/}
GITHUB_PROJECT= libgd
diff -r a230453f0110 -r 788cbeff9f94 graphics/gd/distinfo
--- a/graphics/gd/distinfo Sun Sep 19 18:52:44 2021 +0000
+++ b/graphics/gd/distinfo Sun Sep 19 19:25:14 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.51 2021/09/17 14:24:23 adam Exp $
+$NetBSD: distinfo,v 1.52 2021/09/19 19:25:14 prlw1 Exp $
SHA1 (libgd-2.3.3.tar.xz) = 7ce6ecb5aed26c08246a37b6351c886ab4b51ca2
RMD160 (libgd-2.3.3.tar.xz) = 97564248f7f14e90921c5571ff69d1aba5e016cc
SHA512 (libgd-2.3.3.tar.xz) = aa49d4381d604a4360d556419d603df2ffd689a6dcc10f8e5e1d158ddaa3ab89912f6077ca77da4e370055074007971cf6d356ec9bf26dcf39bcff3208bc7e6c
Size (libgd-2.3.3.tar.xz) = 2809056 bytes
+SHA1 (patch-src_gd.h) = 2527eeb670e21d82abdf485846297c81982d1dea
SHA1 (patch-src_gd__xbm.c) = 948942243b97a8e96838447ea1325a28ac8c828a
diff -r a230453f0110 -r 788cbeff9f94 graphics/gd/patches/patch-src_gd.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gd/patches/patch-src_gd.h Sun Sep 19 19:25:14 2021 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_gd.h,v 1.1 2021/09/19 19:25:14 prlw1 Exp $
+
+Revert "Fix #318, these macros are not used as planed, we have
+separate functions for each.
+https://github.com/libgd/libgd/commit/f4bc1f5c26925548662946ed7cfa473c190a104a
+
+--- src/gd.h.orig 2021-09-11 04:52:47.000000000 +0000
++++ src/gd.h
+@@ -1604,6 +1604,11 @@ BGD_DECLARE(void) gdImageFlipHorizontal(
+ BGD_DECLARE(void) gdImageFlipVertical(gdImagePtr im);
+ BGD_DECLARE(void) gdImageFlipBoth(gdImagePtr im);
+
++#define GD_FLIP_HORINZONTAL 1 /* typo, kept for BC */
++#define GD_FLIP_HORIZONTAL 1
++#define GD_FLIP_VERTICAL 2
++#define GD_FLIP_BOTH 3
++
+ /**
+ * Group: Crop
+ *
Home |
Main Index |
Thread Index |
Old Index