From abdbcd682c0dd3e6c01d9f0e35dbc70209b784ee Mon Sep 17 00:00:00 2001 From: midipix Date: Aug 06 2019 11:00:11 +0000 Subject: sbase, ubase, htop: compensate for non-portable major/minor assumption. Signed-off-by: Lucio Andrés Illanes Albornoz --- diff --git a/vars/build.vars b/vars/build.vars index 4f0b3fe..9a8bc6c 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -1130,6 +1130,7 @@ the_silver_searcher toilet tree terminally_tetris ubase which w3m zsh"; : ${PKG_SBASE_URLS_GIT:="sbase=http://git.suckless.org/sbase@master"}; : ${PKG_SBASE_DESTDIR:=destdir/suckless}; : ${PKG_SBASE_IN_TREE:=1}; +: ${PKG_SBASE_CFLAGS_BUILD_EXTRA:="-std=c99 --include=sys/sysmacros.h"}; : ${PKG_SBASE_MAKE_INSTALL_VNAME:=PREFIX}; : ${PKG_SBASE_PREFIX:=${PREFIX_NATIVE}/suckless}; : ${PKG_SCREEN_SHA256SUM:=78541cca34ab8b6899228f10dfc36fa31b63d6455ba2a3acab8547af41810c84}; @@ -1173,6 +1174,7 @@ the_silver_searcher toilet tree terminally_tetris ubase which w3m zsh"; : ${PKG_UBASE_URLS_GIT:="ubase=http://git.suckless.org/ubase@master"}; : ${PKG_UBASE_DESTDIR:=destdir/suckless}; : ${PKG_UBASE_IN_TREE:=1}; +: ${PKG_UBASE_CFLAGS_BUILD_EXTRA:="-std=c99 --include=sys/sysmacros.h"}; : ${PKG_UBASE_MAKE_INSTALL_VNAME:=PREFIX}; : ${PKG_UBASE_PREFIX:=${PREFIX_NATIVE}/suckless}; : ${PKG_WHICH_SHA256SUM:=f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad}; @@ -1345,6 +1347,7 @@ tmux tzdb vim yabasic xcowsay xeyes xorriso xterm xwd"; : ${PKG_HTOP_VERSION:=2.2.0}; : ${PKG_HTOP_URL:=http://hisham.hm/htop/releases/${PKG_HTOP_VERSION}/htop-${PKG_HTOP_VERSION}.tar.gz}; : ${PKG_HTOP_CONFIGURE_ARGS_EXTRA:="--enable-proc --enable-unicode"}; +: ${PKG_HTOP_CFLAGS_CONFIGURE_EXTRA:="--include=sys/sysmacros.h"}; : ${PKG_HTOP_ENV_VARS_EXTRA:="HTOP_NCURSES_CONFIG_SCRIPT=${PREFIX_NATIVE}/bin/ncurses-config:HTOP_NCURSES6_CONFIG_SCRIPT=${PREFIX_NATIVE}/bin/ncurses6-config:HTOP_NCURSESW_CONFIG_SCRIPT=${PREFIX_NATIVE}/bin/ncursesw-config:HTOP_NCURSESW6_CONFIG_SCRIPT=${PREFIX_NATIVE}/bin/ncursesw6-config"} : ${PKG_ICECAST_SHA256SUM:=eee7644a6bc703f5705ebe6b79c8d20a66a13cc577c60665e2bc2c34e3a0536d}; : ${PKG_ICECAST_VERSION:=2.4.99.2-283};