Control: tags 1098143 + patch
Control: tags 1098143 + pending

Dear maintainer,

I've prepared an NMU for xine-ui (versioned as 0.99.14+hg20240403-1.1) 
and uploaded it to DELAYED/14. Please feel free to tell me if I should 
cancel it.

The upstream fix is likely
  
https://sourceforge.net/p/xine/xine-ui/ci/4f1829bedb9577003ff69995221352ce58721898/
but for an NMU I went for the shortest fix instead.

cu
Adrian
diffstat for xine-ui-0.99.14+hg20240403 xine-ui-0.99.14+hg20240403

 changelog            |    7 +++++++
 patches/gcc-15.patch |   14 ++++++++++++++
 patches/series       |    1 +
 3 files changed, 22 insertions(+)

diff -Nru xine-ui-0.99.14+hg20240403/debian/changelog xine-ui-0.99.14+hg20240403/debian/changelog
--- xine-ui-0.99.14+hg20240403/debian/changelog	2024-04-03 11:19:32.000000000 +0300
+++ xine-ui-0.99.14+hg20240403/debian/changelog	2025-10-03 21:50:33.000000000 +0300
@@ -1,3 +1,10 @@
+xine-ui (0.99.14+hg20240403-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1098143)
+
+ -- Adrian Bunk <[email protected]>  Fri, 03 Oct 2025 21:50:33 +0300
+
 xine-ui (0.99.14+hg20240403-1) unstable; urgency=high
 
   * Update xine-ui to the code base from 03.04.2024.
diff -Nru xine-ui-0.99.14+hg20240403/debian/patches/gcc-15.patch xine-ui-0.99.14+hg20240403/debian/patches/gcc-15.patch
--- xine-ui-0.99.14+hg20240403/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ xine-ui-0.99.14+hg20240403/debian/patches/gcc-15.patch	2025-10-03 21:50:33.000000000 +0300
@@ -0,0 +1,14 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1098143
+
+--- xine-ui-0.99.14+hg20240403.orig/src/common/getopt.h
++++ xine-ui-0.99.14+hg20240403/src/common/getopt.h
+@@ -133,7 +133,6 @@ struct option
+    errors, only prototype getopt for the GNU C library.  */
+ extern int getopt (int __argc, char *const *__argv, const char *__shortopts);
+ # else /* not __GNU_LIBRARY__ */
+-extern int getopt ();
+ # endif /* __GNU_LIBRARY__ */
+ 
+ # ifndef __need_getopt
diff -Nru xine-ui-0.99.14+hg20240403/debian/patches/series xine-ui-0.99.14+hg20240403/debian/patches/series
--- xine-ui-0.99.14+hg20240403/debian/patches/series	2024-04-03 11:19:32.000000000 +0300
+++ xine-ui-0.99.14+hg20240403/debian/patches/series	2025-10-03 21:50:33.000000000 +0300
@@ -1,2 +1,3 @@
 01-fix-lirc-pkg-config.diff
 07-undefined-macro.diff
+gcc-15.patch

Reply via email to