[med-svn] [Git][med-team/ctn][master] 4 commits: d/test-endian.c: fix ARCHITECTURE detection with gcc 14.
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Tue Jul 23 21:51:07 BST 2024
Étienne Mollier pushed to branch master at Debian Med / ctn
Commits:
01c1e178 by Étienne Mollier at 2024-07-23T21:07:52+02:00
d/test-endian.c: fix ARCHITECTURE detection with gcc 14.
- - - - -
7fd29637 by Étienne Mollier at 2024-07-23T22:36:14+02:00
d/rules: ignore newly enforced checks with gcc 14.
Despite the relative simplicity of fixes for this gcc releast, the ctn
code base is so large and ancient that the resulting patch for proper
corrections of build errors is barely manageable. For this particular
case, reducing the severity of errors seemed more appropriate, and
also prudent if considering risks of introducing bugs with the patch.
Closes: #1074893
- - - - -
ef88e5a6 by Étienne Mollier at 2024-07-23T22:47:14+02:00
d/control: declare compliance to standards version 4.7.0.
- - - - -
177f43ca by Étienne Mollier at 2024-07-23T22:50:20+02:00
ready for upload to unstable.
- - - - -
4 changed files:
- debian/changelog
- debian/control
- debian/rules
- debian/test-endian.c
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,18 @@
+ctn (3.2.0~dfsg-8) unstable; urgency=medium
+
+ * Team upload.
+ * d/test-endian.c: fix ARCHITECTURE detection with gcc 14.
+ * d/rules: ignore newly enforced checks with gcc 14.
+ Despite the relative simplicity of fixes for this gcc releast, the ctn
+ code base is so large and ancient that the resulting patch for proper
+ corrections of build errors is barely manageable. For this particular
+ case, reducing the severity of errors seemed more appropriate, and
+ also prudent if considering risks of introducing bugs with the patch.
+ (Closes: #1074893)
+ * d/control: declare compliance to standards version 4.7.0.
+
+ -- Étienne Mollier <emollier at debian.org> Tue, 23 Jul 2024 22:49:55 +0200
+
ctn (3.2.0~dfsg-7.1) unstable; urgency=medium
* Non-maintainer upload.
=====================================
debian/control
=====================================
@@ -15,7 +15,7 @@ Build-Depends: debhelper-compat (= 13),
libxt-dev,
x11proto-core-dev,
csh | c-shell
-Standards-Version: 4.5.0
+Standards-Version: 4.7.0
Vcs-Browser: https://salsa.debian.org/med-team/ctn
Vcs-Git: https://salsa.debian.org/med-team/ctn.git
Homepage: http://sourceforge.net/projects/mirctn
=====================================
debian/rules
=====================================
@@ -2,6 +2,16 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+# ctn code base is large and ancient (including compatibility code for
+# supporting compilers of the pre-C89 era). Patching to accomodate for
+# contemporary compiler behavior results in unreasonably large changes,
+# so we favor dropping the checks for dangerous behaviors. For more
+# information, refer to #1074893.
+export DEB_CFLAGS_MAINT_APPEND = \
+ -Wno-error=incompatible-pointer-types \
+ -Wno-error=implicit-int \
+ -Wno-error=int-conversion
+
pkg-ctn := ctn
pkg-ctn-dev := ctn-dev
=====================================
debian/test-endian.c
=====================================
@@ -1,6 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
+int
main()
{
unsigned int i = 1 + (256 * 2) + (256*256 * 3) + (256*256*256 * 4);
View it on GitLab: https://salsa.debian.org/med-team/ctn/-/compare/00b343364488b1117fd688b4f5a33bc4e8c9e194...177f43ca8e2c08e3df4b9e859deef487f6e4a1fb
--
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/med-team/ctn/-/compare/00b343364488b1117fd688b4f5a33bc4e8c9e194...177f43ca8e2c08e3df4b9e859deef487f6e4a1fb
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240723/eea838e2/attachment-0001.htm>
More information about the debian-med-commit
mailing list