Package: libsdl-sge / 030809dfsg-11
Metadata
| Package | Version | Patches format |
|---|---|---|
| libsdl-sge | 030809dfsg-11 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| fix ftbfs 892448.patch | (download) |
Makefile.conf |
6 3 + 3 - 0 ! |
--- |
| 001_makefile_fixes.diff | (download) |
Makefile |
7 4 + 3 - 0 ! |
--- |
| 004_legacy_functions.diff | (download) |
sge_tt_text.cpp |
13 13 + 0 - 0 ! |
--- |
| 005_freetype_support.diff | (download) |
sge_tt_text.cpp |
9 5 + 4 - 0 ! |
--- |
| 006_freetype2_fixes.diff | (download) |
sge_tt_text.cpp |
3 1 + 2 - 0 ! |
--- |
| 010_examples.diff | (download) |
examples/Makefile |
22 4 + 18 - 0 ! |
--- |
| 015_overflow.diff | (download) |
sge_collision.cpp |
4 2 + 2 - 0 ! |
--- |
| 100_font.diff | (download) |
examples/alpha.cpp |
2 1 + 1 - 0 ! |
--- |
| cross.patch | (download) |
Makefile |
10 6 + 4 - 0 ! |
--- |
| fix build of example apps due to bad virtual method.patch | (download) |
sge_shape.h |
6 3 + 3 - 0 ! |
a virtual inline empty method can't be defined, because the implementation won't be used.
Newer gcc/binutils are now picky about this, making the link fail
223 | sge_BF_textoutf(screen, font, screen->w/2+6, 20, "%s - %.0f/s.",title,((double)testloops*1000)/(stop-start));\
| ^~~~~~~~~~~~~~
speedtest.cpp:472:33: note: in expansion of macro RUN_TEST_RIGHT
472 | RUN_TEST_RIGHT(screen,"Colored bitmap text",4000,100,false,sge_BF_SetColor(cfont,r[i],g[i],b[i]);sge_BF_textout(screen, cfont, "Hello World!", xr1[i], y1[i]));
| ^~~~~~~~~~~~~~
g++ -o speedtest speedtest.o `sdl-config --libs` -lSGE
g++ `sdl-config --cflags` -c sprite.cpp
In file included from /usr/include/SDL/sge_textpp.h:33,
from /usr/include/SDL/sge.h:25,
from sprite.cpp:4:
/usr/include/SDL/sge_shape.h:185:29: warning: inline function virtual void sge_surface::clear(Uint32) used but never defined
185 | virtual inline void clear(Uint32 color);
| ^~~~~
g++ -o sprite sprite.o `sdl-config --libs` -lSGE
/usr/bin/ld: sprite.o: in function `main':
sprite.cpp:(.text+0x484): undefined reference to `sge_surface::clear(unsigned int)'
/usr/bin/ld: sprite.cpp:(.text+0x498): undefined reference to `sge_surface::clear(unsigned int)'
collect2: error: ld returned 1 exit status
|
