pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/netpbm Added some patches for Tru64 support, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef2bee6aa24f
branches:  trunk
changeset: 520943:ef2bee6aa24f
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Nov 03 07:45:19 2006 +0000

description:
Added some patches for Tru64 support, provided by Hrvoje Habjanic in
http://mail-index.netbsd.org/pkgsrc-users/2006/11/02/0003.html

diffstat:

 graphics/netpbm/distinfo         |   6 +++++-
 graphics/netpbm/patches/patch-da |  16 ++++++++++++++++
 graphics/netpbm/patches/patch-db |  16 ++++++++++++++++
 graphics/netpbm/patches/patch-dc |  16 ++++++++++++++++
 graphics/netpbm/patches/patch-dd |  16 ++++++++++++++++
 5 files changed, 69 insertions(+), 1 deletions(-)

diffs (97 lines):

diff -r c76dbd2d3713 -r ef2bee6aa24f graphics/netpbm/distinfo
--- a/graphics/netpbm/distinfo  Fri Nov 03 07:28:53 2006 +0000
+++ b/graphics/netpbm/distinfo  Fri Nov 03 07:45:19 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.62 2006/10/11 18:44:25 rillig Exp $
+$NetBSD: distinfo,v 1.63 2006/11/03 07:45:19 rillig Exp $
 
 SHA1 (netpbm-10.34.tgz) = 530458871f9d3dc763a1bf82f227eeb79098c601
 RMD160 (netpbm-10.34.tgz) = 57a596efa6cacb981135d554a72cbaffc4cfe72c
@@ -28,3 +28,7 @@
 SHA1 (patch-aw) = bd890324e95fa7bb893d9d5cdab9d5a33dcff777
 SHA1 (patch-ca) = b63be9bd38dd182949edf3b892608b72d13c1fa0
 SHA1 (patch-cb) = b1be33ae6acfe57bf2f407cd48a6b140c3ddea85
+SHA1 (patch-da) = 37b30f7b6674150685d406570802a7250dce51a6
+SHA1 (patch-db) = 028f1c8b879d640f3f04dfb252c5efca21949031
+SHA1 (patch-dc) = 8ed1365dccf5abb0e158a4f7a65749ff5b244ef3
+SHA1 (patch-dd) = b64f1826549ffd949e19cb986e1e367918ccf5ba
diff -r c76dbd2d3713 -r ef2bee6aa24f graphics/netpbm/patches/patch-da
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/netpbm/patches/patch-da  Fri Nov 03 07:45:19 2006 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-da,v 1.1 2006/11/03 07:45:19 rillig Exp $
+
+--- converter/other/jpeg2000/pamtojpeg2k.c.orig        Tue Oct 31 09:41:12 2006
++++ converter/other/jpeg2000/pamtojpeg2k.c     Tue Oct 31 10:53:02 2006
+@@ -9,7 +9,11 @@
+ *****************************************************************************/
+ 
+ #define _BSD_SOURCE 1    /* Make sure strdup() is in string.h */
++#ifdef __osf__
++#define _OSF_SOURCE
++#else
+ #define _XOPEN_SOURCE 500  /* Make sure strdup() is in string.h */
++#endif /* __osf__ */
+ #include <string.h>
+ 
+ #include "pam.h"
diff -r c76dbd2d3713 -r ef2bee6aa24f graphics/netpbm/patches/patch-db
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/netpbm/patches/patch-db  Fri Nov 03 07:45:19 2006 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-db,v 1.1 2006/11/03 07:45:19 rillig Exp $
+
+--- converter/other/jpeg2000/jpeg2ktopam.c.orig        Tue Oct 31 09:41:56 2006
++++ converter/other/jpeg2000/jpeg2ktopam.c     Tue Oct 31 10:52:39 2006
+@@ -9,7 +9,11 @@
+ *****************************************************************************/
+ 
+ #define _BSD_SOURCE 1      /* Make sure strdup() is in string.h */
++#ifdef __osf__
++#define _OSF_SOURCE
++#else
+ #define _XOPEN_SOURCE 500  /* Make sure strdup() is in string.h */
++#endif /* __osf__ */
+ #include <string.h>
+ 
+ #include "pam.h"
diff -r c76dbd2d3713 -r ef2bee6aa24f graphics/netpbm/patches/patch-dc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/netpbm/patches/patch-dc  Fri Nov 03 07:45:19 2006 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-dc,v 1.1 2006/11/03 07:45:19 rillig Exp $
+
+--- converter/other/cameratopam/camera.c.orig  Tue Oct 31 09:49:45 2006
++++ converter/other/cameratopam/camera.c       Tue Oct 31 10:55:38 2006
+@@ -1,7 +1,11 @@
+ #define _BSD_SOURCE
+     /* Make sure strcasecmp is in string.h */
++#ifdef __osf__
++#define _OSF_SOURCE
++#else
+ #define _XOPEN_SOURCE
+     /* Make sure putenv is in stdlib.h */
++#endif /* __osf__ */
+ #define __EXTENSIONS__
+ 
+ #include <stdlib.h>
diff -r c76dbd2d3713 -r ef2bee6aa24f graphics/netpbm/patches/patch-dd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/netpbm/patches/patch-dd  Fri Nov 03 07:45:19 2006 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-dd,v 1.1 2006/11/03 07:45:19 rillig Exp $
+
+--- converter/other/cameratopam/cameratopam.c.orig     Tue Oct 31 09:55:51 2006
++++ converter/other/cameratopam/cameratopam.c  Tue Oct 31 10:55:17 2006
+@@ -18,7 +18,11 @@
+ */
+ #include <time.h>
+ 
++#ifdef __osf__
++#define _OSF_SOURCE
++#else
+ #define _XOPEN_SOURCE  /* Make sure unistd.h contains swab() */
++#endif /* __osf__ */
+ 
+ #include <ctype.h>
+ #include <unistd.h>



Home | Main Index | Thread Index | Old Index