pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
dpbox: commit patch-bl and align distinfo
Module Name: pkgsrc-wip
Committed By: Chris Maness <christopher.maness%gmail.com@localhost>
Pushed By: kq6up
Date: Wed Jul 15 11:34:10 2026 -0700
Changeset: 2030053d0672e025eec07a0ca3669f4eea2303cb
Added Files:
dpbox/patches/patch-bl
Log Message:
dpbox: commit patch-bl and align distinfo
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2030053d0672e025eec07a0ca3669f4eea2303cb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
dpbox/patches/patch-bl | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diffs:
diff --git a/dpbox/patches/patch-bl b/dpbox/patches/patch-bl
new file mode 100644
index 0000000000..b7489c0af8
--- /dev/null
+++ b/dpbox/patches/patch-bl
@@ -0,0 +1,30 @@
+$NetBSD$
+
+Demote GCC 14 hard errors back to warnings for this K&R-era codebase.
+
+There is no active upstream maintainer and no upstream bug tracker.
+The original source is available via pkgsrc ham/dpbox.
+
+GCC 14 promotes implicit-int, implicit-function-declaration, and
+int-conversion from warnings to hard errors by default. dpbox predates
+ANSI C prototypes in many places (old-style K&R function definitions
+with untyped parameters, calls to library functions without prototypes,
+and char*/unsigned char* mismatches), which stops the build cold on
+modern toolchains. Add -Wno-error= for those three categories to both
+CFLAGS and CRAWLERCFLAGS so the package builds while the source is
+gradually modernized upstream. The warnings remain visible; only their
+error status is suppressed.
+
+--- Makefile.netbsd.orig 2026-07-08 00:22:54.058653992 +0000
++++ Makefile.netbsd 2026-07-08 00:22:54.073512826 +0000
+@@ -35,8 +35,8 @@
+ DEFS = $(SYSTEM) $(NOSHELL)
+ CC = gcc
+ CPP = $(CC) -E
+-CFLAGS = -Wall -O2 -funsigned-char -fomit-frame-pointer -fno-strength-reduce
+-CRAWLERCFLAGS = -Wall -O3 -funsigned-char -fomit-frame-pointer -fno-strength-reduce
++CFLAGS = -Wall -O2 -funsigned-char -fomit-frame-pointer -fno-strength-reduce -Wno-error=implicit-int -Wno-error=implicit-function-declaration -Wno-error=int-conversion
++CRAWLERCFLAGS = -Wall -O3 -funsigned-char -fomit-frame-pointer -fno-strength-reduce -Wno-error=implicit-int -Wno-error=implicit-function-declaration -Wno-error=int-conversion
+ LD = $(CC)
+ LDFLAGS = -s
+ LIBS = -lm
Home |
Main Index |
Thread Index |
Old Index