pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/m4 Add upstream patch fixing build on Solaris 9 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6bf9e4a875ae
branches:  trunk
changeset: 603052:6bf9e4a875ae
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Apr 27 21:01:41 2012 +0000

description:
Add upstream patch fixing build on Solaris 9 with Sun Studio 11.
Suggested by Stephen Nelson-Smith <sanelson%gmail.com@localhost> on pkgsrc-users.

diffstat:

 devel/m4/distinfo                   |   3 +-
 devel/m4/patches/patch-lib_verror.h |  41 +++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+), 1 deletions(-)

diffs (59 lines):

diff -r 3f65573f6554 -r 6bf9e4a875ae devel/m4/distinfo
--- a/devel/m4/distinfo Fri Apr 27 18:42:06 2012 +0000
+++ b/devel/m4/distinfo Fri Apr 27 21:01:41 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.34 2012/01/31 01:12:46 christos Exp $
+$NetBSD: distinfo,v 1.35 2012/04/27 21:01:41 wiz Exp $
 
 SHA1 (m4-1.4.16.tar.gz) = 44b3ed8931f65cdab02aee66ae1e49724d2551a4
 RMD160 (m4-1.4.16.tar.gz) = 9b161898b9fb2fc44614e644a0e3bdab3ff1328b
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = ef316620b49f78f46e9dea47032b0141814c1f43
 SHA1 (patch-ab) = b29840365e983623bce64e84ceab3504b8270b32
 SHA1 (patch-ac) = 7bd9164c659727a906ef54a2f1027e9fd19315ba
+SHA1 (patch-lib_verror.h) = 4c50ab0bc90a6324845e145bbe140836179ca8c9
diff -r 3f65573f6554 -r 6bf9e4a875ae devel/m4/patches/patch-lib_verror.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m4/patches/patch-lib_verror.h       Fri Apr 27 21:01:41 2012 +0000
@@ -0,0 +1,41 @@
+$NetBSD: patch-lib_verror.h,v 1.1 2012/04/27 21:01:41 wiz Exp $
+
+2011-03-20  Bruno Haible  <bruno%clisp.org@localhost>
+
+       verror: Fix compilation error introduced on 2011-02-13.
+       * lib/verror.h (verror, verror_at_line): Use _GL_ATTRIBUTE_FORMAT macro
+       instead of __attribute__.
+       Reported by Tom G. Christensen <tgc%jupiterrise.com@localhost>.
+
+--- lib/verror.h.orig  2011-03-01 16:39:30.000000000 +0000
++++ lib/verror.h
+@@ -17,9 +17,10 @@
+ #ifndef _VERROR_H
+ #define _VERROR_H 1
+ 
+-#include "error.h"
+ #include <stdarg.h>
+ 
++#include "error.h" /* for _GL_ATTRIBUTE_FORMAT */
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+@@ -32,7 +33,7 @@ extern "C" {
+ 
+ extern void verror (int __status, int __errnum, const char *__format,
+                     va_list __args)
+-     __attribute__ ((__format__ (__printf__, 3, 0)));
++     _GL_ATTRIBUTE_FORMAT ((__printf__, 3, 0));
+ 
+ /* Print a message with `vfprintf (stderr, FORMAT, ARGS)';
+    if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM).
+@@ -44,7 +45,7 @@ extern void verror (int __status, int __
+ extern void verror_at_line (int __status, int __errnum, const char *__fname,
+                             unsigned int __lineno, const char *__format,
+                             va_list __args)
+-     __attribute__ ((__format__ (__printf__, 5, 0)));
++     _GL_ATTRIBUTE_FORMAT ((__printf__, 5, 0));
+ 
+ #ifdef __cplusplus
+ }



Home | Main Index | Thread Index | Old Index