]> git.pld-linux.org Git - packages/SDL.git/blob - SDL-noobjc.patch
- updated for 1.2.6-1.20030528.0
[packages/SDL.git] / SDL-noobjc.patch
1 diff -aurN SDL-1.2.orig/configure.in SDL-1.2/configure.in
2 --- SDL-1.2.orig/configure.in   2003-05-29 07:05:06.000000000 +0200
3 +++ SDL-1.2/configure.in        2003-07-21 23:21:20.000000000 +0200
4 @@ -2570,18 +2570,6 @@
5  CXXFLAGS="$CFLAGS"
6  
7  
8 -# Check for darwin at the very end and set up the Objective C compiler
9 -# We do this here so that we get the full CFLAGS into OBJCFLAGS
10 -case "$target" in
11 -    *-*-darwin*)
12 -        OBJC="cc"
13 -        OBJCFLAGS="$CFLAGS"
14 -        OBJCDEPMODE="$CCDEPMODE"
15 -        AC_SUBST(OBJC)
16 -        AC_SUBST(OBJCFLAGS)
17 -        AC_SUBST(OBJCDEPMODE)
18 -        ;;
19 -esac
20  
21  # Finally create all the generated files
22  dnl Important: Any directory that you want to be in the distcheck should
23 @@ -2638,7 +2626,6 @@
24  src/video/picogui/Makefile
25  src/video/ps2gs/Makefile
26  src/video/qtopia/Makefile
27 -src/video/quartz/Makefile
28  src/video/svga/Makefile
29  src/video/vgl/Makefile
30  src/video/wincommon/Makefile
31 diff -aurN SDL-1.2.orig/src/main/Makefile.am SDL-1.2/src/main/Makefile.am
32 --- SDL-1.2.orig/src/main/Makefile.am   2002-05-19 22:06:01.000000000 +0200
33 +++ SDL-1.2/src/main/Makefile.am        2003-07-21 23:20:21.000000000 +0200
34 @@ -14,15 +14,11 @@
35  # Build a separate library containing the main() entry point.
36  lib_LIBRARIES = libSDLmain.a
37  
38 -if TARGET_MACOSX
39 -MAINLIB_ARCH_SRCS = SDLMain.m SDLMain.h
40 -else
41  if TARGET_QTOPIA
42  MAINLIB_ARCH_SRCS = SDL_Qtopia_main.cc
43  else
44  MAINLIB_ARCH_SRCS = SDL_main.c
45  endif
46 -endif
47  libSDLmain_a_SOURCES = $(MAINLIB_ARCH_SRCS)
48  
49  # Build an internal library of any special app setup functions
This page took 0.07874 seconds and 3 git commands to generate.