Package: uci2wb
Version: 4.1+git200714-1
Severity: normal
Tags: patch  pending


Dear maintainer,

I've prepared an NMU for uci2wb (versioned as 4.1+git200714-1.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

This fixes both #1089904 and #1071727 (ftbfs).

Chris

diff -Nru uci2wb-4.1+git200714/debian/changelog uci2wb-4.1+git200714/debian/changelog
--- uci2wb-4.1+git200714/debian/changelog	2020-07-14 13:03:59.000000000 +0200
+++ uci2wb-4.1+git200714/debian/changelog	2024-12-14 15:26:22.000000000 +0100
@@ -1,3 +1,12 @@
+uci2wb (4.1+git200714-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use strcasestr from libc instead of redefining it.
+    Fixes FTBFS. (Closes: #1071727)
+  * Stop using obsolete dh-buildinfo (Closes: #1089904)
+
+ -- Chris Hofstaedtler <z...@debian.org>  Sat, 14 Dec 2024 15:26:22 +0100
+
 uci2wb (4.1+git200714-1) unstable; urgency=medium
 
   * New upstream snapshot, fixes USI mode.
diff -Nru uci2wb-4.1+git200714/debian/patches/series uci2wb-4.1+git200714/debian/patches/series
--- uci2wb-4.1+git200714/debian/patches/series	2017-08-06 21:01:42.000000000 +0200
+++ uci2wb-4.1+git200714/debian/patches/series	2024-12-14 15:25:59.000000000 +0100
@@ -0,0 +1 @@
+use-glibc-strcasestr.patch
diff -Nru uci2wb-4.1+git200714/debian/patches/use-glibc-strcasestr.patch uci2wb-4.1+git200714/debian/patches/use-glibc-strcasestr.patch
--- uci2wb-4.1+git200714/debian/patches/use-glibc-strcasestr.patch	1970-01-01 01:00:00.000000000 +0100
+++ uci2wb-4.1+git200714/debian/patches/use-glibc-strcasestr.patch	2024-12-14 15:26:18.000000000 +0100
@@ -0,0 +1,15 @@
+use strcasestr from glibc, instead of redefining it.
+
+Index: uci2wb-4.1+git200714/UCI2WB.c
+===================================================================
+--- uci2wb-4.1+git200714.orig/UCI2WB.c
++++ uci2wb-4.1+git200714/UCI2WB.c
+@@ -60,8 +60,6 @@ int unit = 1, drawOffer, scores[99], mpv
+ 
+ FILE *toE, *fromE, *fromF;
+ 
+-char *strcasestr (char *p, char *q) { while(*p) { char *r=p++, *s=q; while(tolower(*r++) == tolower(*s) && *s) s++; if(!*s) return p-1; } return NULL; }
+-
+ #ifdef WIN32
+ WinPipe(HANDLE *hRd, HANDLE *hWr)
+ {

Reply via email to