tag 370147 patch
thanks dude

On Sat, Jun 03, 2006, Martin Michlmayr wrote:
> Package: adonthell
> Version: 0.3.4.cvs.20050813-2
> Severity: serious
>
> > Automatic build of adonthell_0.3.4.cvs.20050813-2 on swarm by sbuild/mipsel 
> > 0.45
> ...
> > if mipsel-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -DOGG_MUSIC 
> > -I/usr/include/SDL -D_REENTRANT -I/usr/include -I/usr/include/python2.3 
> > -DPY_DEBUG -I/usr/include/freetype2   -g -Wall -fno-exceptions -MT 
> > SDL_ttf.o -MD -MP -MF ".deps/SDL_ttf.Tpo" \
> >       -c -o SDL_ttf.o `test -f 'SDL_ttf.c' || echo './'`SDL_ttf.c; \
> >     then mv -f ".deps/SDL_ttf.Tpo" ".deps/SDL_ttf.Po"; \
> >     else rm -f ".deps/SDL_ttf.Tpo"; exit 1; \
> >     fi
> > SDL_ttf.c:46:10: error: #include expects "FILENAME" or <FILENAME>
> > SDL_ttf.c: In function 'TTF_OpenFontIndexRW':
> > SDL_ttf.c:273: error: dereferencing pointer to incomplete type
> > make[4]: *** [SDL_ttf.o] Error 1
> > make[4]: Leaving directory `/build/tbm/adonthell-0.3.4.cvs.20050813/src'

Here is a patch that fixes the FTBFS. It may be uploaded by the end of
the week as part of the current 0-day NMU policy.

I hope this helps,
-- 
adn
Mohammed Adnène Trojette
diff -u adonthell-0.3.4.cvs.20050813/debian/changelog 
adonthell-0.3.4.cvs.20050813/debian/changelog
--- adonthell-0.3.4.cvs.20050813/debian/changelog
+++ adonthell-0.3.4.cvs.20050813/debian/changelog
@@ -1,3 +1,10 @@
+adonthell (0.3.4.cvs.20050813-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove obsolete internal objects include (Closes: #370147)
+
+ -- Mohammed Adnène Trojette <[EMAIL PROTECTED]>  Tue,  6 Jun 2006 10:21:05 
+0200
+
 adonthell (0.3.4.cvs.20050813-2) unstable; urgency=low
 
   * Fix build problem with g++ 4.1 (Closes: #356171)
only in patch2:
unchanged:
--- adonthell-0.3.4.cvs.20050813.orig/src/SDL_ttf.c
+++ adonthell-0.3.4.cvs.20050813/src/SDL_ttf.c
@@ -43,7 +43,6 @@
 #include FT_FREETYPE_H
 #include FT_OUTLINE_H
 #include FT_TRUETYPE_IDS_H
-#include FT_INTERNAL_OBJECTS_H
 
 #include "SDL.h"
 #include "SDL_endian.h"
@@ -270,7 +269,7 @@
        }
        memset(stream, 0, sizeof(*stream));
 
-       stream->memory = library->memory;
+       stream->memory = NULL;
        stream->read = RWread;
        stream->descriptor.pointer = src;
        stream->pos = (unsigned long)position;

Reply via email to