diff options
author | drochner <drochner@pkgsrc.org> | 2009-02-16 18:05:44 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2009-02-16 18:05:44 +0000 |
commit | c303bc2cbdf1dd1461030b9b4ea2d7d36a205393 (patch) | |
tree | a8ce7d03bc9f95183c3e27645b0f2dad17e8ff99 | |
parent | 72901e5af30c3e08d8a4dbe351bdb1ed383e0d88 (diff) | |
download | pkgsrc-c303bc2cbdf1dd1461030b9b4ea2d7d36a205393.tar.gz |
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
-rw-r--r-- | print/libpaper/distinfo | 3 | ||||
-rw-r--r-- | print/libpaper/patches/patch-ac | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/print/libpaper/distinfo b/print/libpaper/distinfo index f94f31b3f34..b142d1ba7e3 100644 --- a/print/libpaper/distinfo +++ b/print/libpaper/distinfo @@ -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 --git a/print/libpaper/patches/patch-ac b/print/libpaper/patches/patch-ac new file mode 100644 index 00000000000..27fcb52de7f --- /dev/null +++ b/print/libpaper/patches/patch-ac @@ -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) () |