Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44117 - patch to make media-video/avifile compile with latest freetype
Summary: patch to make media-video/avifile compile with latest freetype
Status: RESOLVED REMIND
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 49494
  Show dependency tree
 
Reported: 2004-03-09 03:56 UTC by Benoit Boissinot
Modified: 2004-12-20 23:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to correct the inclusion of freetype (avifile-0.7-0.7.38-freetype-compat.patch,490 bytes, patch)
2004-03-09 03:57 UTC, Benoit Boissinot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benoit Boissinot 2004-03-09 03:56:59 UTC
This patch correct the inclusion of freetype. Without it, avifile will not compile with freetype-2.1.7

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Benoit Boissinot 2004-03-09 03:57:20 UTC
Created attachment 27086 [details, diff]
patch to correct the inclusion of freetype
Comment 2 Dick Marinus 2004-07-09 13:56:57 UTC
works perfect for me (~x86)
I hope to see this soon in portage!
Comment 3 Martin Mokrejš 2004-09-17 13:43:01 UTC
It seems the patch fixes this bug when freetype-2.1.9 is installed, at least for me. ;)

c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include -D_REENTRANT -I/usr/include/freetype2 -I./../../drivers/vidix -DVIDIX_LIBDIR=\"/usr/lib/avifile-0.7/vidix/\" -I./../subtitles -Wall -Wno-unused -I../../include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c renderer.cpp  -fPIC -DPIC -o renderer.lo
In file included from sub_ft.cpp:9:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
make[2]: *** [sub_ft.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710-r1/work/avifile-0.7-0.7.38/lib/video'
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2004-10-22 08:18:11 UTC
Please check if avifile-0.7.41.20041001.ebuild works for you. No need to patch old versions if newer ones work fine.
Comment 5 Patrick Kursawe (RETIRED) gentoo-dev 2004-11-12 00:07:22 UTC
No reaction -> closing
Comment 6 foser (RETIRED) gentoo-dev 2004-11-12 06:02:56 UTC
actually there is a need to patch older versions... as soon as the newer freetype gets exposed ppl will build everything in the tree against it. For example the new 2004 snapshot are marked -sparc, so sparc ppl will have this problem with the older versions. And anyone running non-x86 stable atm will also see this.
Comment 7 Chris White (RETIRED) gentoo-dev 2004-12-20 23:45:30 UTC
Reminding myself to bump this tommorow...