pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/bup



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sat Sep 13 00:33:37 UTC 2025

Modified Files:
        pkgsrc/sysutils/bup: Makefile distinfo
Added Files:
        pkgsrc/sysutils/bup/patches: patch-config_configure

Log Message:
sysutils/bup: Work around clang judgement

clang warns if there is a -L argument that is "unused".  With -Werror,
this is an error.  pkgsrc wrappers add -L args whether they are needed
or not.  Patch out -Werror in bup's configure, to be proposed for
upstream.

Resolves build failure on macOS 15.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 pkgsrc/sysutils/bup/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/sysutils/bup/distinfo
cvs rdiff -u -r0 -r1.4 pkgsrc/sysutils/bup/patches/patch-config_configure

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

Modified files:

Index: pkgsrc/sysutils/bup/Makefile
diff -u pkgsrc/sysutils/bup/Makefile:1.72 pkgsrc/sysutils/bup/Makefile:1.73
--- pkgsrc/sysutils/bup/Makefile:1.72   Sat Aug 30 19:41:46 2025
+++ pkgsrc/sysutils/bup/Makefile        Sat Sep 13 00:33:37 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.72 2025/08/30 19:41:46 gdt Exp $
+# $NetBSD: Makefile,v 1.73 2025/09/13 00:33:37 gdt Exp $
 
 DISTNAME=      bup-0.33.9
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=bup/}
 # bup has two problems that make packaging difficult.  One is that

Index: pkgsrc/sysutils/bup/distinfo
diff -u pkgsrc/sysutils/bup/distinfo:1.30 pkgsrc/sysutils/bup/distinfo:1.31
--- pkgsrc/sysutils/bup/distinfo:1.30   Sat Aug 30 19:41:46 2025
+++ pkgsrc/sysutils/bup/distinfo        Sat Sep 13 00:33:37 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.30 2025/08/30 19:41:46 gdt Exp $
+$NetBSD: distinfo,v 1.31 2025/09/13 00:33:37 gdt Exp $
 
 BLAKE2s (bup-0.33.9.tar.gz) = e31caf1b0252b6690a51c0fe473f696cae78b65f6513d4564c23c4059cca1950
 SHA512 (bup-0.33.9.tar.gz) = 48b0d96a9f1507afd4452136a353df5b35ad5acff8f1c1769477dc5e6aa43c81830f9cd20c74e2d3ada3fa1b681661a7755234488fcbb2391ea75f43b811e01b
@@ -6,3 +6,4 @@ Size (bup-0.33.9.tar.gz) = 501132 bytes
 BLAKE2s (bup-man-0d2bd796c937f347dd830753f82eedd2b7ad6595.tar.gz) = 2ad56c366636e6a4f0d345db468f4ae8bf0221e1fd1e6149a0e64841942ee977
 SHA512 (bup-man-0d2bd796c937f347dd830753f82eedd2b7ad6595.tar.gz) = 080658ecf81a2f173f6efad719f265cfccdeb956ce22164919d4897755017173926ea8ef1682a605be9ffe1d056a205f50c73d63d16fabd0cd4a14690ee771a1
 Size (bup-man-0d2bd796c937f347dd830753f82eedd2b7ad6595.tar.gz) = 34249 bytes
+SHA1 (patch-config_configure) = 20560128514d0efd48d843d4ff2e8b5e15c90e9f

Added files:

Index: pkgsrc/sysutils/bup/patches/patch-config_configure
diff -u /dev/null pkgsrc/sysutils/bup/patches/patch-config_configure:1.4
--- /dev/null   Sat Sep 13 00:33:37 2025
+++ pkgsrc/sysutils/bup/patches/patch-config_configure  Sat Sep 13 00:33:37 2025
@@ -0,0 +1,19 @@
+$NetBSD: patch-config_configure,v 1.4 2025/09/13 00:33:37 gdt Exp $
+
+Disable -Werror on test builds, to avoid running afoul of clang
+complaining that a -L flag was "unused".
+
+Sent to bup via email.  Arguably this is a clang bug, but I have no
+reason to expect it to be fixed there.
+
+--- config/configure.orig      2025-08-30 18:10:07.000000000 +0000
++++ config/configure
+@@ -29,7 +29,7 @@ bup_try_c_code()
+     esac
+     tmpdir="$(mktemp -d "bup-try-c-compile-XXXXXXX")" || exit $?
+     echo "$code" > "$tmpdir/test.c" || exit $?
+-    $AC_CC -Wall -Werror $cflags -c -o "$tmpdir/test" "$tmpdir/test.c"
++    $AC_CC -Wall $cflags -c -o "$tmpdir/test" "$tmpdir/test.c"
+     rc=$?
+     rm -r "$tmpdir" || exit $?
+     return $rc



Home | Main Index | Thread Index | Old Index