speed-dreams: hardening

This commit is contained in:
Đoàn Trần Công Danh 2021-03-27 15:50:53 +07:00
parent 17f034734a
commit e2b0cc6802
1 changed files with 5 additions and 3 deletions

View File

@ -1,13 +1,13 @@
# Template file for 'speed-dreams'
pkgname=speed-dreams
version=2.2.2
revision=2
revision=3
archs="i686* x86_64* ppc64le*"
_rev=r6553
create_wrksrc=yes
build_style=cmake
configure_args="-DSD_BINDIR=/usr/bin -DSD_DATADIR=/usr/share/speed-dreams-2 -DSD_LIBDIR=/usr/lib/speed-dreams-2
-DOPTION_OFFICIAL_ONLY=ON -DCMAKE_CXX_FLAGS=-fpermissive -DCMAKE_C_FLAGS=-fpermissive"
configure_args="-DSD_BINDIR=/usr/bin -DSD_DATADIR=/usr/share/speed-dreams-2
-DSD_LIBDIR=/usr/lib/speed-dreams-2 -DOPTION_OFFICIAL_ONLY=ON"
hostmakedepends="pkg-config"
makedepends="freealut-devel libenet-devel libfreeglut-devel libjpeg-turbo-devel
libpng-devel libvorbis-devel libXrandr-devel osg-devel plib-devel SDL2-devel
@ -26,6 +26,8 @@ checksum="32aa55c17f8dafc1c54fb0d0b7b993d2688d431899cfc5db9eeece148c6887d0
0b7b417d007ab3b7f0f4dcfdc868aafee1722150b81af519e1cd4c082b408183"
nocross=yes
replaces="speed-dreams-data>=0"
CFLAGS=-fpermissive
CXXFLAGS=-fpermissive
if [ "$XBPS_TARGET_LIBC" = musl ]; then
broken="Segmentation fault"