summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-simulation/flightgear/files/flightgear-1.9.1-sdl.patch')
-rw-r--r--games-simulation/flightgear/files/flightgear-1.9.1-sdl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-simulation/flightgear/files/flightgear-1.9.1-sdl.patch b/games-simulation/flightgear/files/flightgear-1.9.1-sdl.patch
new file mode 100644
index 000000000000..835d0f4c0006
--- /dev/null
+++ b/games-simulation/flightgear/files/flightgear-1.9.1-sdl.patch
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2008-09-08 12:57:35.000000000 -0400
++++ configure.ac 2008-09-08 12:58:50.000000000 -0400
+@@ -268,6 +268,8 @@
+ AC_SEARCH_LIBS(glutGetModifiers, [ glut freeglut ])
+ if test "x$enable_sdl" = "xyes"; then
+ AC_SEARCH_LIBS(SDL_Init, SDL)
++ CFLAGS="$CFLAGS `sdl-config --cflags`"
++ CXXFLAGS="$CXXFLAGS `sdl-config --cflags`"
+ fi
+ ;;
+