Skip to content

Commit

Permalink
steghide: revbump to rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
licy183 committed Aug 23, 2024
1 parent ecceef3 commit 47a1800
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/steghide/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
"
45 changes: 45 additions & 0 deletions packages/steghide/use-cxx11.patch
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 47a1800

Please sign in to comment.