diff options
author | B. Watson <yalhcru@gmail.com> | 2021-09-05 16:57:51 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:00 +0700 |
commit | e4744bafbf98be5634cb4be76e4ef39bff19d595 (patch) | |
tree | c096d011cb3214893b6731982f117ab69938fec8 /development | |
parent | b6fd3d69e278d64a8b4b0d4819d01a35bb12cf09 (diff) | |
download | slackbuilds-e4744bafbf98be5634cb4be76e4ef39bff19d595.tar.gz |
development/nchexedit: Updated for version 0.9.7_7.1, fix rc1 build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/nchexedit/nchexedit.SlackBuild | 24 | ||||
-rw-r--r-- | development/nchexedit/nchexedit.info | 10 |
2 files changed, 20 insertions, 14 deletions
diff --git a/development/nchexedit/nchexedit.SlackBuild b/development/nchexedit/nchexedit.SlackBuild index 4af50b5820..c51ffb3de0 100644 --- a/development/nchexedit/nchexedit.SlackBuild +++ b/development/nchexedit/nchexedit.SlackBuild @@ -13,11 +13,13 @@ # We're using most of Debian's patches, the _5 in VERSION is their # patchlevel. +# 20210905 bkw: update for v0.9.7_7.1, fix -current segfault issue. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=nchexedit -VERSION=${VERSION:-0.9.7_5} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.9.7_7.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -34,9 +36,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -81,7 +80,8 @@ rm -f debian/patches/fix_hexedit_references.patch \ debian/patches/info_dir_section.patch \ debian/patches/rename_binaries.patch \ debian/patches/autoconf_2.69.patch \ - debian/patches/fix_its_typo.patch + debian/patches/fix_its_typo.patch \ + debian/patches/fix_spelling_errors.patch chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ @@ -90,7 +90,7 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ # Apply the patches we didn't rm. for i in $( cat debian/patches/series ); do P=debian/patches/$i - [ -e $P ] && patch -p1 < $P + [ -e $P ] && echo "=== $P" && patch -p1 < $P done # Reworked version of Debian patch. @@ -101,15 +101,21 @@ sed -i \ -e 's/hexedit/nchexedit/g' \ -e 's/Hexedit/NCHexedit/g' \ -e 's/HEXEDIT/NCHEXEDIT/g' \ - -e '/utexas\.edu/s#{http[^}]*}#{http://www.rogoyski.com/adam/programs/hexedit/}#' \ + -e '/utexas\.edu/s#{http[^}]*}#{https://www.rogoyski.com/adam/programs/hexedit/}#' \ docs/$SRCNAM.1 # ...nor the info file. sed -i \ -e 's/hexedit/nchexedit/g' \ - -e '/utexas\.edu/s#{http[^}]*}#{http://www.rogoyski.com/adam/programs/hexedit/}#' \ + -e '/utexas\.edu/s#{http[^}]*}#{https://www.rogoyski.com/adam/programs/hexedit/}#' \ docs/$SRCNAM.texinfo +# 20210905 bkw: required for -current (but why?). Without this, it segfaults +# on startup. +sed -i 's,-lncurses,-lncursesw,g' configure + +SLKCFLAGS+=" -fcommon" + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/development/nchexedit/nchexedit.info b/development/nchexedit/nchexedit.info index 29cfa1ad79..c720df0018 100644 --- a/development/nchexedit/nchexedit.info +++ b/development/nchexedit/nchexedit.info @@ -1,10 +1,10 @@ PRGNAM="nchexedit" -VERSION="0.9.7_5" -HOMEPAGE="http://www.rogoyski.com/adam/programs/hexedit/" -DOWNLOAD="http://www.rogoyski.com/adam/programs/hexedit/hexedit-0.9.7.tar.gz \ - https://slackware.uk/~urchlay/src/ncurses-hexedit_0.9.7+orig-5.debian.tar.xz" +VERSION="0.9.7_7.1" +HOMEPAGE="https://www.rogoyski.com/adam/programs/hexedit/" +DOWNLOAD="https://www.rogoyski.com/adam/programs/hexedit/hexedit-0.9.7.tar.gz \ + https://slackware.uk/~urchlay/src/ncurses-hexedit_0.9.7+orig-7.1.debian.tar.xz" MD5SUM="2658b81ab1bd0813c0117e9459071c13 \ - 7fb8575f4709067a06895ca2fdc9712a" + 36cfa014777ee632876d8c89f89dfbb1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |