diff options
author | Ruben Schuller <sb@rbn.im> | 2021-04-17 16:05:33 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:18:56 -0500 |
commit | 1152660bd586f47d3cdb6f9ba1fa552178e7b4ca (patch) | |
tree | 3ec014c0d5aa516eae218caab2dc2230ddbe0625 /network/dillo/dillo.SlackBuild | |
parent | 40761f4e35540d3f96908791aa181a4e59ec4d50 (diff) |
network/dillo: Patched for openssl >= 1.1.x and gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/dillo/dillo.SlackBuild')
-rw-r--r-- | network/dillo/dillo.SlackBuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/network/dillo/dillo.SlackBuild b/network/dillo/dillo.SlackBuild index cee153a1b13c9..84908461425a6 100644 --- a/network/dillo/dillo.SlackBuild +++ b/network/dillo/dillo.SlackBuild @@ -31,7 +31,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -71,6 +71,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Thanks gentoo! +patch -p1 < $CWD/dillo-3.0.5-openssl-1.1.patch +patch -p1 < $CWD/dillo-3.0.5-fno-common.patch + +autoreconf -fi + #https and ssl are in the alpha stage, but if you don't want to try and use it #just delete or comment out --enable-ssl |