[med-svn] [Git][med-team/g2][master] 4 commits: d/rules: build against standard C 2017.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Mon Feb 24 20:25:10 GMT 2025



Étienne Mollier pushed to branch master at Debian Med / g2


Commits:
76da8c63 by Étienne Mollier at 2025-02-24T21:01:12+01:00
d/rules: build against standard C 2017.

This is a workaround, but the package died upstream long ago.

Closes: #1096666

- - - - -
a5f8b188 by Étienne Mollier at 2025-02-24T21:03:17+01:00
d/control: declare compliance to standards version 4.7.1.

- - - - -
94e492e5 by Étienne Mollier at 2025-02-24T21:23:41+01:00
d/patches/*: normalise dep3 header.

- - - - -
6a3fd8a0 by Étienne Mollier at 2025-02-24T21:24:32+01:00
d/changelog: ready for upload to unstable.

- - - - -


10 changed files:

- debian/changelog
- debian/control
- debian/patches/010_configure_in.diff
- debian/patches/020_makefile_pl_in.diff
- debian/patches/030_makefile_in.diff
- debian/patches/do_not_remove_files_from_orig_source.diff
- debian/patches/fix_linker_libs.diff
- debian/patches/fix_pod2man_errors.diff
- debian/patches/hardening.patch
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+g2 (0.72-13) unstable; urgency=medium
+
+  * Team upload.
+  * d/rules: build against standard C 2017.
+    This is a workaround, but the package died upstream long ago.
+    (Closes: #1096666)
+  * d/control: declare compliance to standards version 4.7.1.
+  * d/patches/*: normalise dep3 header.
+
+ -- Étienne Mollier <emollier at debian.org>  Mon, 24 Feb 2025 21:24:11 +0100
+
 g2 (0.72-12) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -10,7 +10,7 @@ Build-Depends: debhelper-compat (= 13),
                libgd-dev,
                perl-xs-dev,
                xutils-dev
-Standards-Version: 4.6.2
+Standards-Version: 4.7.1
 Vcs-Browser: https://salsa.debian.org/med-team/g2
 Vcs-Git: https://salsa.debian.org/med-team/g2.git
 Homepage: https://github.com/danielrmeyer/g2/


=====================================
debian/patches/010_configure_in.diff
=====================================
@@ -1,7 +1,7 @@
 Author: Aurelien Jarno <aurel32 at debian.org>,
         Samuel Thibault <sthibault at debian.org>
-LastChanged: Sat, 9 Nov 2013 23:53:01 +0100
-BugsDebian: http://bugs.debian.org/336952,
+Last-Update: 2013-11-09
+Bug-Debian: http://bugs.debian.org/336952,
             http://bugs.debian.org/729186
 Description: Build on FreeBSD and Hurd
 


=====================================
debian/patches/020_makefile_pl_in.diff
=====================================
@@ -1,5 +1,5 @@
 Author: Andreas Tille
-Last-Update: 2011-02-23 13:11:43 +0000
+Last-Update: 2011-02-23
 Description: Fix -L path and add missing include directives
 
 --- a/g2_perl/Makefile.PL.in


=====================================
debian/patches/030_makefile_in.diff
=====================================
@@ -1,5 +1,5 @@
 Author: Andreas Tille
-Last-Update: 2011-02-23 13:11:43 +0000
+Last-Update: 2011-02-23
 Description: Fix clean, build and install targets
 
 --- a/Makefile.in


=====================================
debian/patches/do_not_remove_files_from_orig_source.diff
=====================================
@@ -1,5 +1,5 @@
 Author:  Andreas Tille <tille at debian.org>
-Date:  Wed, 23 Feb 2011 07:39:12 +0100
+Last-Update:  2011-02-23
 Description: Upstream clean target removes files which are provided
     in downloadable source tarball.  Just keep these files
 


=====================================
debian/patches/fix_linker_libs.diff
=====================================
@@ -1,5 +1,5 @@
 Author: Andreas Tille
-Last-Update: 2013-11-10 07:26:19 +0000
+Last-Update: 2013-11-10
 Description: Add missing libs for linker
 
 --- a/configure.in


=====================================
debian/patches/fix_pod2man_errors.diff
=====================================
@@ -1,5 +1,5 @@
 Author: Andreas Tille
-Last-Update: 2013-11-10 07:26:19 +0000
+Last-Update: 2013-11-10
 Description: Fix manpage
 
 --- a/g2_perl/G2.pm


=====================================
debian/patches/hardening.patch
=====================================
@@ -1,5 +1,5 @@
 Author: Andreas Tille <tille at debian.org>
-LastChanged: Sun, 10 Nov 2013 08:12:07 +0100
+Last-Update: 2013-11-10
 Description: Providing CFLAGS from outside overrides CFLAGS setting
  completely whic leads to build failure.  So rather provide DEBCFLAGS
  which is added to CFLAGS


=====================================
debian/rules
=====================================
@@ -10,6 +10,10 @@ pkglib=libg20
 pkgdev=libg2-dev
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+# Using C 2023 and beyond causes build failures problematic to get fixed
+# properly, because the structure dynamically accomodates for functions
+# with variable number of arguments.  See #1096666.
+export DEB_CFLAGS_MAINT_APPEND = -std=gnu17
 
 %:
 	dh $@



View it on GitLab: https://salsa.debian.org/med-team/g2/-/compare/cd5bb6f1dbbcd2334bfe616d72da2980cf99916e...6a3fd8a0f6b024cf95ce00cf39f807b925ed348d

-- 
View it on GitLab: https://salsa.debian.org/med-team/g2/-/compare/cd5bb6f1dbbcd2334bfe616d72da2980cf99916e...6a3fd8a0f6b024cf95ce00cf39f807b925ed348d
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/20250224/9963e873/attachment-0001.htm>


More information about the debian-med-commit mailing list