[packages/libnih] Rel 4

arekm arekm at pld-linux.org
Sun Mar 15 11:48:36 CET 2026


commit 6af8feb63c80b1ae7a58af44f28ac31cd4b4f4bf
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Mar 15 11:48:29 2026 +0100

    Rel 4

 gcc10-fno-common.patch | 11 +++++++++++
 libnih.spec            |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/libnih.spec b/libnih.spec
index ac18eb6..d13ccba 100644
--- a/libnih.spec
+++ b/libnih.spec
@@ -13,12 +13,13 @@ Summary:	Lightweight application development library
 Summary(pl.UTF-8):	Lekka biblioteka do tworzenia aplikacji
 Name:		libnih
 Version:	1.0.3
-Release:	3
+Release:	4
 License:	GPL v2
 Group:		Libraries
 Source0:	https://launchpad.net/libnih/1.0/%{version}/+download/%{name}-%{version}.tar.gz
 # Source0-md5:	db7990ce55e01daffe19006524a1ccb0
 Patch0:		pkgconfig-libdir.patch
+Patch1:		gcc10-fno-common.patch
 URL:		https://launchpad.net/libnih/
 BuildRequires:	autoconf >= 2.62
 BuildRequires:	automake >= 1:1.11
@@ -83,6 +84,7 @@ Statyczne biblioteki NIH.
 %prep
 %setup -q
 %patch -P0 -p1
+%patch -P1 -p1
 
 %build
 %{__gettextize}
diff --git a/gcc10-fno-common.patch b/gcc10-fno-common.patch
new file mode 100644
index 0000000..17e483d
--- /dev/null
+++ b/gcc10-fno-common.patch
@@ -0,0 +1,11 @@
+--- libnih-1.0.3/nih-dbus-tool/output.h.orig	2009-06-23 02:32:48.000000000 +0000
++++ libnih-1.0.3/nih-dbus-tool/output.h	2024-01-01 00:00:00.000000000 +0000
+@@ -27,7 +27,7 @@
+
+ NIH_BEGIN_EXTERN
+
+-char *output_package;
++extern char *output_package;
+
+ int   output          (const char *source_path, int source_fd,
+ 		       const char *header_path, int header_fd,
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libnih.git/commitdiff/6af8feb63c80b1ae7a58af44f28ac31cd4b4f4bf



More information about the pld-cvs-commit mailing list