Control: tags 1066367 + patch
Control: tags 1066367 + pending

Dear maintainer,

I've prepared an NMU for libsearpc (versioned as 
3.3.0+really3.3+git20230527.783141f-3.2) and
uploaded it to unstable.

Regards.


-- 
WBR, wRAR
diff -Nru libsearpc-3.3.0+really3.3+git20230527.783141f/debian/changelog libsearpc-3.3.0+really3.3+git20230527.783141f/debian/changelog
--- libsearpc-3.3.0+really3.3+git20230527.783141f/debian/changelog	2024-02-28 23:11:14.000000000 +0500
+++ libsearpc-3.3.0+really3.3+git20230527.783141f/debian/changelog	2024-03-16 00:36:38.000000000 +0500
@@ -1,3 +1,10 @@
+libsearpc (3.3.0+really3.3+git20230527.783141f-3.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with -Werror=implicit-function-declaration (Closes: #1066367).
+
+ -- Andrey Rakhmatullin <w...@debian.org>  Sat, 16 Mar 2024 00:36:38 +0500
+
 libsearpc (3.3.0+really3.3+git20230527.783141f-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libsearpc-3.3.0+really3.3+git20230527.783141f/debian/patches/fix-implicit-function-declaration.patch libsearpc-3.3.0+really3.3+git20230527.783141f/debian/patches/fix-implicit-function-declaration.patch
--- libsearpc-3.3.0+really3.3+git20230527.783141f/debian/patches/fix-implicit-function-declaration.patch	1970-01-01 05:00:00.000000000 +0500
+++ libsearpc-3.3.0+really3.3+git20230527.783141f/debian/patches/fix-implicit-function-declaration.patch	2024-03-16 00:35:16.000000000 +0500
@@ -0,0 +1,36 @@
+From d78aede0e4c559fa3dbce0e64ffc943da47fe76c Mon Sep 17 00:00:00 2001
+From: orbea <or...@riseup.net>
+Date: Sat, 8 Apr 2023 17:13:55 -0700
+Subject: [PATCH] Fix -Werror=implicit-function-declaration
+
+unistd.h is needed for write, close and read
+---
+ demo/searpc-demo-packet.h | 1 +
+ demo/test-object.h        | 2 ++
+ 2 files changed, 3 insertions(+)
+
+diff --git a/demo/searpc-demo-packet.h b/demo/searpc-demo-packet.h
+index 926f36b..6552396 100644
+--- a/demo/searpc-demo-packet.h
++++ b/demo/searpc-demo-packet.h
+@@ -4,6 +4,7 @@
+ 
+ #include <stdint.h>
+ #include <stdio.h>
++#include <unistd.h>
+ #include <errno.h>
+ 
+ #ifdef WIN32
+diff --git a/demo/test-object.h b/demo/test-object.h
+index f3f7589..a6d8b5d 100644
+--- a/demo/test-object.h
++++ b/demo/test-object.h
+@@ -4,6 +4,8 @@
+ #include <glib.h>
+ #include <glib-object.h>
+ 
++GType test_object_get_type (void);
++
+ #define TEST_OBJECT_TYPE            (test_object_get_type())
+ #define TEST_OBJECT(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), TEST_OBJECT_TYPE, TestObject))
+ #define IS_TEST_OBJCET(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TEST_OBJCET_TYPE))
diff -Nru libsearpc-3.3.0+really3.3+git20230527.783141f/debian/patches/series libsearpc-3.3.0+really3.3+git20230527.783141f/debian/patches/series
--- libsearpc-3.3.0+really3.3+git20230527.783141f/debian/patches/series	2023-06-30 15:18:13.000000000 +0500
+++ libsearpc-3.3.0+really3.3+git20230527.783141f/debian/patches/series	2024-03-16 00:35:49.000000000 +0500
@@ -3,3 +3,4 @@
 0003-Use-argparse-in-searpc-codegen-for-basic-help.patch
 0004-Use-g_realloc-in-named_pipe_client_handler.patch
 #0005-Fix-memory-leak.patch
+fix-implicit-function-declaration.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to