]> git.pld-linux.org Git - packages/SDL.git/blame - SDL-noobjc.patch
- noobjc patch - fixes for recent ac/am - OBJC macros cannot be used
[packages/SDL.git] / SDL-noobjc.patch
CommitLineData
a7784638
JB
1--- SDL-1.2.5/src/main/Makefile.am.orig Sun May 19 22:06:01 2002
2+++ SDL-1.2.5/src/main/Makefile.am Sun Oct 13 21:04:54 2002
3@@ -14,15 +14,11 @@
4 # Build a separate library containing the main() entry point.
5 lib_LIBRARIES = libSDLmain.a
6
7-if TARGET_MACOSX
8-MAINLIB_ARCH_SRCS = SDLMain.m SDLMain.h
9-else
10 if TARGET_QTOPIA
11 MAINLIB_ARCH_SRCS = SDL_Qtopia_main.cc
12 else
13 MAINLIB_ARCH_SRCS = SDL_main.c
14 endif
15-endif
16 libSDLmain_a_SOURCES = $(MAINLIB_ARCH_SRCS)
17
18 # Build an internal library of any special app setup functions
19--- SDL-1.2.5/configure.in.orig Sun Oct 13 20:59:37 2002
20+++ SDL-1.2.5/configure.in Sun Oct 13 21:06:35 2002
21@@ -2548,18 +2549,6 @@
22 CXXFLAGS="$CFLAGS"
23
24
25-# Check for darwin at the very end and set up the Objective C compiler
26-# We do this here so that we get the full CFLAGS into OBJCFLAGS
27-case "$target" in
28- *-*-darwin*)
29- OBJC="cc"
30- OBJCFLAGS="$CFLAGS"
31- OBJCDEPMODE="$CCDEPMODE"
32- AC_SUBST(OBJC)
33- AC_SUBST(OBJCFLAGS)
34- AC_SUBST(OBJCDEPMODE)
35- ;;
36-esac
37
38 # Finally create all the generated files
39 dnl Important: Any directory that you want to be in the distcheck should
40@@ -2613,7 +2602,6 @@
41 src/video/maccommon/Makefile
42 src/video/macdsp/Makefile
43 src/video/macrom/Makefile
44-src/video/quartz/Makefile
45 src/video/svga/Makefile
46 src/video/vgl/Makefile
47 src/video/aalib/Makefile
This page took 0.063633 seconds and 4 git commands to generate.