termux-packages/x11-packages/pong2/configure.ac.patch
2022-05-02 09:03:21 +09:00

12 lines
410 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -53,7 +53,7 @@
AM_PATH_SDL($SDL_VERSION,:,
AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]))
dnl CFLAGS="$CFLAGS $SDL_CFLAGS"
-CXXFLAGS="$CFLAGS $SDL_CFLAGS -DPATH_PREFIX=\\\"\$(datadir)/\$(PACKAGE)/\\\""
+CXXFLAGS="$CFLAGS -std=c++98 $SDL_CFLAGS -DPATH_PREFIX=\\\"\$(datadir)/\$(PACKAGE)/\\\""
LIBS="$LIBS $SDL_LIBS"
dnl Checks for library functions.