diff options
author | nox <nox@FreeBSD.org> | 2012-05-24 04:02:47 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2012-05-24 04:02:47 +0800 |
commit | 4dd2d0851940d03f381bd980e9025b99a3712057 (patch) | |
tree | 0671a807d48bf9e3982cf7046069316fe3acca33 /multimedia/vdr | |
parent | b618f756b58e28530773f73d0edd8718e16a1a08 (diff) | |
download | freebsd-ports-gnome-4dd2d0851940d03f381bd980e9025b99a3712057.tar.gz freebsd-ports-gnome-4dd2d0851940d03f381bd980e9025b99a3712057.tar.zst freebsd-ports-gnome-4dd2d0851940d03f381bd980e9025b99a3712057.zip |
- Add fix for fontconfig 2.9.0 .
- Bump PORTREVISION.
Diffstat (limited to 'multimedia/vdr')
-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; |