crypto++: update to 820.
This commit is contained in:
parent
2bb8a8e9e3
commit
574475fb94
4 changed files with 11 additions and 43 deletions
|
@ -1312,7 +1312,7 @@ libkworkspace5.so.5 kworkspace-5.14.5_2
|
|||
libdb-5.3.so libdb-5.3.21_1
|
||||
libdb_cxx-5.3.so libdb-cxx-5.3.21_1
|
||||
libcares.so.2 c-ares-1.10.0_1
|
||||
libcryptopp.so.5.6 crypto++-565_1
|
||||
libcryptopp.so.8 crypto++-820_1
|
||||
libphonon.so.4 phonon-4.6.0_1
|
||||
libphononexperimental.so.4 phonon-4.6.0_1
|
||||
libdbusmenu-glib.so.4 libdbusmenu-glib-12.10.2_1
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
--- GNUmakefile.orig
|
||||
+++ GNUmakefile
|
||||
@@ -125,23 +125,6 @@
|
||||
endif
|
||||
endif
|
||||
|
||||
-# Guard use of -march=native
|
||||
-ifeq ($(GCC42_OR_LATER)$(IS_NETBSD),10)
|
||||
- CXXFLAGS += -march=native
|
||||
-else ifneq ($(CLANG_COMPILER)$(INTEL_COMPILER),00)
|
||||
- CXXFLAGS += -march=native
|
||||
-else
|
||||
- # GCC 3.3 and "unknown option -march="
|
||||
- # Ubuntu GCC 4.1 compiler crash with -march=native
|
||||
- # NetBSD GCC 4.8 compiler and "bad value (native) for -march= switch"
|
||||
- # Sun compiler is handled below
|
||||
- ifeq ($(SUN_COMPILER)$(IS_X64),01)
|
||||
- CXXFLAGS += -m64
|
||||
- else ifeq ($(SUN_COMPILER)$(IS_X86),01)
|
||||
- CXXFLAGS += -m32
|
||||
- endif # X86/X32/X64
|
||||
-endif
|
||||
-
|
||||
# Aligned access required for -O3 and above due to vectorization
|
||||
UNALIGNED_ACCESS := $(shell $(EGREP) -c "^[[:space:]]*//[[:space:]]*\#[[:space:]]*define[[:space:]]*CRYPTOPP_NO_UNALIGNED_DATA_ACCESS" config.h)
|
||||
ifneq ($(UNALIGNED_ACCESS),0)
|
|
@ -1,10 +0,0 @@
|
|||
--- GNUmakefile.orig 2017-09-22 10:27:03.000000000 +0000
|
||||
+++ GNUmakefile 2017-09-22 10:34:42.897537258 +0000
|
||||
@@ -581,6 +581,7 @@
|
||||
-$(CHMOD) 0755 $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX)
|
||||
ifeq ($(HAS_SOLIB_VERSION),1)
|
||||
-$(LN) -sf libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so
|
||||
+ -$(LN) -sf libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX)
|
||||
$(LDCONF) $(DESTDIR)$(LIBDIR)
|
||||
endif
|
||||
endif
|
|
@ -1,20 +1,24 @@
|
|||
# Template build file for 'crypto++'.
|
||||
# Template file for 'crypto++'
|
||||
pkgname=crypto++
|
||||
version=565
|
||||
revision=3
|
||||
version=820
|
||||
revision=1
|
||||
create_wrksrc=yes
|
||||
build_style=gnu-makefile
|
||||
make_build_target="libcryptopp.so libcryptopp.a"
|
||||
hostmakedepends="unzip"
|
||||
short_desc="A free C++ class library of cryptographic schemes"
|
||||
short_desc="Free C++ class library of cryptographic schemes"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="BSL-1.0"
|
||||
homepage="http://www.cryptopp.com/"
|
||||
license="Boost Software License 1.0, Public domain"
|
||||
distfiles="http://www.cryptopp.com/cryptopp${version}.zip"
|
||||
checksum=a75ef486fe3128008bbb201efee3dcdcffbe791120952910883b26337ec32c34
|
||||
checksum=03f0e2242e11b9d19b28d0ec5a3fa8ed5cc7b27640e6bed365744f593e858058
|
||||
|
||||
CXXFLAGS="-DNDEBUG -fPIC"
|
||||
|
||||
if [ "$XBPS_CROSS" ]; then
|
||||
make_build_args="-f GNUmakefile-cross"
|
||||
fi
|
||||
|
||||
post_extract() {
|
||||
sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue