diff --git a/srcpkgs/winusb/template b/srcpkgs/winusb/template index 64ec8fce12b..5f116a336b6 100644 --- a/srcpkgs/winusb/template +++ b/srcpkgs/winusb/template @@ -1,7 +1,7 @@ # Template file for 'winusb' pkgname=winusb version=1.0.11 -revision=10 +revision=11 archs="i686* x86_64*" build_style=gnu-configure configure_args="--with-wx-config=wx-config-gtk3" @@ -21,6 +21,8 @@ case "${XBPS_TARGET_MACHINE}" in i686*) depends+=" grub-i386-efi"; makedepends+=" grub-i386-efi" ;; esac +CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + post_configure() { sed -i Makefile src/Makefile \ -e"s;^\(CXXFLAGS *=\)\(.*\);\1 ${CXXFLAGS} \2;"