libbsd: Update to 0.11.8

just a patch refresh
This commit is contained in:
Christoph Reiter 2024-01-13 09:17:10 +01:00
parent 7891e7e1ae
commit 8c1a886eb2
2 changed files with 15 additions and 23 deletions

View File

@ -1,23 +1,15 @@
diff -ur libbsd-0.11.7-orig/src/Makefile.am libbsd-0.11.7/src/Makefile.am
--- libbsd-0.11.7-orig/src/Makefile.am 2022-01-29 15:23:40.000000000 +0100
+++ libbsd-0.11.7/src/Makefile.am 2022-12-29 17:49:18.557304900 +0100
@@ -57,7 +57,7 @@
$(LIBBSD_LIBS) \
$(nil)
libbsd_la_LDFLAGS = \
- -version-number $(LIBBSD_ABI)
+ -version-number $(LIBBSD_ABI) -no-undefined
if HAVE_LINKER_VERSION_SCRIPT
libbsd_la_LDFLAGS += \
-Wl,--version-script=$(srcdir)/libbsd.map
@@ -83,7 +83,6 @@
fmtcheck.c \
fparseln.c \
fpurge.c \
- funopen.c \
getbsize.c \
getpeereid.c \
heapsort.c \
--- libbsd-0.11.8/configure.ac.orig 2024-01-13 09:30:22.077728400 +0100
+++ libbsd-0.11.8/configure.ac 2024-01-13 09:30:28.609678900 +0100
@@ -304,6 +304,9 @@
# On macOS we do not have fopencookie(), and cannot implement it.
need_funopen=no
],
+ [cygwin*], [
+ need_funopen=no
+ ],
)
AM_CONDITIONAL([HAVE_GETENTROPY], [test "x$ac_cv_func_getentropy" = "xyes"])
diff -ur libbsd-0.11.7-orig/src/getentropy.c libbsd-0.11.7/src/getentropy.c
--- libbsd-0.11.7-orig/src/getentropy.c 2018-05-22 17:58:24.000000000 +0200
+++ libbsd-0.11.7/src/getentropy.c 2022-12-29 17:42:12.869237000 +0100

View File

@ -1,7 +1,7 @@
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
pkgname=libbsd
pkgver=0.11.7
pkgver=0.11.8
pkgrel=1
pkgdesc='Provides useful functions commonly found on BSD systems like strlcpy()'
arch=('i686' 'x86_64')
@ -11,9 +11,9 @@ depends=('libmd')
makedepends=("gcc" "autotools" "make")
source=("https://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.asc}
"001-random-hackery.patch")
sha256sums=('9baa186059ebbf25c06308e9f991fda31f7183c0f24931826d83aa6abd8a0261'
sha256sums=('55fdfa2696fb4d55a592fa9ad14a9df897c7b0008ddb3b30c419914841f85f33'
'SKIP'
'f598c878c1ec81feae3edc562f014f5293b9b50f24ff227b3e9773297c973d13')
'2f7e99e894595364385b9861013505c5aa63f41618708b7c9bdfd98069d35079')
validpgpkeys=('4F3E74F436050C10F5696574B972BF3EA4AE57A3') # Guillem Jover
prepare() {