pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libportlib
Module Name: pkgsrc
Committed By: nia
Date: Fri Dec 19 10:46:08 UTC 2025
Modified Files:
pkgsrc/devel/libportlib: Makefile distinfo
Added Files:
pkgsrc/devel/libportlib/patches: patch-atotest.c patch-dirtest.c
patch-fdtest.c patch-locktest.c patch-memtest.c
Log Message:
libportlib: Avoid implicit function declarations.
Fixes build with recent gcc versions.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/libportlib/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/libportlib/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libportlib/patches/patch-atotest.c \
pkgsrc/devel/libportlib/patches/patch-dirtest.c \
pkgsrc/devel/libportlib/patches/patch-fdtest.c \
pkgsrc/devel/libportlib/patches/patch-locktest.c \
pkgsrc/devel/libportlib/patches/patch-memtest.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/libportlib/Makefile
diff -u pkgsrc/devel/libportlib/Makefile:1.18 pkgsrc/devel/libportlib/Makefile:1.19
--- pkgsrc/devel/libportlib/Makefile:1.18 Sat Dec 23 08:20:52 2023
+++ pkgsrc/devel/libportlib/Makefile Fri Dec 19 10:46:08 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2023/12/23 08:20:52 zafer Exp $
+# $NetBSD: Makefile,v 1.19 2025/12/19 10:46:08 nia Exp $
#
DISTNAME= portlib-1.01
@@ -15,7 +15,7 @@ MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}/portlib-1.01
INSTALLATION_DIRS= include lib
-post-patch:
+pre-configure:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.bak
${SED} <${WRKSRC}/Makefile.bak >${WRKSRC}/Makefile \
-e 's|/usr/local|${PREFIX}|'
Index: pkgsrc/devel/libportlib/distinfo
diff -u pkgsrc/devel/libportlib/distinfo:1.6 pkgsrc/devel/libportlib/distinfo:1.7
--- pkgsrc/devel/libportlib/distinfo:1.6 Tue Oct 26 10:15:26 2021
+++ pkgsrc/devel/libportlib/distinfo Fri Dec 19 10:46:08 2025
@@ -1,6 +1,11 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:15:26 nia Exp $
+$NetBSD: distinfo,v 1.7 2025/12/19 10:46:08 nia Exp $
BLAKE2s (portlib-1.01.tar.gz) = 369a7b83f8083b454336c01549198de7e38877d81e675dc5133812b0386850ad
SHA512 (portlib-1.01.tar.gz) = d29d61244ecdebea3b716f29ad514142adbdd7f90438430b2b2aff4e888d5a065c90f691645cae90f1acea233c54fa8ff02104072fb74072c8887a0ab3aef001
Size (portlib-1.01.tar.gz) = 12589 bytes
SHA1 (patch-aa) = 9b6c846775e3fd15ff739198b749e7f3357c2b2a
+SHA1 (patch-atotest.c) = 656964aa31cc3f10fc84c3218dce24ca25d42386
+SHA1 (patch-dirtest.c) = b35de0ba8553c59463ac3ebf10563e4e2b76d978
+SHA1 (patch-fdtest.c) = bcc0b0f2e4b3bf38a9f7c3ccbed971d5cab6befe
+SHA1 (patch-locktest.c) = 07433dded82fb8c6bbd98bcceaab18de49b8b0ca
+SHA1 (patch-memtest.c) = c4bc1a9b683b7f2cf0243383806a10ceee24b317
Added files:
Index: pkgsrc/devel/libportlib/patches/patch-atotest.c
diff -u /dev/null pkgsrc/devel/libportlib/patches/patch-atotest.c:1.1
--- /dev/null Fri Dec 19 10:46:08 2025
+++ pkgsrc/devel/libportlib/patches/patch-atotest.c Fri Dec 19 10:46:08 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-atotest.c,v 1.1 2025/12/19 10:46:08 nia Exp $
+
+Include <stdlib.h> for exit(3).
+
+--- atotest.c.orig 2025-12-19 10:34:56.852020106 +0000
++++ atotest.c
+@@ -14,6 +14,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #include "portlib.h"
+
Index: pkgsrc/devel/libportlib/patches/patch-dirtest.c
diff -u /dev/null pkgsrc/devel/libportlib/patches/patch-dirtest.c:1.1
--- /dev/null Fri Dec 19 10:46:08 2025
+++ pkgsrc/devel/libportlib/patches/patch-dirtest.c Fri Dec 19 10:46:08 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-dirtest.c,v 1.1 2025/12/19 10:46:08 nia Exp $
+
+Include <stdlib.h> for exit(3).
+
+--- dirtest.c.orig 2025-12-19 10:35:59.560125667 +0000
++++ dirtest.c
+@@ -11,6 +11,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #include "portlib.h"
+
Index: pkgsrc/devel/libportlib/patches/patch-fdtest.c
diff -u /dev/null pkgsrc/devel/libportlib/patches/patch-fdtest.c:1.1
--- /dev/null Fri Dec 19 10:46:08 2025
+++ pkgsrc/devel/libportlib/patches/patch-fdtest.c Fri Dec 19 10:46:08 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-fdtest.c,v 1.1 2025/12/19 10:46:08 nia Exp $
+
+Include <stdlib.h> for exit(3).
+
+--- fdtest.c.orig 2025-12-19 10:35:53.526349178 +0000
++++ fdtest.c
+@@ -11,6 +11,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #include "portlib.h"
+
Index: pkgsrc/devel/libportlib/patches/patch-locktest.c
diff -u /dev/null pkgsrc/devel/libportlib/patches/patch-locktest.c:1.1
--- /dev/null Fri Dec 19 10:46:08 2025
+++ pkgsrc/devel/libportlib/patches/patch-locktest.c Fri Dec 19 10:46:08 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-locktest.c,v 1.1 2025/12/19 10:46:08 nia Exp $
+
+Avoid implicit function declarations.
+
+--- locktest.c.orig 1997-01-16 23:18:14.000000000 +0000
++++ locktest.c
+@@ -20,6 +20,9 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
++#include <unistd.h>
+
+ #include "portlib.h"
+
Index: pkgsrc/devel/libportlib/patches/patch-memtest.c
diff -u /dev/null pkgsrc/devel/libportlib/patches/patch-memtest.c:1.1
--- /dev/null Fri Dec 19 10:46:08 2025
+++ pkgsrc/devel/libportlib/patches/patch-memtest.c Fri Dec 19 10:46:08 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-memtest.c,v 1.1 2025/12/19 10:46:08 nia Exp $
+
+Include <stdlib.h> for exit(3).
+
+--- memtest.c.orig 2025-12-19 10:35:33.882292679 +0000
++++ memtest.c
+@@ -10,6 +10,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #include "portlib.h"
+
Home |
Main Index |
Thread Index |
Old Index