Opened 15 years ago

Closed 15 years ago

#22303 closed defect (fixed)

libsdl_ttf 2.0.9 does not compile against SDL 1.3

Reported by: knabar@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: libsdl_ttf

Description

--->  Building libsdl_ttf
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl_ttf/work/SDL_ttf-2.0.9" && /usr/bin/make -j2 all " returned error 2
Command output: /bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc-4.2  -O2 -arch x86_64 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DHAVE_OPENGL  -L/opt/local/lib -o libSDL_ttf.la -rpath /opt/local/lib -no-undefined -release 2.0 -version-info 6:3:6 SDL_ttf.lo  -L/opt/local/lib -lfreetype -lz -L/opt/local/lib -lSDL
if /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.9\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1  -I. -I.   -I/opt/local/include  -O2 -arch x86_64 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DHAVE_OPENGL -MT glfont.o -MD -MP -MF ".deps/glfont.Tpo" -c -o glfont.o glfont.c; \
	then mv -f ".deps/glfont.Tpo" ".deps/glfont.Po"; else rm -f ".deps/glfont.Tpo"; exit 1; fi
glfont.c: In function 'SDL_GL_LoadTexture':
glfont.c:140: error: 'SDL_PixelFormat' has no member named 'alpha'
make: *** [glfont.o] Error 1

Change History (2)

comment:1 Changed 15 years ago by blb@…

Keywords: snowleopard added
Owner: changed from macports-tickets@… to nox@…
Port: libsdl_ttf added

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Keywords: snowleopard removed
Resolution: fixed
Status: newclosed
Summary: libsdl_ttf 2.0.9 does not compile on Snow Leopardlibsdl_ttf 2.0.9 does not compile against SDL 1.3
Note: See TracTickets for help on using tickets.