Skip to content

Commit

Permalink
Fixed bug #615
Browse files Browse the repository at this point in the history
 Scott McCreary      2008-08-21 10:48:14 PDT

This patch adds support for Haiku.
http://ports.haiku-files.org/browser/haikuports/trunk/media-libs/libsdl/SDL-1.2.13-haiku.diff
Haiku is an open-source recreation of BeOS.  It has better POSIX compliance
than beOS did, and other improved features, which in some cases causes us to
have to "undo" previous BeOS workarounds.
Here's our port log entry for it, showing the steps to force the changes into
configure and Makefile:
http://ports.haiku-files.org/wiki/media-libs/libsdl/1.2.13/1
Note that this was only tried on 1.2.13 stable so far.
Haiku is using a newer config.guess / config.sub that doesn't yet seem to be in
the released libtool, so we are having to copy it in for now.
http://haiku-files.org/files/optional-packages/
  • Loading branch information
slouken committed Sep 21, 2009
1 parent 5b0ef3e commit 987e1d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/testplatform.c
Expand Up @@ -154,6 +154,9 @@ int main(int argc, char *argv[])
printf("This system is running %s\n",
#if __AIX__
"AIX"
#elif __HAIKU__
/* Haiku must appear here before BeOS, since it also defines __BEOS__ */
"Haiku"
#elif __BEOS__
"BeOS"
#elif __BSDI__
Expand All @@ -162,8 +165,6 @@ int main(int argc, char *argv[])
"Dreamcast"
#elif __FREEBSD__
"FreeBSD"
#elif __HAIKU__
"Haiku"
#elif __HPUX__
"HP-UX"
#elif __IRIX__
Expand Down

0 comments on commit 987e1d0

Please sign in to comment.