pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/gd Make gd build on Darwin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/da2e72f06088
branches:  trunk
changeset: 358304:da2e72f06088
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Feb 09 03:27:30 2017 +0000

description:
Make gd build on Darwin

Include limits.h to use INT_MAX.

diffstat:

 graphics/gd/distinfo                    |   3 ++-
 graphics/gd/patches/patch-src_gd__gd2.c |  12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r e9658a133014 -r da2e72f06088 graphics/gd/distinfo
--- a/graphics/gd/distinfo      Thu Feb 09 00:50:47 2017 +0000
+++ b/graphics/gd/distinfo      Thu Feb 09 03:27:30 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.43 2017/02/04 23:05:51 spz Exp $
+$NetBSD: distinfo,v 1.44 2017/02/09 03:27:30 minskim Exp $
 
 SHA1 (libgd-2.2.4.tar.xz) = 67779817d7aecb94594c43ace949af350ca1df7f
 RMD160 (libgd-2.2.4.tar.xz) = 4b0ac89bf547aa7b6550e33d79fe5ca05801b4e6
 SHA512 (libgd-2.2.4.tar.xz) = 07903f322c4f6ab392508b0f60c38ca133699111ea92995dc6cd9379210d598bcb24a46c19657884d9e252f8663d0ee8c89c600e3a382a5ae598198c190f39b5
 Size (libgd-2.2.4.tar.xz) = 2478528 bytes
+SHA1 (patch-src_gd__gd2.c) = b4c53140dfbdb4251ae3058034b66cbf889672b9
diff -r e9658a133014 -r da2e72f06088 graphics/gd/patches/patch-src_gd__gd2.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gd/patches/patch-src_gd__gd2.c   Thu Feb 09 03:27:30 2017 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_gd__gd2.c,v 1.1 2017/02/09 03:27:30 minskim Exp $
+
+--- src/gd_gd2.c.orig  2017-01-18 10:49:29.000000000 +0000
++++ src/gd_gd2.c
+@@ -73,6 +73,7 @@
+ #endif
+ 
+ /* 2.0.29: no more errno.h, makes windows happy */
++#include <limits.h>
+ #include <math.h>
+ #include <string.h>
+ #include "gd.h"



Home | Main Index | Thread Index | Old Index