Bug 615 - SDL - Patch to add support for Haiku
SDL - Patch to add support for Haiku
Status: RESOLVED FIXED
Product: SDL
Classification: Unclassified
Component: build
1.2.13
x86 Other
: P2 enhancement
Assigned To: Ryan C. Gordon
Sam Lantinga
http://ports.haiku-files.org/browser/...
: target-1.2.14
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-21 10:48 UTC by Scott McCreary
Modified: 2009-09-21 02:21 UTC (History)
1 user (show)

See Also:


Attachments
I checked out the current 1.2 branch and applied the previous haiku patch (2.38 KB, patch)
2008-10-21 17:08 UTC, Scott McCreary
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott McCreary 2008-08-21 10:48:14 UTC
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/
-scottmc
Comment 1 Scott McCreary 2008-10-21 17:08:03 UTC
Created attachment 281 [details]
I checked out the current 1.2 branch and applied the previous haiku patch

We still need to copy in a newer config.guess and config.sub as haiku wasn't defined in those until April 2008.
Then run:
cat $(aclocal --print-ac-dir)/libtool.m4 >> acinclude.m4
libtoolize --force --copy
aclocal
automake
autoconf
./configure --prefix=/boot/common
make
make install 

I tried just running ./autogen.sh but then the shared libraries weren't able to build.
-scottmc
Comment 2 Ryan C. Gordon 2009-09-13 16:33:29 UTC
Tagging this bug with "target-1.2.14" so we can try to resolve it for SDL 1.2.14.

Please note that we may choose to resolve it as WONTFIX. This tag is largely so we have a comprehensive wishlist of bugs to examine for 1.2.14 (and so we can close bugs that we'll never fix, rather than have them live forever in Bugzilla).

--ryan.
Comment 3 Sam Lantinga 2009-09-21 02:21:20 UTC
This is fixed in subversion, thanks!