pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/m4



Module Name:    pkgsrc
Committed By:   js
Date:           Sat Aug 29 21:39:14 UTC 2020

Modified Files:
        pkgsrc/devel/m4: distinfo
Added Files:
        pkgsrc/devel/m4/patches: patch-lib_strerror_override.c

Log Message:
devel/m4: Fix compilation on QNX


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/devel/m4/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/m4/patches/patch-lib_strerror_override.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/m4/distinfo
diff -u pkgsrc/devel/m4/distinfo:1.46 pkgsrc/devel/m4/distinfo:1.47
--- pkgsrc/devel/m4/distinfo:1.46       Sun Jan  6 05:45:29 2019
+++ pkgsrc/devel/m4/distinfo    Sat Aug 29 21:39:14 2020
@@ -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_fseeko.c) = 6edb69d85da7
 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

Added files:

Index: pkgsrc/devel/m4/patches/patch-lib_strerror_override.c
diff -u /dev/null pkgsrc/devel/m4/patches/patch-lib_strerror_override.c:1.1
--- /dev/null   Sat Aug 29 21:39:14 2020
+++ pkgsrc/devel/m4/patches/patch-lib_strerror_override.c       Sat Aug 29 21:39:14 2020
@@ -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