Hi all, I prepared a patch to fix this bug. And I plan to NMU the package. Please review the patches. I'll start NMU after 10 days if no one complains. And I'll upload to DELAY/10 queue.
Yours, Paul
diff -Nru hasciicam-1.1.2/debian/changelog hasciicam-1.1.2/debian/changelog --- hasciicam-1.1.2/debian/changelog 2022-12-12 02:40:02.000000000 +0800 +++ hasciicam-1.1.2/debian/changelog 2024-08-10 03:16:40.000000000 +0800 @@ -1,3 +1,11 @@ +hasciicam (1.1.2-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Port to GCC-14 (Closes: #1075060) + - Add debian/patches/gcc-14.patch + + -- Ying-Chun Liu (PaulLiu) <paul...@debian.org> Sat, 10 Aug 2024 03:16:40 +0800 + hasciicam (1.1.2-1.1) unstable; urgency=low * Non-maintainer upload. diff -Nru hasciicam-1.1.2/debian/patches/gcc-14.patch hasciicam-1.1.2/debian/patches/gcc-14.patch --- hasciicam-1.1.2/debian/patches/gcc-14.patch 1970-01-01 08:00:00.000000000 +0800 +++ hasciicam-1.1.2/debian/patches/gcc-14.patch 2024-08-10 03:16:19.000000000 +0800 @@ -0,0 +1,18 @@ +Description: Port to GCC-14 + GCC-14 checks the type of pointers. We add const to html_escapes to + avoid the error. +Bug-Debian: http://bugs.debian.org/1075060 +Author: Ying-Chun Liu (PaulLiu) <paul...@debian.org> +Index: hasciicam-1.1.2/src/hasciicam.c +=================================================================== +--- hasciicam-1.1.2.orig/src/hasciicam.c ++++ hasciicam-1.1.2/src/hasciicam.c +@@ -172,7 +172,7 @@ struct aa_savedata ascii_save; + + char hascii_header[1024]; + +-char *html_escapes[] = ++const char *html_escapes[] = + { "<", "<", ">", ">", "&", "&", NULL }; + + struct aa_format hascii_format = { diff -Nru hasciicam-1.1.2/debian/patches/series hasciicam-1.1.2/debian/patches/series --- hasciicam-1.1.2/debian/patches/series 2011-04-26 21:29:30.000000000 +0800 +++ hasciicam-1.1.2/debian/patches/series 2024-08-10 03:11:30.000000000 +0800 @@ -1 +1,2 @@ debian-changes-1.1.2-1 +gcc-14.patch
OpenPGP_0x44173FA13D058888.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature