devel/xxhash: Update to 0.8.2

Changes:	https://github.com/Cyan4973/xxHash/releases
This commit is contained in:
Po-Chuan Hsieh 2023-08-01 04:09:00 +08:00
parent 3ea1cfe94e
commit d143a78e6e
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 4 additions and 34 deletions

View file

@ -1,7 +1,6 @@
PORTNAME= xxhash
PORTVERSION= 0.8.1
PORTVERSION= 0.8.2
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= devel
MAINTAINER= sunpoet@FreeBSD.org

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1638963352
SHA256 (Cyan4973-xxHash-v0.8.1_GH0.tar.gz) = 3bb6b7d6f30c591dd65aaaff1c8b7a5b94d81687998ca9400082c739a690436c
SIZE (Cyan4973-xxHash-v0.8.1_GH0.tar.gz) = 171552
TIMESTAMP = 1690822936
SHA256 (Cyan4973-xxHash-v0.8.2_GH0.tar.gz) = baee0c6afd4f03165de7a4e67988d16f0f2b257b51d0e3cb91909302a26a79c4
SIZE (Cyan4973-xxHash-v0.8.2_GH0.tar.gz) = 1141188

View file

@ -1,15 +0,0 @@
--- Makefile.orig 2021-11-29 18:34:10 UTC
+++ Makefile
@@ -518,9 +518,9 @@ endif
$(Q)ln -sf xxhsum $(DESTDIR)$(BINDIR)/xxh128sum
@echo Installing man pages
$(Q)$(INSTALL_DATA) $(MAN) $(DESTDIR)$(MANDIR)/xxhsum.1
- $(Q)ln -sf $(MAN) $(DESTDIR)$(MANDIR)/xxh32sum.1
- $(Q)ln -sf $(MAN) $(DESTDIR)$(MANDIR)/xxh64sum.1
- $(Q)ln -sf $(MAN) $(DESTDIR)$(MANDIR)/xxh128sum.1
+ $(Q)ln -sf xxhsum.1 $(DESTDIR)$(MANDIR)/xxh32sum.1
+ $(Q)ln -sf xxhsum.1 $(DESTDIR)$(MANDIR)/xxh64sum.1
+ $(Q)ln -sf xxhsum.1 $(DESTDIR)$(MANDIR)/xxh128sum.1
@echo xxhash installation completed
.PHONY: uninstall

View file

@ -1,14 +0,0 @@
Obtained from: https://github.com/Cyan4973/xxHash/commit/6189ecd3d44a693460f86280ccf49d33cb4b18e1
--- xxhash.h.orig 2022-08-13 18:58:45.930785000 +0200
+++ xxhash.h 2022-08-13 18:59:08.416809000 +0200
@@ -1546,8 +1546,7 @@
/* note: use after variable declarations */
#ifndef XXH_STATIC_ASSERT
# if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */
-# include <assert.h>
-# define XXH_STATIC_ASSERT_WITH_MESSAGE(c,m) do { static_assert((c),m); } while(0)
+# define XXH_STATIC_ASSERT_WITH_MESSAGE(c,m) do { _Static_assert((c),m); } while(0)
# elif defined(__cplusplus) && (__cplusplus >= 201103L) /* C++11 */
# define XXH_STATIC_ASSERT_WITH_MESSAGE(c,m) do { static_assert((c),m); } while(0)
# else