Control: tag -1 patch

Hi there,

I had a quick glimpse at patching csh.h to get it to build with
Gcc 10, but the end result would be a rather hairy patch to
maintain against the source code.  Instead I would simply
suggest to use the -fcommon build flag.  The code base is rather
old, from an era things were done differently I guess.

The corresponding patch against debian/rules should be in
attachment, if I don't mess with the attach function of my
mailer once again.

I hope this helps.
-- 
Étienne Mollier <etienne.moll...@mailoo.org>
Old rsa/3072: 5ab1 4edf 63bb ccff 8b54  2fa9 59da 56fe fff3 882d
New rsa/4096: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/2, please excuse my verbosity.
diff -Naur csh-20110502.old/debian/rules csh-20110502/debian/rules
--- csh-20110502.old/debian/rules	2019-09-22 10:10:45.000000000 +0200
+++ csh-20110502/debian/rules	2020-07-22 20:15:37.367468287 +0200
@@ -2,7 +2,7 @@
 
 # Standard options minus `-Wall', since upstream uses `-Werror'.
 # Use -w to disable -Werror, due to #warning misuse in <bsd/vis.h>
-export CFLAGS := -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)  -w
+export CFLAGS := -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)  -w -fcommon
 
 %:
 	dh $@ --buildsystem=bmake

Attachment: signature.asc
Description: PGP signature

Reply via email to