Control: tags 1145965 + patch
Control: tags 1145965 + pending

Dear maintainer,

I've prepared an NMU for obs-noise (versioned as 1.0.0-3.1) and uploaded 
it to DELAYED/14. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for obs-noise-1.0.0 obs-noise-1.0.0

 changelog                |    7 +++++++
 patches/glibc-2.43.patch |   35 +++++++++++++++++++++++++++++++++++
 patches/series           |    1 +
 3 files changed, 43 insertions(+)

diff -Nru obs-noise-1.0.0/debian/changelog obs-noise-1.0.0/debian/changelog
--- obs-noise-1.0.0/debian/changelog	2026-02-12 13:02:18.000000000 +0200
+++ obs-noise-1.0.0/debian/changelog	2026-09-25 21:33:56.000000000 +0300
@@ -1,3 +1,10 @@
+obs-noise (1.0.0-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with glibc 2.43. (Closes: #1145965)
+
+ -- Adrian Bunk <[email protected]>  Fri, 25 Sep 2026 21:33:56 +0300
+
 obs-noise (1.0.0-3) unstable; urgency=medium
 
   * debian/control:
diff -Nru obs-noise-1.0.0/debian/patches/glibc-2.43.patch obs-noise-1.0.0/debian/patches/glibc-2.43.patch
--- obs-noise-1.0.0/debian/patches/glibc-2.43.patch	1970-01-01 02:00:00.000000000 +0200
+++ obs-noise-1.0.0/debian/patches/glibc-2.43.patch	2026-09-25 21:33:56.000000000 +0300
@@ -0,0 +1,35 @@
+Description: Fix FTBFS with glibc 2.43
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1145965
+
+--- obs-noise-1.0.0.orig/src/obs-noise-source.c
++++ obs-noise-1.0.0/src/obs-noise-source.c
+@@ -1577,7 +1577,7 @@ char *load_noise_shader_from_file(noise_
+ 	struct dstr shader_file;
+ 	dstr_init(&shader_file);
+ 	{
+-		char *pos = strrchr(file_name, '/');
++		const char *pos = strrchr(file_name, '/');
+ 		const size_t length = pos - file_name + 1;
+ 		struct dstr include_path = {0};
+ 		dstr_ncopy(&include_path, file_name, length);
+@@ -1595,7 +1595,7 @@ char *load_noise_shader_from_file(noise_
+ 		line_i++;
+ 		if (strncmp(line, "#include", 8) == 0) {
+ 				// Open the included file, place contents here.
+-				char *pos = strrchr(file_name, '/');
++				const char *pos = strrchr(file_name, '/');
+ 				const size_t length = pos - file_name + 1;
+ 				struct dstr include_path = {0};
+ 				dstr_ncopy(&include_path, file_name, length);
+--- obs-noise-1.0.0.orig/src/obs-utils.c
++++ obs-noise-1.0.0/src/obs-utils.c
+@@ -108,7 +108,7 @@ char *load_shader_from_file(const char *
+ 		line_i++;
+ 		if (strncmp(line, "#include", 8) == 0) {
+ 			// Open the included file, place contents here.
+-			char *pos = strrchr(file_name, '/');
++			const char *pos = strrchr(file_name, '/');
+ 			const size_t length = pos - file_name + 1;
+ 			struct dstr include_path = {0};
+ 			dstr_ncopy(&include_path, file_name, length);
diff -Nru obs-noise-1.0.0/debian/patches/series obs-noise-1.0.0/debian/patches/series
--- obs-noise-1.0.0/debian/patches/series	2026-02-12 13:02:18.000000000 +0200
+++ obs-noise-1.0.0/debian/patches/series	2026-09-25 21:33:56.000000000 +0300
@@ -1,3 +1,4 @@
 010_change-project-name.patch
 020_add-pt-BR.patch
 030_fix-spelling.patch
+glibc-2.43.patch

Reply via email to