diff options
author | Juergen Lock <nox@FreeBSD.org> | 2012-05-23 20:02:47 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2012-05-23 20:02:47 +0000 |
commit | 0d576380206258d7518b375dedbafe06da77d29d (patch) | |
tree | 48bcee0d3101c759ddaf078c214bc826d9470461 /multimedia | |
parent | New port: security/truecrack (diff) |
- Add fix for fontconfig 2.9.0 .
- Bump PORTREVISION.
Notes
Notes:
svn path=/head/; revision=297300
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/vdr/Makefile | 2 | ||||
-rw-r--r-- | multimedia/vdr/files/patch-font.c | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/multimedia/vdr/Makefile b/multimedia/vdr/Makefile index 9949f72545f9..1ea526305a9d 100644 --- a/multimedia/vdr/Makefile +++ b/multimedia/vdr/Makefile @@ -7,7 +7,7 @@ PORTNAME= vdr PORTVERSION= 1.7.27 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia MASTER_SITES= ftp://ftp.tvdr.de/vdr/Developer/ diff --git a/multimedia/vdr/files/patch-font.c b/multimedia/vdr/files/patch-font.c new file mode 100644 index 000000000000..15f960e05777 --- /dev/null +++ b/multimedia/vdr/files/patch-font.c @@ -0,0 +1,12 @@ +--- font.c.orig ++++ font.c +@@ -486,7 +486,8 @@ cString cFont::GetFontFileName(const cha + FcPatternAddBool(pat, FC_SCALABLE, FcTrue); + FcConfigSubstitute(NULL, pat, FcMatchPattern); + FcDefaultSubstitute(pat); +- FcFontSet *fontset = FcFontSort(NULL, pat, FcFalse, NULL, NULL); ++ FcResult fresult; ++ FcFontSet *fontset = FcFontSort(NULL, pat, FcFalse, NULL, &fresult); + if (fontset) { + for (int i = 0; i < fontset->nfont; i++) { + FcBool scalable; |