Control: tags 1066465 + patch
Control: tags 1066465 + pending

Dear maintainer,

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

Regards.


-- 
WBR, wRAR
diff -Nru dcraw-9.28/debian/changelog dcraw-9.28/debian/changelog
--- dcraw-9.28/debian/changelog	2021-11-22 03:15:39.000000000 +0500
+++ dcraw-9.28/debian/changelog	2024-03-15 23:31:51.000000000 +0500
@@ -1,3 +1,10 @@
+dcraw (9.28-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with -Werror=implicit-function-declaration (Closes: #1066465).
+
+ -- Andrey Rakhmatullin <w...@debian.org>  Fri, 15 Mar 2024 23:31:51 +0500
+
 dcraw (9.28-3) unstable; urgency=medium
 
   * Written wrappers of fread(),fwrite(),fseek() library functions which
diff -Nru dcraw-9.28/debian/patches/fix-implicit-function-declaration.patch dcraw-9.28/debian/patches/fix-implicit-function-declaration.patch
--- dcraw-9.28/debian/patches/fix-implicit-function-declaration.patch	1970-01-01 05:00:00.000000000 +0500
+++ dcraw-9.28/debian/patches/fix-implicit-function-declaration.patch	2024-03-15 23:31:51.000000000 +0500
@@ -0,0 +1,41 @@
+Description: Add missing header includes.
+Author: Andrey Rakhmatullin <w...@debian.org>
+Bug-Debian: https://bugs.debian.org/1066465
+Last-Update: 2024-03-15
+
+Index: dcraw-9.28/fujiturn.c
+===================================================================
+--- dcraw-9.28.orig/fujiturn.c
++++ dcraw-9.28/fujiturn.c
+@@ -15,6 +15,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <fcntl.h>
++#include <arpa/inet.h>
+ 
+ #ifdef _16BIT
+ typedef unsigned short value;
+Index: dcraw-9.28/fuji_green.c
+===================================================================
+--- dcraw-9.28.orig/fuji_green.c
++++ dcraw-9.28/fuji_green.c
+@@ -11,6 +11,8 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <arpa/inet.h>
++#include <unistd.h>
+ 
+ #define ushort UshORt
+ typedef unsigned char uchar;
+Index: dcraw-9.28/Makefile.am
+===================================================================
+--- dcraw-9.28.orig/Makefile.am
++++ dcraw-9.28/Makefile.am
+@@ -14,5 +14,6 @@ dcfujiturn16_SOURCES = fujiturn.c
+ dcfujiturn16_CFLAGS = -D_16BIT
+ 
+ dcfujigreen_SOURCES = fuji_green.c
++dcfujigreen_CFLAGS = -D_XOPEN_SOURCE
+ 
+ dccleancrw_SOURCES = clean_crw.c
diff -Nru dcraw-9.28/debian/patches/series dcraw-9.28/debian/patches/series
--- dcraw-9.28/debian/patches/series	2021-11-22 03:15:39.000000000 +0500
+++ dcraw-9.28/debian/patches/series	2024-03-15 23:31:51.000000000 +0500
@@ -6,3 +6,4 @@
 906529.patch
 906530.patch
 iowrap.diff
+fix-implicit-function-declaration.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to