Update to xxhash-0.8.1

Changelog: https://github.com/Cyan4973/xxHash/blob/v0.8.1/CHANGELOG

Minor of shared lib has been bumped because of some additions
This commit is contained in:
bket 2021-12-03 05:10:25 +00:00
parent 4a2e46ddab
commit 1bc7eec0e3
3 changed files with 8 additions and 22 deletions

View File

@ -1,14 +1,13 @@
# $OpenBSD: Makefile,v 1.9 2020/12/07 05:19:19 bket Exp $
# $OpenBSD: Makefile,v 1.10 2021/12/03 05:10:25 bket Exp $
COMMENT = extremely fast non-cryptographic hash algorithm
GH_ACCOUNT = Cyan4973
GH_PROJECT = xxHash
GH_TAGNAME = v0.8.0
REVISION = 1
GH_TAGNAME = v0.8.1
PKGNAME = ${DISTNAME:L}
SHARED_LIBS = xxhash 0.2 # 0.7.4
SHARED_LIBS = xxhash 0.3 # 0.8.1
CATEGORIES = sysutils
@ -22,8 +21,6 @@ PERMIT_PACKAGE = Yes
WANTLIB = c
MAKE_FLAGS = CC="${CC}" \
CXX="${CXX}" \
CXXFLAGS="${CXXFLAGS}" \
SONAME_FLAGS= \
SHARED_EXT_VER="so.${LIBxxhash_VERSION}" \
V=1
@ -34,5 +31,6 @@ USE_GMAKE = Yes
DEBUG_PACKAGES = ${BUILD_PACKAGES}
ALL_TARGET = default
TEST_TARGET = check
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (xxHash-0.8.0.tar.gz) = cFTD69FpyXtkqS17mUq2PHDdU6BpdPH2MKt4LCjbD08=
SIZE (xxHash-0.8.0.tar.gz) = 145909
SHA256 (xxHash-0.8.1.tar.gz) = O7a31vMMWR3WWqr/HIt6W5TYFoeZjKlAAILHOaaQQ2w=
SIZE (xxHash-0.8.1.tar.gz) = 171552

View File

@ -1,23 +1,11 @@
$OpenBSD: patch-Makefile,v 1.9 2020/12/07 05:19:19 bket Exp $
Fix empty version in .pc file. Taken from
https://github.com/Cyan4973/xxHash/pull/442.
$OpenBSD: patch-Makefile,v 1.10 2021/12/03 05:10:25 bket Exp $
Don't create symbolic links pointing to the shared lib.
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -437,7 +437,7 @@ libxxhash.pc: libxxhash.pc.in
-e 's|@EXECPREFIX@|$(PCEXECDIR)|' \
-e 's|@LIBDIR@|$(PCLIBDIR)|' \
-e 's|@INCLUDEDIR@|$(PCINCDIR)|' \
- -e 's|@VERSION@|$(VERSION)|' \
+ -e 's|@VERSION@|$(LIBVER)|' \
$< > $@
@@ -447,8 +447,6 @@ install: lib libxxhash.pc xxhsum ## install libraries
@@ -499,8 +499,6 @@ install: lib libxxhash.pc xxhsum ## install libraries
$(Q)$(INSTALL) -d -m 755 $(DESTDIR)$(LIBDIR)
$(Q)$(INSTALL_DATA) libxxhash.a $(DESTDIR)$(LIBDIR)
$(Q)$(INSTALL_PROGRAM) $(LIBXXH) $(DESTDIR)$(LIBDIR)