Control: tags 1065764 + patch
Control: tags 1065764 + pending

Dear maintainer,

I've prepared an NMU for libstb (versioned as 0.0~git20230129.5736b15+ds-1.2) 
and
uploaded it to DELAYED/3. Please feel free to tell me if I
should delay it longer.

Regards.


-- 
WBR, wRAR
diff -Nru libstb-0.0~git20230129.5736b15+ds/debian/changelog libstb-0.0~git20230129.5736b15+ds/debian/changelog
--- libstb-0.0~git20230129.5736b15+ds/debian/changelog	2024-02-29 00:04:59.000000000 +0500
+++ libstb-0.0~git20230129.5736b15+ds/debian/changelog	2024-03-12 21:40:23.000000000 +0500
@@ -1,3 +1,10 @@
+libstb (0.0~git20230129.5736b15+ds-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with -Werror=implicit-function-declaration (Closes: #1065764).
+
+ -- Andrey Rakhmatullin <w...@debian.org>  Tue, 12 Mar 2024 21:40:23 +0500
+
 libstb (0.0~git20230129.5736b15+ds-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libstb-0.0~git20230129.5736b15+ds/debian/patches/fix-implicit-function-declaration.patch libstb-0.0~git20230129.5736b15+ds/debian/patches/fix-implicit-function-declaration.patch
--- libstb-0.0~git20230129.5736b15+ds/debian/patches/fix-implicit-function-declaration.patch	1970-01-01 05:00:00.000000000 +0500
+++ libstb-0.0~git20230129.5736b15+ds/debian/patches/fix-implicit-function-declaration.patch	2024-03-12 21:40:23.000000000 +0500
@@ -0,0 +1,29 @@
+Description: Add missing header includes.
+Author: Andrey Rakhmatullin <w...@debian.org>
+Bug-Debian: https://bugs.debian.org/1065764
+Last-Update: 2024-03-12
+Index: libstb-0.0~git20230129.5736b15+ds/stb_divide.h
+===================================================================
+--- libstb-0.0~git20230129.5736b15+ds.orig/stb_divide.h
++++ libstb-0.0~git20230129.5736b15+ds/stb_divide.h
+@@ -102,6 +102,8 @@ extern int stb_mod_eucl (int value_to_be
+ }
+ #endif
+ 
++#include <stdlib.h>
++
+ #ifdef STB_DIVIDE_IMPLEMENTATION
+ 
+ #if defined(__STDC_VERSION) && __STDC_VERSION__ >= 19901
+Index: libstb-0.0~git20230129.5736b15+ds/stb_dxt.h
+===================================================================
+--- libstb-0.0~git20230129.5736b15+ds.orig/stb_dxt.h
++++ libstb-0.0~git20230129.5736b15+ds/stb_dxt.h
+@@ -83,6 +83,7 @@ STBDDEF void stb_compress_bc5_block(unsi
+ // #define STB_DXT_USE_ROUNDING_BIAS
+ 
+ #include <stdlib.h>
++#include <string.h>
+ 
+ #if !defined(STBD_FABS)
+ #include <math.h>
diff -Nru libstb-0.0~git20230129.5736b15+ds/debian/patches/series libstb-0.0~git20230129.5736b15+ds/debian/patches/series
--- libstb-0.0~git20230129.5736b15+ds/debian/patches/series	2023-02-08 08:28:47.000000000 +0500
+++ libstb-0.0~git20230129.5736b15+ds/debian/patches/series	2024-03-12 21:40:23.000000000 +0500
@@ -6,3 +6,4 @@
 0006-tests-Makefile-refactor.patch
 0007-tests-image_test.c-use-library.patch
 0008-tests-image_write_test.c-use-library.patch
+fix-implicit-function-declaration.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to