diff --git a/srcpkgs/xxHash/patches/fix-dynamic-lib.patch b/srcpkgs/xxHash/patches/fix-dynamic-lib.patch new file mode 100644 index 00000000000..14a2882c3cf --- /dev/null +++ b/srcpkgs/xxHash/patches/fix-dynamic-lib.patch @@ -0,0 +1,11 @@ +--- Makefile ++++ Makefile +@@ -92,7 +92,7 @@ libxxhash.a: xxhash.o + $(LIBXXH): LDFLAGS += -shared -fPIC + $(LIBXXH): xxhash.c + @echo compiling dynamic library $(LIBVER) +- @$(CC) $(FLAGS) $^ $(LDFLAGS) $(SONAME_FLAGS) -o $@ ++ @$(CC) $(FLAGS) $^ -shared $(LDFLAGS) $(SONAME_FLAGS) -o $@ + @echo creating versioned links + @ln -sf $@ libxxhash.$(SHARED_EXT_MAJOR) + @ln -sf $@ libxxhash.$(SHARED_EXT) diff --git a/srcpkgs/xxHash/template b/srcpkgs/xxHash/template index 0dba59ae96d..a7716d59a75 100644 --- a/srcpkgs/xxHash/template +++ b/srcpkgs/xxHash/template @@ -1,6 +1,6 @@ # Template file for 'xxHash' pkgname=xxHash -version=0.6.3 +version=0.6.4 revision=1 build_style=gnu-makefile short_desc="Fast non-cryptographic hashing algorithm" @@ -8,7 +8,8 @@ maintainer="Evan Deaubl " license="BSD, GPL-2" homepage="http://xxhash.com" distfiles="https://github.com/Cyan4973/${pkgname}/archive/v${version}.tar.gz>xxhash-${version}.tar.gz" -checksum=d8c739ec666ac2af983a61dc932aaa2a8873df974d333a9922d472a121f2106e +checksum=4570ccd111df6b6386502791397906bf69b7371eb209af7d41debc2f074cdb22 +make_check_target="test" do_install() { vbin xxhsum