Dear maintainer, I've uploaded an NMU for wcc (versioned as 0.0.2+dfsg-4.2). The diff is attached to this message.
cu Adrian
diff -Nru wcc-0.0.2+dfsg/debian/changelog wcc-0.0.2+dfsg/debian/changelog --- wcc-0.0.2+dfsg/debian/changelog 2020-03-21 19:02:12.000000000 +0200 +++ wcc-0.0.2+dfsg/debian/changelog 2023-01-18 16:09:29.000000000 +0200 @@ -1,3 +1,10 @@ +wcc (0.0.2+dfsg-4.2) unstable; urgency=low + + * Non-maintainer upload. + * Adapt to binutils 2.40. (Closes: #1026493) + + -- Adrian Bunk <b...@debian.org> Wed, 18 Jan 2023 16:09:29 +0200 + wcc (0.0.2+dfsg-4.1) unstable; urgency=medium * NMU: Fix build (Closes: #950910) diff -Nru wcc-0.0.2+dfsg/debian/control wcc-0.0.2+dfsg/debian/control --- wcc-0.0.2+dfsg/debian/control 2020-03-21 19:02:12.000000000 +0200 +++ wcc-0.0.2+dfsg/debian/control 2023-01-18 16:09:29.000000000 +0200 @@ -12,6 +12,7 @@ libgsl-dev, clang, libiberty-dev, + libzstd-dev, liblua5.3-dev, libopenlibm-dev, pkg-config diff -Nru wcc-0.0.2+dfsg/debian/patches/binutils_shared.patch wcc-0.0.2+dfsg/debian/patches/binutils_shared.patch --- wcc-0.0.2+dfsg/debian/patches/binutils_shared.patch 2020-03-21 19:02:12.000000000 +0200 +++ wcc-0.0.2+dfsg/debian/patches/binutils_shared.patch 2023-01-18 16:09:29.000000000 +0200 @@ -12,7 +12,7 @@ -all:: - $(CC) $(CFLAGS) wcc.c -o wcc -lbfd -lelf -lcapstone +all: -+ $(CC) $(CFLAGS) wcc.c -o wcc -l:libbfd.a -lz -ldl -liberty -lelf -lcapstone ++ $(CC) $(CFLAGS) wcc.c -o wcc -l:libbfd.a -l:libsframe.a -lz -ldl -liberty -lzstd -lelf -lcapstone # $(CC) $(CFLAGS) -m32 -Wl,-rpath /home/jonathan/solution-exp/unlinking/awareness/self/wcc/src/wcc/lib32/ wcc.c -o wcc32 -lelf ./lib32/libbfd-2.24-system.so ./lib32/libcapstone.so.3 cp wcc ../../bin/