Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-simulation/flightgear/files: flightgear-1.0.0-sdl.patch
Date: Mon, 08 Sep 2008 17:18:18
Message-Id: E1KckNT-0000MR-Bc@stork.gentoo.org
1 mr_bones_ 08/09/08 17:18:15
2
3 Added: flightgear-1.0.0-sdl.patch
4 Log:
5 fix building with USE=sdl (bug #237020)
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 games-simulation/flightgear/files/flightgear-1.0.0-sdl.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/flightgear/files/flightgear-1.0.0-sdl.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/flightgear/files/flightgear-1.0.0-sdl.patch?rev=1.1&content-type=text/plain
13
14 Index: flightgear-1.0.0-sdl.patch
15 ===================================================================
16 --- configure.ac.orig 2008-09-08 12:57:35.000000000 -0400
17 +++ configure.ac 2008-09-08 12:58:50.000000000 -0400
18 @@ -268,6 +268,8 @@
19 AC_SEARCH_LIBS(glutGetModifiers, [ glut freeglut ])
20 if test "x$enable_sdl" = "xyes"; then
21 AC_SEARCH_LIBS(SDL_Init, SDL)
22 + CFLAGS="$CFLAGS `sdl-config --cflags`"
23 + CXXFLAGS="$CXXFLAGS `sdl-config --cflags`"
24 fi
25 ;;