fox: disable vsscanf and strtoll fallbacks.

This commit is contained in:
Enno Boland 2016-03-16 11:23:57 +01:00
parent b8a554424c
commit 77ffcd4585

View file

@ -1,12 +1,11 @@
# Template file for 'fox'
pkgname=fox
version=1.6.51
revision=2
revision=3
build_style=gnu-configure
configure_args="--enable-release --with-xft=yes --with-opengl=yes --with-xim
--with-xshm --with-shape --with-xcursor --with-xrender --with-xrandr
--with-xfixes --with-xinput
ac_cv_func_strtoll=yes"
--with-xfixes --with-xinput"
makedepends="zlib-devel bzip2-devel libXcursor-devel libXft-devel libXrandr-devel
libXi-devel libpng-devel tiff-devel glu-devel"
short_desc="Free Objects for X: GUI Toolkit for C++"
@ -20,6 +19,8 @@ CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
pre_configure() {
sed -i "/strtoll.\(cpp\|obj\)/d; s/strtoll.lo//" src/Makefile.in
sed -i "/vsscanf.\(cpp\|obj\)/d; s/vsscanf.lo//" src/Makefile.in
rm src/strtoll.cpp src/vsscanf.cpp
}
pre_build() {