summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhu Qun-Ying <zhu.qunying@gmail.com>2017-11-08 08:17:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-11 07:07:28 +0700
commite831fe3645f45de697308e7bb8bf125918ae6125 (patch)
tree88326ed0a978a1c020b3b732accf1b6988804f75
parent1c0ceffd64d46fa57fff02731d978346010d776d (diff)
downloadslackbuilds-e831fe3645f45de697308e7bb8bf125918ae6125.tar.gz
system/hh: Updated for version 1.23.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/hh/configure.patch11
-rw-r--r--system/hh/hh.SlackBuild6
-rw-r--r--system/hh/hh.info6
3 files changed, 7 insertions, 16 deletions
diff --git a/system/hh/configure.patch b/system/hh/configure.patch
deleted file mode 100644
index 6560442f43..0000000000
--- a/system/hh/configure.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- hstr-1.22/configure.ac 2017-02-02 12:44:38.000000000 -0800
-+++ hstr-1.22.new/configure.ac 2017-02-09 14:26:56.524105894 -0800
-@@ -49,7 +49,7 @@
-
- # Checks for libraries.
- AC_CHECK_LIB(m, cos, [], [AC_MSG_ERROR([Could not find m library])])
--AC_CHECK_LIB(readline, using_history, [], [AC_MSG_ERROR([Could not find readline library])])
-+AC_CHECK_LIB(readline, using_history, [], [AC_MSG_ERROR([Could not find readline library])],[-lncurses])
-
- # Checks for header files.
- AC_CHECK_HEADER(assert.h)
diff --git a/system/hh/hh.SlackBuild b/system/hh/hh.SlackBuild
index 866112bd11..843b639aed 100644
--- a/system/hh/hh.SlackBuild
+++ b/system/hh/hh.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hh
-VERSION=${VERSION:-1.22}
+VERSION=${VERSION:-1.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGNAM=hstr
@@ -71,7 +71,6 @@ 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 {} \;
-patch -p1 < $CWD/configure.patch
autoreconf -vis
CFLAGS="$SLKCFLAGS" \
@@ -86,6 +85,9 @@ ac_cv_func_malloc_0_nonnull=yes \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
+# Reserved for next Slackware release
+#sed -i 's/lncursesw/lncursesw -ltinfo/g' src/Makefile
+
make
make install DESTDIR=$PKG
diff --git a/system/hh/hh.info b/system/hh/hh.info
index bb3c983920..023d148898 100644
--- a/system/hh/hh.info
+++ b/system/hh/hh.info
@@ -1,8 +1,8 @@
PRGNAM="hh"
-VERSION="1.22"
+VERSION="1.23"
HOMEPAGE="https://github.com/dvorka/hstr"
-DOWNLOAD="https://github.com/dvorka/hstr/archive/1.22/hstr-1.22.tar.gz"
-MD5SUM="40fa8f6557ffa77b34a5090a866e051a"
+DOWNLOAD="https://github.com/dvorka/hstr/archive/1.23/hstr-1.23.tar.gz"
+MD5SUM="2e2cf85dd11ef49ef4ad8666f665acbe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""