diff --git a/packages/cryptopp/build.sh b/packages/cryptopp/build.sh index 0dd5b137b..c3f00c9c9 100644 --- a/packages/cryptopp/build.sh +++ b/packages/cryptopp/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A free C++ class library of cryptographic schemes" TERMUX_PKG_LICENSE="BSL-1.0" TERMUX_PKG_MAINTAINER="Leonid Plyushch " TERMUX_PKG_VERSION=8.2.0 -TERMUX_PKG_REVISION=4 +TERMUX_PKG_REVISION=5 TERMUX_PKG_SRCURL=https://www.cryptopp.com/cryptopp${TERMUX_PKG_VERSION//./}.zip TERMUX_PKG_SHA256=03f0e2242e11b9d19b28d0ec5a3fa8ed5cc7b27640e6bed365744f593e858058 TERMUX_PKG_BREAKS="cryptopp-dev" diff --git a/packages/cryptopp/fix-lib-symlinks.patch b/packages/cryptopp/fix-lib-symlinks.patch new file mode 100644 index 000000000..9c66cc045 --- /dev/null +++ b/packages/cryptopp/fix-lib-symlinks.patch @@ -0,0 +1,22 @@ +diff -uNr cryptopp/GNUmakefile cryptopp.mod/GNUmakefile +--- cryptopp/GNUmakefile 2019-04-29 02:36:50.000000000 +0300 ++++ cryptopp.mod/GNUmakefile 2019-09-15 22:21:10.471717253 +0300 +@@ -1256,7 +1256,7 @@ + $(CHMOD) 0755 $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX) + ifeq ($(HAS_SOLIB_VERSION),1) + -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so +- $(LDCONF) $(DESTDIR)$(LIBDIR) ++ -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX) + endif + endif + ifneq ($(wildcard libcryptopp.pc),) +@@ -1295,7 +1295,8 @@ + $(CXX) -shared $(SOLIB_FLAGS) -o $@ $(strip $(CXXFLAGS)) $(LDFLAGS) $(LIBOBJS) $(LDLIBS) + endif + ifeq ($(HAS_SOLIB_VERSION),1) +- -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) libcryptopp.so ++ - ++ libcryptopp.so$(SOLIB_VERSION_SUFFIX) libcryptopp.so + -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) libcryptopp.so$(SOLIB_COMPAT_SUFFIX) + endif +