pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/socket_wrapper



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Sep 14 22:10:50 UTC 2026

Modified Files:
        pkgsrc/devel/socket_wrapper: distinfo
Added Files:
        pkgsrc/devel/socket_wrapper/patches: patch-CompilerChecks.cmake
            patch-tests_test__echo__tcp__get__peer__sock__name.c

Log Message:
socket_wrapper: fix build on -current


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/socket_wrapper/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/socket_wrapper/patches/patch-CompilerChecks.cmake \
    pkgsrc/devel/socket_wrapper/patches/patch-tests_test__echo__tcp__get__peer__sock__name.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/socket_wrapper/distinfo
diff -u pkgsrc/devel/socket_wrapper/distinfo:1.1 pkgsrc/devel/socket_wrapper/distinfo:1.2
--- pkgsrc/devel/socket_wrapper/distinfo:1.1    Sat Sep  6 18:29:02 2025
+++ pkgsrc/devel/socket_wrapper/distinfo        Mon Sep 14 22:10:49 2026
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.1 2025/09/06 18:29:02 riastradh Exp $
+$NetBSD: distinfo,v 1.2 2026/09/14 22:10:49 wiz Exp $
 
 BLAKE2s (socket_wrapper-1.5.0.tar.gz) = 4273a026191820a5e3583aae402a52128b34352a5736d3f070289e9ad2a69ed2
 SHA512 (socket_wrapper-1.5.0.tar.gz) = 2ab501e592e6ece88a3e1f5f34a81d6504a07a3df10d21aa4d21b2c96637e7c3660be309624ba9f743e46deb8ac75e8152e082d313cd7b31e510291c5b0ebd20
 Size (socket_wrapper-1.5.0.tar.gz) = 89865 bytes
+SHA1 (patch-CompilerChecks.cmake) = 7fae87a60dbcd1debab61c73a65f31f017dbe4ae
 SHA1 (patch-src_socket__wrapper.c) = 71ff9f81b3eff06d5a8ef02e20e2b708882ed382
+SHA1 (patch-tests_test__echo__tcp__get__peer__sock__name.c) = f32550de20c5605fb883472f45302cbd62e92567

Added files:

Index: pkgsrc/devel/socket_wrapper/patches/patch-CompilerChecks.cmake
diff -u /dev/null pkgsrc/devel/socket_wrapper/patches/patch-CompilerChecks.cmake:1.1
--- /dev/null   Mon Sep 14 22:10:50 2026
+++ pkgsrc/devel/socket_wrapper/patches/patch-CompilerChecks.cmake      Mon Sep 14 22:10:50 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-CompilerChecks.cmake,v 1.1 2026/09/14 22:10:50 wiz Exp $
+
+Code is not ready for error.
+
+--- CompilerChecks.cmake.orig  2024-06-10 07:43:42.000000000 +0000
++++ CompilerChecks.cmake
+@@ -28,7 +28,7 @@ if (UNIX)
+     add_c_compiler_flag("-Werror=strict-prototypes" SUPPORTED_COMPILER_FLAGS)
+     add_c_compiler_flag("-Wwrite-strings" SUPPORTED_COMPILER_FLAGS)
+     add_c_compiler_flag("-Werror=write-strings" SUPPORTED_COMPILER_FLAGS)
+-    add_c_compiler_flag("-Werror-implicit-function-declaration" SUPPORTED_COMPILER_FLAGS)
++    add_c_compiler_flag("-Wno-implicit-function-declaration" SUPPORTED_COMPILER_FLAGS)
+     add_c_compiler_flag("-Wpointer-arith" SUPPORTED_COMPILER_FLAGS)
+     add_c_compiler_flag("-Werror=pointer-arith" SUPPORTED_COMPILER_FLAGS)
+     add_c_compiler_flag("-Wdeclaration-after-statement" SUPPORTED_COMPILER_FLAGS)
Index: pkgsrc/devel/socket_wrapper/patches/patch-tests_test__echo__tcp__get__peer__sock__name.c
diff -u /dev/null pkgsrc/devel/socket_wrapper/patches/patch-tests_test__echo__tcp__get__peer__sock__name.c:1.1
--- /dev/null   Mon Sep 14 22:10:50 2026
+++ pkgsrc/devel/socket_wrapper/patches/patch-tests_test__echo__tcp__get__peer__sock__name.c    Mon Sep 14 22:10:50 2026
@@ -0,0 +1,20 @@
+$NetBSD: patch-tests_test__echo__tcp__get__peer__sock__name.c,v 1.1 2026/09/14 22:10:50 wiz Exp $
+
+_assert_in_range not found, use different, existing one that checks the same.
+
+--- tests/test_echo_tcp_get_peer_sock_name.c.orig      2024-06-10 07:43:42.000000000 +0000
++++ tests/test_echo_tcp_get_peer_sock_name.c
+@@ -112,11 +112,9 @@ static void _assert_sockaddr_port_range_equal(struct t
+               return;
+       }
+ 
+-      _assert_in_range(ntohs(n_port),
++      assert_int_in_range(ntohs(n_port),
+                        min_port,
+-                       max_port,
+-                       file,
+-                       line);
++                       max_port);
+ }
+ 
+ #define assert_sockaddr_port_range_equal(ss, a, min_prt, max_prt) \



Home | Main Index | Thread Index | Old Index