From 47a18007c5eac419e57b1e2aafd5a7ab871c6f13 Mon Sep 17 00:00:00 2001 From: Chongyun Lee <45286352+licy183@users.noreply.github.com> Date: Sat, 24 Aug 2024 03:36:33 +0800 Subject: [PATCH] steghide: revbump to rebuild --- packages/steghide/build.sh | 3 ++- packages/steghide/use-cxx11.patch | 45 +++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 packages/steghide/use-cxx11.patch diff --git a/packages/steghide/build.sh b/packages/steghide/build.sh index 7276328bcb36485..2ddd2b81a7e4e35 100644 --- a/packages/steghide/build.sh +++ b/packages/steghide/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Embeds a message in a file by replacing some of the leas TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=0.5.1 -TERMUX_PKG_REVISION=6 +TERMUX_PKG_REVISION=7 TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/steghide/steghide-$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SHA256=78069b7cfe9d1f5348ae43f918f06f91d783c2b3ff25af021e6a312cf541b47b TERMUX_PKG_AUTO_UPDATE=false @@ -12,5 +12,6 @@ TERMUX_PKG_DEPENDS="libc++, libjpeg-turbo, libmcrypt, libmhash, zlib" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" ac_cv_file__dev_random=yes ac_cv_file__dev_urandom=yes +ac_cv_type__Bool=no --mandir=$TERMUX_PREFIX/share/man " diff --git a/packages/steghide/use-cxx11.patch b/packages/steghide/use-cxx11.patch new file mode 100644 index 000000000000000..a8902dd7d192854 --- /dev/null +++ b/packages/steghide/use-cxx11.patch @@ -0,0 +1,45 @@ +error: no template named 'unary_function' in namespace 'std' + +--- a/configure.in ++++ b/configure.in +@@ -22,14 +22,14 @@ + then + AC_MSG_RESULT([yes]) + AC_DEFINE(DEBUG,1,[enable code used only for debugging]) +- CXXFLAGS="-O2 -Wall -g" ++ CXXFLAGS="-std=c++11 -O2 -Wall -g" + else + AC_MSG_RESULT([no]) +- CXXFLAGS="-O2 -Wall" ++ CXXFLAGS="-std=c++11 -O2 -Wall" + fi + , + AC_MSG_RESULT([no]) +- CXXFLAGS="-O2 -Wall" ++ CXXFLAGS="-std=c++11 -O2 -Wall" + ) + + dnl check if randomness should be disabled +--- a/configure ++++ b/configure +@@ -7560,17 +7560,17 @@ + #define DEBUG 1 + _ACEOF + +- CXXFLAGS="-O2 -Wall -g" ++ CXXFLAGS="-std=c++11 -O2 -Wall -g" + else + echo "$as_me:$LINENO: result: no" >&5 + echo "${ECHO_T}no" >&6 +- CXXFLAGS="-O2 -Wall" ++ CXXFLAGS="-std=c++11 -O2 -Wall" + fi + + else + echo "$as_me:$LINENO: result: no" >&5 + echo "${ECHO_T}no" >&6 +- CXXFLAGS="-O2 -Wall" ++ CXXFLAGS="-std=c++11 -O2 -Wall" + + fi; +