Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/m4 devel/m4: Fix compilation on QNX



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c49d5d410b12
branches:  trunk
changeset: 437681:c49d5d410b12
user:      js <js%pkgsrc.org@localhost>
date:      Sat Aug 29 21:39:14 2020 +0000

description:
devel/m4: Fix compilation on QNX

diffstat:

 devel/m4/distinfo                              |   3 ++-
 devel/m4/patches/patch-lib_strerror_override.c |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r c8cd92daa75c -r c49d5d410b12 devel/m4/distinfo
--- a/devel/m4/distinfo Sat Aug 29 21:27:42 2020 +0000
+++ b/devel/m4/distinfo Sat Aug 29 21:39:14 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.46 2019/01/06 05:45:29 gutteridge Exp $
+$NetBSD: distinfo,v 1.47 2020/08/29 21:39:14 js Exp $
 
 SHA1 (m4-1.4.18.tar.gz) = 2f76f8105a45b05c8cfede97b3193cd88b31c657
 RMD160 (m4-1.4.18.tar.gz) = 16396a6ffbb2105cdd0a36c773b44d16854ed740
@@ -14,5 +14,6 @@
 SHA1 (patch-lib_getprogname.c) = 3a8e7c028342ef3a9f86839f1a5ae36571a65f12
 SHA1 (patch-lib_stdio-impl.h) = 918520e029277a12e66b3644740ffca2e9754f38
 SHA1 (patch-lib_stdio.in.h) = 21557ea9d86dbeb36062df4e62cb71735b06480b
+SHA1 (patch-lib_strerror_override.c) = 58e01b56022e117183b912913b8b0f7e64dea9a8
 SHA1 (patch-lib_vasnprintf.c) = 2bced6c121efc9bc5894174c7745ba89e8f53033
 SHA1 (patch-lib_xalloc-oversized.h) = 9e74adec2f43770d419f60d5c3e7bdea2424daa6
diff -r c8cd92daa75c -r c49d5d410b12 devel/m4/patches/patch-lib_strerror_override.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m4/patches/patch-lib_strerror_override.c    Sat Aug 29 21:39:14 2020 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-lib_strerror_override.c,v 1.1 2020/08/29 21:39:14 js Exp $
+
+--- lib/strerror-override.c.orig       2016-12-31 13:54:42.000000000 +0000
++++ lib/strerror-override.c
+@@ -29,6 +29,8 @@
+ # endif
+ #endif
+ 
++/* strerror_override.h might define it to NULL. */
++#ifndef strerror_override
+ /* If ERRNUM maps to an errno value defined by gnulib, return a string
+    describing the error.  Otherwise return NULL.  */
+ const char *
+@@ -300,3 +302,4 @@ strerror_override (int errnum)
+       return NULL;
+     }
+ }
++#endif



Home | Main Index | Thread Index | Old Index