#4982 closed defect (fixed)
Fontsproto-2.1.3 breaks libXfont-1.4.7
Reported by: | Miklos Karacsony | Owned by: | Fernando de Oliveira |
---|---|---|---|
Priority: | normal | Milestone: | 7.6 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
Heres's what I've got, when I tried to build it:
patcache.c:130:1: error: conflicting types for 'CacheFontPattern' CacheFontPattern (FontPatternCachePtr cache, ^ In file included from /scratch/x11/libXfont/work/.buildlink/include/X11/fonts/fontstruct.h:28:0, from patcache.c:35: /scratch/x11/libXfont/work/.buildlink/include/X11/fonts/font.h:141:18: note: previous declaration of 'CacheFontPattern' was here extern void CacheFontPattern ( ^ patcache.c:176:1: error: conflicting types for 'FindCachedFontPattern' FindCachedFontPattern (FontPatternCachePtr cache, ^ In file included from /scratch/x11/libXfont/work/.buildlink/include/X11/fonts/fontstruct.h:28:0, from patcache.c:35: /scratch/x11/libXfont/work/.buildlink/include/X11/fonts/font.h:151:21: note: previous declaration of 'FindCachedFontPattern' was here extern FontPtr FindCachedFontPattern ( ^
Change History (15)
by , 11 years ago
Attachment: | libXfont-1.4.7-fontsproto-fix-1.patch added |
---|
This patch will fix the build
follow-up: 5 comment:3 by , 11 years ago
http://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d279ffa49284b5e5f787f76edbe8c52226534a64
This is official upstream fix.
comment:4 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 11 years ago
Replying to Krejzi:
http://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=d279ffa49284b5e5f787f76edbe8c52226534a64
This is official upstream fix.
Thanks, Armin, but it did not seem to work.
comment:7 by , 11 years ago
Summary: | Fontsproto-2.1.3 breaks LibXft-1.4.7 → Fontsproto-2.1.3 breaks libXfont-1.4.7 |
---|
comment:8 by , 11 years ago
Thanks Miklos K. for reporting and fixing, and Armin K. for confirming.
Fixed at r12990.
comment:9 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:10 by , 11 years ago
You may need more patches from git repo than the one I linked to. I believe I applied more than one to check which one will fix the build.
comment:11 by , 11 years ago
Sorry, I was not precise.
The one you linked to just failed to patch: chunk rejected.
comment:12 by , 11 years ago
Works here, make sure you apply it on clean source. It does however also require this patch in addition to the first one:
http://cgit.freedesktop.org/xorg/lib/libXfont/commit/?id=a96cc1f032a059da89319ceccb6659c8edd446fb
comment:14 by , 11 years ago
Problem was the patch was not properly formed by me.
Modifying the book to use upstream fixes.
Thanks, Armin.
Fixed at r12991.