mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
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>
This commit is contained in:
parent
660d58978f
commit
a29351ea79
3 changed files with 22 additions and 9 deletions
|
@ -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
|
||||
{
|
|
@ -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 \
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue