Control: tags 1065972 + patch
Control: tags 1065972 + pending

Dear maintainer,

I've prepared an NMU for pngphoon (versioned as 1.3-3.1) and uploaded it to
DELAYED/XX. Please feel free to tell me if I should delay it longer.

Regards.
diff -Nru pngphoon-1.3/debian/changelog pngphoon-1.3/debian/changelog
--- pngphoon-1.3/debian/changelog	2022-02-09 09:34:00.000000000 -0300
+++ pngphoon-1.3/debian/changelog	2024-11-15 02:54:48.000000000 -0300
@@ -1,3 +1,13 @@
+pngphoon (1.3-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * d/patches: Fix error conflicting types for ‘time’; have ‘long int()’.
+    This patch fixes a FTBFS for non 64 bits builds of any architecture.
+    (Closes: #1065972)
+  * d/watch: Fix error 404 for get new versions or tarballs.
+
+ -- Leandro Cunha <leandrocunha016@gmail.com>  Fri, 15 Nov 2024 02:54:48 -0300
+
 pngphoon (1.3-3) unstable; urgency=medium
 
   * d/copyright: Update years.
diff -Nru pngphoon-1.3/debian/patches/Fix-FTBFS-time_t.patch pngphoon-1.3/debian/patches/Fix-FTBFS-time_t.patch
--- pngphoon-1.3/debian/patches/Fix-FTBFS-time_t.patch	1969-12-31 21:00:00.000000000 -0300
+++ pngphoon-1.3/debian/patches/Fix-FTBFS-time_t.patch	2024-11-15 02:54:48.000000000 -0300
@@ -0,0 +1,21 @@
+Description: Fix error conflicting types for ‘time’; have ‘long int()’
+ This patch fixes a FTBFS for non 64 bits builds of any architecture.
+Author: Leandro Cunha <leandrocunha016@gmail.com>
+
+---
+ tws.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tws.c b/tws.c
+index cbafeb2..3d1dbe0 100644
+--- a/tws.c
++++ b/tws.c
+@@ -69,7 +69,7 @@ register struct tm* tm;
+       return (struct tws*) 0;
+    tw.tw_flags = TW_NULL;
+    
+-   tm = localtime( clock );
++   tm = localtime((time_t *) clock);
+    tw.tw_sec  = tm->tm_sec;
+    tw.tw_min  = tm->tm_min;
+    tw.tw_hour = tm->tm_hour;
diff -Nru pngphoon-1.3/debian/patches/series pngphoon-1.3/debian/patches/series
--- pngphoon-1.3/debian/patches/series	1969-12-31 21:00:00.000000000 -0300
+++ pngphoon-1.3/debian/patches/series	2024-11-15 02:54:48.000000000 -0300
@@ -0,0 +1 @@
+Fix-FTBFS-time_t.patch
diff -Nru pngphoon-1.3/debian/watch pngphoon-1.3/debian/watch
--- pngphoon-1.3/debian/watch	2022-01-31 18:59:26.000000000 -0300
+++ pngphoon-1.3/debian/watch	2024-11-15 02:46:52.000000000 -0300
@@ -1,4 +1,4 @@
 version=4
-opts="searchmode=plain" \
+opts=filenamemangle=s/.*?\/(\d\S+)\/archive\.tar\.gz/@PACKAGE@-$1\.tar\.gz/ \
 https://git.h8u.de/svolli/pngphoon/tags .*/release_?@ANY_VERSION@@ARCHIVE_EXT@
 

Reply via email to