HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #493 (closed task: fixed)

Opened 4 years ago

Last modified 23 months ago

SDL 1.3 needs to be updated to support newly added features.

Reported by: scottmc Owned by:
Priority: normal Milestone:
Component: media-libs/libsdl Version:
Severity: normal Keywords:
Cc:

Description

The SDL Haiku port is falling behind the ports for other platform and needs to have some work done on it to catch it back up.

Change History

comment:1 Changed 4 years ago by scottmc

The libsdl-1.3-hg bep file now builds SDL-1.3 up to an error in some newly added code:

/bin/sh ./libtool --mode=compile gcc -g -O2  -I./include   -c src/audio/SDL_wave.c -o build/SDL_wave.lo
libtool: compile:  gcc -g -O2 -I./include -c src/audio/SDL_wave.c -o build/SDL_wave.o
/bin/sh ./libtool --mode=compile gcc -g -O2  -I./include   -c src/atomic/SDL_atomic.c -o build/SDL_atomic.lo
libtool: compile:  gcc -g -O2 -I./include -c src/atomic/SDL_atomic.c -o build/SDL_atomic.o
/bin/sh ./libtool --mode=compile gcc -g -O2  -I./include   -c src/atomic/SDL_spinlock.c -o build/SDL_spinlock.lo
libtool: compile:  gcc -g -O2 -I./include -c src/atomic/SDL_spinlock.c -o build/SDL_spinlock.o
/boot/develop/haikuports/media-libs/libsdl/work/libsdl-1.3-hg/src/atomic/SDL_spinlock.c: In function `SDL_AtomicTryLock':
/boot/develop/haikuports/media-libs/libsdl/work/libsdl-1.3-hg/src/atomic/SDL_spinlock.c:64: `__need_spinlock_implementation__' undeclared (first use in this function)
/boot/develop/haikuports/media-libs/libsdl/work/libsdl-1.3-hg/src/atomic/SDL_spinlock.c:64: (Each undeclared identifier is reported only once
/boot/develop/haikuports/media-libs/libsdl/work/libsdl-1.3-hg/src/atomic/SDL_spinlock.c:64: for each function it appears in.)
/boot/develop/haikuports/media-libs/libsdl/work/libsdl-1.3-hg/src/atomic/SDL_spinlock.c:64: parse error before `}'

Skipping past that part for now it will then next fail in SDL_BWin.c

So if there is someone who'd like to work on this, install Haikuporter and then run:

haikuporter -i libsdl-1.3-hg

comment:2 Changed 4 years ago by scottmc

  • Owner scottmc deleted

comment:3 Changed 23 months ago by scottmc

  • Resolution set to fixed
  • Status changed from new to closed

sdl 2.0 has now been released and it's mostly working on haiku, so closing this out as fixed.

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/