pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/libpaper modify check of __STDC__ to accept a "0...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a46eab5b9a5f
branches:  trunk
changeset: 554594:a46eab5b9a5f
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Mon Feb 16 18:05:44 2009 +0000

description:
modify check of __STDC__ to accept a "0" value as positive,
fixes build error with Sun Studio Compiler reported by
Joern Clausen per PR pkg/40660

diffstat:

 print/libpaper/distinfo         |   3 ++-
 print/libpaper/patches/patch-ac |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 0465e0a9623c -r a46eab5b9a5f print/libpaper/distinfo
--- a/print/libpaper/distinfo   Mon Feb 16 17:51:07 2009 +0000
+++ b/print/libpaper/distinfo   Mon Feb 16 18:05:44 2009 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2008/03/08 14:20:12 tnn Exp $
+$NetBSD: distinfo,v 1.4 2009/02/16 18:05:44 drochner Exp $
 
 SHA1 (libpaper_1.1.23.tar.gz) = e1c03fc0fa708cafe12d00a120685ef566100468
 RMD160 (libpaper_1.1.23.tar.gz) = bf407f5e75348abde5b7d3d3c8e2ea695de46cd7
 Size (libpaper_1.1.23.tar.gz) = 351153 bytes
 SHA1 (patch-aa) = 389af838d6d1d532227b63fb1cf93bbb889d4abd
 SHA1 (patch-ab) = 2d62d160c7f64b1ab4d12bf38632fcf433f4dd4c
+SHA1 (patch-ac) = 23bb17e9799b53307210c29c034513ac3257392f
diff -r 0465e0a9623c -r a46eab5b9a5f print/libpaper/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/libpaper/patches/patch-ac   Mon Feb 16 18:05:44 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2009/02/16 18:05:44 drochner Exp $
+
+--- lib/paper.h.orig   1996-09-24 09:16:07.000000000 +0200
++++ lib/paper.h
+@@ -22,7 +22,7 @@
+  *
+  */
+ 
+-#if __STDC__ - 0 == 0
++#if !defined(__STDC__)
+ 
+ #define __PAPER_CONST
+ #define __PAPER_PROTO(p)      ()



Home | Main Index | Thread Index | Old Index