[packages/libowfat] Up to 0.34

arekm arekm at pld-linux.org
Sun Mar 15 15:13:26 CET 2026


commit e68ec9435aa61ec2db0399ac03ff7daf900987df
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Mar 15 15:13:19 2026 +0100

    Up to 0.34

 libowfat-DESTDIR.patch | 53 ++++++++------------------------------------------
 libowfat.spec          | 28 +++++++++++++++++++-------
 2 files changed, 29 insertions(+), 52 deletions(-)
---
diff --git a/libowfat.spec b/libowfat.spec
index b89d9c0..9ccc3ed 100644
--- a/libowfat.spec
+++ b/libowfat.spec
@@ -1,14 +1,14 @@
 Summary:	libowfat - reimplement libdjb
 Summary(pl.UTF-8):	libowfat - reimplementacja libdjb
 Name:		libowfat
-Version:	0.27
+Version:	0.34
 Release:	1
 License:	GPL v2
 Group:		Applications
-Source0:	http://dl.fefe.de/%{name}-%{version}.tar.bz2
-# Source0-md5:	10d007d8f610edfebe890a66884a336e
+Source0:	https://www.fefe.de/libowfat/%{name}-%{version}.tar.xz
+# Source0-md5:	ca7ca7c14e66cc148ac663a29126f4d0
 Patch0:		%{name}-DESTDIR.patch
-URL:		http://www.fefe.de/libowfat/
+URL:		https://www.fefe.de/libowfat/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -26,7 +26,7 @@ libowfat to biblioteka ogólnego przeznaczenia zawierająca interfejsy
 %build
 %{__make} \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -I." \
+	CFLAGS="%{rpmcflags} -std=gnu17 -I." \
 	DIET=
 
 %install
@@ -34,8 +34,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
-	LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
-	INCLUDEDIR=$RPM_BUILD_ROOT%{_includedir}/libowfat
+	LIBDIR=%{_libdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -45,18 +44,31 @@ rm -rf $RPM_BUILD_ROOT
 %doc CHANGES README TODO
 %{_libdir}/libowfat.a
 %{_includedir}/libowfat
+%{_mandir}/man3/add_of.3*
 %{_mandir}/man3/array*.3*
+%{_mandir}/man3/assign.3*
+%{_mandir}/man3/bs_capacityassert.3*
 %{_mandir}/man3/buffer*.3*
 %{_mandir}/man3/byte_*.3*
+%{_mandir}/man3/carp.3*
+%{_mandir}/man3/carpsys.3*
 %{_mandir}/man3/case_*.3*
 %{_mandir}/man3/cdb_*.3*
+%{_mandir}/man3/critbit0_*.3*
+%{_mandir}/man3/die.3*
+%{_mandir}/man3/diesys.3*
 %{_mandir}/man3/dns_*.3*
+%{_mandir}/man3/errmsg_iam.3*
 %{_mandir}/man3/fmt_*.3*
+%{_mandir}/man3/iarray_*.3*
 %{_mandir}/man3/imult*.3*
 %{_mandir}/man3/io_*.3*
 %{_mandir}/man3/iob_*.3*
+%{_mandir}/man3/iom_*.3*
 %{_mandir}/man3/iopause.3*
 %{_mandir}/man3/mmap_*.3*
+%{_mandir}/man3/msg.3*
+%{_mandir}/man3/msgsys.3*
 %{_mandir}/man3/ndelay_*.3*
 %{_mandir}/man3/open*.3*
 %{_mandir}/man3/range*.3*
@@ -65,8 +77,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/socket_*.3*
 %{_mandir}/man3/str_*.3*
 %{_mandir}/man3/stralloc_*.3*
+%{_mandir}/man3/sub_of.3*
 %{_mandir}/man3/tai_*.3*
 %{_mandir}/man3/taia_*.3*
 %{_mandir}/man3/uint16_*.3*
 %{_mandir}/man3/uint32_*.3*
+%{_mandir}/man3/uint64_*.3*
 %{_mandir}/man3/umult*.3*
diff --git a/libowfat-DESTDIR.patch b/libowfat-DESTDIR.patch
index a85ec78..25be6d0 100644
--- a/libowfat-DESTDIR.patch
+++ b/libowfat-DESTDIR.patch
@@ -1,67 +1,30 @@
-diff -ur libowfat-0.24/GNUmakefile libowfat-0.24.new/GNUmakefile
---- libowfat-0.24/GNUmakefile	2005-05-12 10:03:38.000000000 +0200
-+++ libowfat-0.24.new/GNUmakefile	2006-08-13 19:19:21.276995473 +0200
+--- libowfat-0.34-orig/GNUmakefile	2024-10-31 14:42:37.000000000 +0100
++++ libowfat-0.34/GNUmakefile	2026-03-15 12:48:28.363548753 +0100
 @@ -4,10 +4,10 @@
  # in /opt/diet, where they are in the default search path for my diet libc
  # work but don't conflict with anything there.  YMMV.
  
 -prefix=/opt/diet
-+prefix=${DESTDIR}/usr
++prefix=/usr
  LIBDIR=${prefix}/lib
  INCLUDEDIR=${prefix}/include
 -MAN3DIR=${prefix}/man/man3
 +MAN3DIR=${prefix}/share/man/man3
  
  LIBS=byte.a fmt.a scan.a str.a uint.a open.a stralloc.a unix.a socket.a \
- buffer.a mmap.a taia.a tai.a dns.a case.a mult.a array.a io.a textcode.a
-@@ -39,7 +39,7 @@
- ifneq ($(DIET),)
- DIETLIBPATH=$(shell $(DIET) -L $(CC))
- ifneq ($(wildcard $(DIETLIBPATH)/*ibc.a),)
--LIBDIR=$(DIETLIBPATH)
-+LIBDIR=${prefix}/lib
- endif
- ifneq ($(DEBUG),1)
- DIET+=-Os
-@@ -155,9 +155,9 @@
- 
- install: libowfat.a
- 	install -d $(INCLUDEDIR) $(MAN3DIR) $(LIBDIR)
--	install -m 644 $(INCLUDES) $(INCLUDEDIR)
--	install -m 644 $(wildcard */*.3) $(MAN3DIR)
--	install -m 644 libowfat.a $(LIBDIR)
-+	install $(INCLUDES) $(INCLUDEDIR)
-+	install $(wildcard */*.3) $(MAN3DIR)
-+	install libowfat.a $(LIBDIR)
- 
- uninstall:
- 	rm -f $(patsubst %.h,$(INCLUDEDIR)/%.h,$(INCLUDES))
-diff -ur libowfat-0.24/Makefile libowfat-0.24.new/Makefile
---- libowfat-0.24/Makefile	2006-08-13 19:02:37.796690935 +0200
-+++ libowfat-0.24.new/Makefile	2006-08-13 19:07:26.356212631 +0200
+ buffer.a mmap.a taia.a tai.a dns.a case.a mult.a array.a io.a \
+--- libowfat-0.34-orig/Makefile	2024-10-31 14:42:49.000000000 +0100
++++ libowfat-0.34/Makefile	2026-03-15 12:48:28.364187601 +0100
 @@ -5,10 +5,10 @@
  # in /opt/diet, where they are in the default search path for my diet libc
  # work but don't conflict with anything there.  YMMV.
  
 -prefix=/opt/diet
-+prefix=${DESTDIR}/usr
++prefix=/usr
  LIBDIR=${prefix}/lib
  INCLUDEDIR=${prefix}/include
 -MAN3DIR=${prefix}/man/man3
 +MAN3DIR=${prefix}/share/man/man3
  
  LIBS=byte.a fmt.a scan.a str.a uint.a open.a stralloc.a unix.a socket.a \
- buffer.a mmap.a taia.a tai.a dns.a case.a mult.a array.a io.a textcode.a
-@@ -634,9 +634,9 @@
- 
- install: libowfat.a
- 	install -d $(INCLUDEDIR) $(MAN3DIR) $(LIBDIR)
--	install -m 644 $(INCLUDES) $(INCLUDEDIR)
--	install -m 644 $(wildcard */*.3) $(MAN3DIR)
--	install -m 644 libowfat.a $(LIBDIR)
-+	install $(INCLUDES) $(INCLUDEDIR)
-+	install $(wildcard */*.3) $(MAN3DIR)
-+	install libowfat.a $(LIBDIR)
- 
- uninstall:
- 	rm -f $(patsubst %.h,$(INCLUDEDIR)/%.h,$(INCLUDES))
+ buffer.a mmap.a taia.a tai.a dns.a case.a mult.a array.a io.a \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libowfat.git/commitdiff/e68ec9435aa61ec2db0399ac03ff7daf900987df



More information about the pld-cvs-commit mailing list