mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
games/ufoai: Fix build on -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
4dfe5a4fba
commit
f9f3273237
1 changed files with 11 additions and 5 deletions
|
@ -15,6 +15,14 @@
|
|||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# 20170706 bkw:
|
||||
# - fix build on -current
|
||||
|
||||
# 20151126 bkw:
|
||||
# - fix build on systems that have SDL2 but not SDL2_ttf
|
||||
# - add SDL2 environment variable
|
||||
# - move binaries to /usr/games
|
||||
|
||||
# 20140826 bkw:
|
||||
# - took over maintenance
|
||||
# - update for 2.5
|
||||
|
@ -24,11 +32,6 @@
|
|||
# - allow building the radiant editor. I have no idea if it's working
|
||||
# correctly, since I have no idea how to use it.
|
||||
|
||||
# 20151126 bkw:
|
||||
# - fix build on systems that have SDL2 but not SDL2_ttf
|
||||
# - add SDL2 environment variable
|
||||
# - move binaries to /usr/games
|
||||
|
||||
PRGNAM=ufoai
|
||||
VERSION=${VERSION:-2.5}
|
||||
BUILD=${BUILD:-2}
|
||||
|
@ -91,6 +94,9 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# 20170706 bkw: fix build with gcc7
|
||||
echo 'CXXFLAGS += -Wno-narrowing' >> build/flags.mk
|
||||
|
||||
[ "${SDL2:-no}" = "no" ] && EXTRAOPT="--disable-sdl2"
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
Loading…
Reference in a new issue