aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-16 19:38:17 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-17 12:59:51 +0700
commita29351ea79e20b27aba0fe3695aa50252864b27c (patch)
treee503d8a03e64d9edf487d7949894c38e53577b84 /development
parent660d58978f804432569fdd8600ed862bbb0232c4 (diff)
development/kconfig-frontends: Updated for version 4.11.0.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/kconfig-frontends/gperf3.1_kconfig_id_lookup.patch11
-rw-r--r--development/kconfig-frontends/kconfig-frontends.SlackBuild12
-rw-r--r--development/kconfig-frontends/kconfig-frontends.info8
3 files changed, 22 insertions, 9 deletions
diff --git a/development/kconfig-frontends/gperf3.1_kconfig_id_lookup.patch b/development/kconfig-frontends/gperf3.1_kconfig_id_lookup.patch
new file mode 100644
index 0000000000000..c70d4bc2fa450
--- /dev/null
+++ b/development/kconfig-frontends/gperf3.1_kconfig_id_lookup.patch
@@ -0,0 +1,11 @@
+--- a/libs/parser/hconf.c
++++ b/libs/parser/hconf.c
+@@ -172,7 +172,7 @@ __attribute__ ((__gnu_inline__))
+ #endif
+ #endif
+ const struct kconf_id *
+-kconf_id_lookup (register const char *str, register unsigned int len)
++kconf_id_lookup (register const char *str, register GPERF_LEN_TYPE len)
+ {
+ enum
+ { \ No newline at end of file
diff --git a/development/kconfig-frontends/kconfig-frontends.SlackBuild b/development/kconfig-frontends/kconfig-frontends.SlackBuild
index de7564d5c7153..609268073ccba 100644
--- a/development/kconfig-frontends/kconfig-frontends.SlackBuild
+++ b/development/kconfig-frontends/kconfig-frontends.SlackBuild
@@ -25,14 +25,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kconfig-frontends
-VERSION=${VERSION:-3.12.0.0}
+VERSION=${VERSION:-4.11.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,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"
@@ -70,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -79,6 +79,8 @@ 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/gperf3.1_kconfig_id_lookup.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/development/kconfig-frontends/kconfig-frontends.info b/development/kconfig-frontends/kconfig-frontends.info
index 23efc521686e0..871ccc420e676 100644
--- a/development/kconfig-frontends/kconfig-frontends.info
+++ b/development/kconfig-frontends/kconfig-frontends.info
@@ -1,8 +1,8 @@
PRGNAM="kconfig-frontends"
-VERSION="3.12.0.0"
-HOMEPAGE="http://ymorin.is-a-geek.org/projects/kconfig-frontends"
-DOWNLOAD="http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.12.0.0.tar.xz"
-MD5SUM="b939280dcc83f8feabd87a1d5f9b00c2"
+VERSION="4.11.0.1"
+HOMEPAGE="https://bitbucket.org/nuttx/tools/"
+DOWNLOAD="https://bitbucket.org/nuttx/tools/downloads/kconfig-frontends-4.11.0.1.tar.bz2"
+MD5SUM="635538534a016d66ca1223512f5fc424"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""