[packages/libhome] Rel 10
arekm
arekm at pld-linux.org
Mon Nov 24 19:56:51 CET 2025
commit fdfaeee753d7a72e7497d817cc5c32d566a5bb06
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Nov 24 19:56:46 2025 +0100
Rel 10
build.patch | 11 +++++++++++
libhome.spec | 6 ++++--
2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/libhome.spec b/libhome.spec
index 66ae0e0..eea3381 100644
--- a/libhome.spec
+++ b/libhome.spec
@@ -2,13 +2,14 @@ Summary: libhome - a configurable getpwnam(3) emulator
Summary(pl.UTF-8): libhome - konfigurowalny emulator funkcji getpwnam(3)
Name: libhome
Version: 0.10.2
-Release: 9
+Release: 10
License: LGPL v2+
Group: Libraries
Source0: https://downloads.sourceforge.net/pll/%{name}-%{version}.tar.gz
# Source0-md5: f7129ae34d3c44d38ac785e7a1f7d509
Patch0: %{name}-DESTDIR.patch
Patch1: %{name}-db53.patch
+Patch2: build.patch
URL: https://pll.sourceforge.net/
BuildRequires: autoconf >= 2.53
BuildRequires: automake
@@ -68,6 +69,7 @@ Statyczna biblioteka libhome.
%setup -q
%patch -P0 -p1
%patch -P1 -p1
+%patch -P2 -p1
%build
%{__libtoolize}
@@ -84,7 +86,7 @@ Statyczna biblioteka libhome.
--with-proxy
%{__make} \
- CFLAGS="%{rpmcflags}"
+ CFLAGS="%{rpmcflags} -DLDAP_DEPRECATED=1 -std=gnu17"
%install
rm -rf $RPM_BUILD_ROOT
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..82bcec4
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,11 @@
+--- libhome-0.10.2/home_finger.c~ 2009-05-10 18:02:14.000000000 +0200
++++ libhome-0.10.2/home_finger.c 2025-11-24 19:54:14.203461062 +0100
+@@ -37,7 +37,7 @@ static char const rcsid[] UNUSED =
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <errno.h>
+-
++#include <string.h>
+
+ extern int optind;
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libhome.git/commitdiff/fdfaeee753d7a72e7497d817cc5c32d566a5bb06
More information about the pld-cvs-commit
mailing list