Commit Graph

1443 Commits

Author SHA1 Message Date
Sam Lantinga
aaf71291d0 Updated OS/2 build, yay! 2006-02-26 19:30:21 +00:00
Sam Lantinga
eb56c64827 Getting closer... :) 2006-02-26 13:42:00 +00:00
Sam Lantinga
f8adcc6ef8 Passing a NULL GL library does the right thing nowadays. 2006-02-26 13:40:26 +00:00
Sam Lantinga
1abf1b3fc2 Fixed warnings in -pedantic mode 2006-02-26 05:02:14 +00:00
Sam Lantinga
e2c692b018 Date: Sun, 26 Feb 2006 11:25:09 +0900
From: Hayashi Naoyuki
Subject: Re: [SDL] CVS stable again, please update SDL ports

Some problems are caused on Tru64 UNIX.
If applying SDL12-osf1.path, these problems are fixed.


1. configure-script say "recursive mutexes... no" and "pthread
semaphores... no".
checking for pthreads... yes
checking for recursive mutexes... no
checking for pthread semaphores... no

This is because it compiled without pthread_cflags and pthread_lib when
checking recursive mutexes and pthread semaphores.


2. Compiling src/audio/mme/SDL_mmeaudio.c fails.
cc: Severe: ./src/audio/mme/SDL_mmeaudio.c, line 25: Cannot find file
<mme_api.h> specified in #include directive. (noinclfilef)
#include <mme_api.h>
-^

This is because BUILD_CFLAGS is wrong.


3. Compiling src/cdrom/osf/SDL_syscdrom.c fails.
cc: Warning: ./src/cdrom/osf/SDL_syscdrom.c, line 176: Too few actual
parameters in the invocation of the macro "SDL_stack_alloc". (toofewactuals)
        cdpath = SDL_stack_alloc(len);
------------------------------------^
cc: Error: ./src/cdrom/osf/SDL_syscdrom.c, line 176: Invalid expression.
(badexpr)
        cdpath = SDL_stack_alloc(len);
-----------------^

SDL_stack_alloc is defined in include/SDL_stdinc.h.
#define SDL_stack_alloc(type, count)    (type*)alloca(sizeof(type)*count)


4. Linking fails if running configure with --enable-x11-shared=yes.
/usr/ccs/bin/ld:
Warning: Unresolved:
p_XData32


5. Compiling src/video/x11/SDL_x11dyn.c fails if running configure with
--enable-x11-shared=no.
cc: Error: ./src/video/x11/SDL_x11sym.h, line 149: In this statement,
"_SmtBufferOverflow" is not declared. (undeclared)
SDL_X11_SYM(1,void,_SmtBufferOverflow,(Display *dpy,register smtDisplayPtr))
^
cc: Error: ./src/video/x11/SDL_x11sym.h, line 150: In this statement,
"_SmtBufferOverflow" is not declared. (undeclared)
SDL_X11_SYM(1,void,_SmtBufferOverflow,(Display *dpy,register smtDisplayPtr))
^
cc: Error: ./src/video/x11/SDL_x11sym.h, line 150: In this statement,
"_SmtIpError" is not declared. (undeclared)
SDL_X11_SYM(1,void,_SmtIpError,(Display *dpy,register smtDisplayPtr, int))
^
2006-02-26 04:54:01 +00:00
Sam Lantinga
7dd50dfdc9 Make sure the OpenGL library is loaded before setting up OpenGL 2006-02-26 04:48:24 +00:00
Sam Lantinga
bd3a6921d1 Use the right dynamic GL on MacOS Classic 2006-02-26 03:51:08 +00:00
Sam Lantinga
78673b8748 Created a single makefile for all the tests 2006-02-26 03:36:33 +00:00
Sam Lantinga
1c0d17d22f Added SDL_sysloadso.c to the Visual C++ project 2006-02-25 22:20:03 +00:00
Sam Lantinga
2861771aa5 SDL_windows.h is no longer necessary 2006-02-25 22:18:25 +00:00
Sam Lantinga
bf2d3bdc27 *** empty log message *** 2006-02-25 20:48:26 +00:00
Sam Lantinga
3d2edd295e Updated CodeWarrior projects (at least MacOS ones) 2006-02-25 20:47:42 +00:00
Sam Lantinga
c70756d256 *** empty log message *** 2006-02-25 18:52:36 +00:00
Sam Lantinga
cdf2e8909f Date: Sat, 25 Feb 2006 14:26:19 +0100 (CET)
From: "Torsten Giebl"
Subject: [SDL] testpalette.diff

To get rid of Mousecursor Fullscreen problems on Mac OSX.
2006-02-25 15:01:44 +00:00
Sam Lantinga
5146610dc6 Update for Visual C++ 6.0 2006-02-24 18:24:57 +00:00
Sam Lantinga
19ea2b958d Updated with MrC includes and function definitions 2006-02-24 17:03:06 +00:00
Sam Lantinga
911e5db87e *** empty log message *** 2006-02-24 10:23:49 +00:00
Sam Lantinga
dead618337 Hmm, how am I going to keep from committing bad versions of this? 2006-02-24 09:58:03 +00:00
Sam Lantinga
7e11ec69f9 Updated MacOS Classic MPW build 2006-02-24 09:57:14 +00:00
Sam Lantinga
b633882919 Updated for Visual Studio Express 2005 2006-02-24 08:17:28 +00:00
Sam Lantinga
026aec11d6 Added pre-configured versions of SDL_config.h for various platforms 2006-02-24 07:26:31 +00:00
Sam Lantinga
37049ba983 testplatform replaces testtypes, testendian, and testcpuinfo 2006-02-24 06:49:31 +00:00
Patrice Mandin
b51e2928fa Added preliminary support for MiNT /dev/mouse driver (disabled atm) 2006-02-23 21:51:10 +00:00
Sam Lantinga
85de465a42 *** empty log message *** 2006-02-23 04:16:08 +00:00
Sam Lantinga
5db4718f95 *** empty log message *** 2006-02-23 01:09:47 +00:00
Sam Lantinga
eafa423b01 *** empty log message *** 2006-02-22 05:01:43 +00:00
Sam Lantinga
44b157feba Fixed script on mingw 2006-02-22 04:44:33 +00:00
Sam Lantinga
b98ede883c *** empty log message *** 2006-02-22 00:33:10 +00:00
Sam Lantinga
392f6ebc34 ranlib needs to be run after the library is installed... 2006-02-21 22:30:43 +00:00
Sam Lantinga
f1ae101efd FIXME:
This code needs to be rewritten to reference the static data using relocatable addresses (e.g. http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml or http://nasm.sourceforge.net/doc/html/nasmdoc8.html#section-8.2)
This code currently breaks on systems with readonly text segments (hardened Linux / Intel Mac)
2006-02-21 22:12:55 +00:00
Patrice Mandin
666b56a4d3 Fixed include files 2006-02-21 21:45:31 +00:00
Sam Lantinga
28b54b4823 Fixed assembly alignment error on Intel Macs.
Do we really need 16-bit alignment here?
2006-02-21 19:28:45 +00:00
Sam Lantinga
91ecb6ef89 *** empty log message *** 2006-02-21 19:27:34 +00:00
Sam Lantinga
45f86131b7 Fixed build warnings on Intel Mac 2006-02-21 19:24:09 +00:00
Sam Lantinga
538f9ed207 Fixed some preprocessor mangling 2006-02-21 18:29:39 +00:00
Sam Lantinga
3e17e7ac74 Whoops, forgot to check in this fix 2006-02-21 18:20:10 +00:00
Sam Lantinga
0230236dd4 *** empty log message *** 2006-02-21 09:14:58 +00:00
Sam Lantinga
65825dce1d Added a test case 2006-02-21 09:11:53 +00:00
Sam Lantinga
5f19c62332 *** empty log message *** 2006-02-21 08:48:12 +00:00
Sam Lantinga
61ae237dcb Catch the C++ and Objective C sources too... 2006-02-21 08:47:46 +00:00
Sam Lantinga
190b425364 Use consistent identifiers for the various platforms we support.
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.
2006-02-21 08:46:50 +00:00
Sam Lantinga
63d76aa5a2 *** empty log message *** 2006-02-21 08:34:45 +00:00
Sam Lantinga
36d9314efa Date: Mon, 20 Feb 2006 19:54:51 -0500
From: Brian Barnes
Subject: [SDL] Fix for FSAA OS X bug -- Please fix in CVS Code

I stopped complaining and went in an fixed the bug myself :)  SDL
always dies if you try to use FSAA on Mac OS X, the problem is in the
file:

SDL_QuartzGL.m
2006-02-21 02:42:05 +00:00
Sam Lantinga
67bb54a064 *** empty log message *** 2006-02-20 23:18:49 +00:00
Sam Lantinga
7724ea509a Whoops. :) 2006-02-20 22:17:05 +00:00
Sam Lantinga
e4dc61adfb Added rules to build libSDLmain.a
Reverted Patrice's mint changes - you should fix the source files, not
add include paths to the build process.
2006-02-20 22:15:38 +00:00
Patrice Mandin
13fff1e268 Add missing include directories 2006-02-20 20:53:52 +00:00
Patrice Mandin
83912dacef Hum badly edited source 2006-02-20 20:53:01 +00:00
Sam Lantinga
0d9407f313 Set the install permissions correctly 2006-02-20 20:11:08 +00:00
Sam Lantinga
4511ef7380 Pass LDFLAGS to the build system 2006-02-20 20:08:29 +00:00