forked from pool/libbluray
Accepting request 210594 from openSUSE:Factory:Staging:freetype2
Added use-recommended-freetype-include.patch -- needed for freetype2 2.5.1 OBS-URL: https://build.opensuse.org/request/show/210594 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libbluray?expand=0&rev=18
This commit is contained in:
parent
80b56fa66c
commit
7a3fa90d63
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 11 18:29:00 UTC 2013 - hrvoje.senjan@gmail.com
|
||||
|
||||
- Added use-recommended-freetype-include.patch -- Freetype upstream
|
||||
recommends using their macros together with ft2build include.
|
||||
Positive sideeffect is that this patch makes it build with both
|
||||
freetype2 2.5.1, and older version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 4 19:46:37 UTC 2013 - zaitor@opensuse.org
|
||||
|
||||
|
@ -25,6 +25,9 @@ License: LGPL-2.1+
|
||||
Group: Productivity/Multimedia/Other
|
||||
Url: http://bd.videolan.org
|
||||
Source: ftp://ftp.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
||||
# PATCH-FIX-UPSTREAM use-recommended-freetype-include.patch -- Freetype upstream recommends using their macros together with
|
||||
# ft2build include. Positive sideeffect is that this patch makes it build with both freetype2 2.5.1, and older versions
|
||||
Patch0: use-recommended-freetype-include.patch
|
||||
Source99: baselibs.conf
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
@ -66,6 +69,7 @@ MPlayer). We, the authors of this library, do not condone nor endorse piracy.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
|
13
use-recommended-freetype-include.patch
Normal file
13
use-recommended-freetype-include.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/libbluray/decoders/textst_render.c b/src/libbluray/decoders/textst_render.c
|
||||
index 780b640..ffcb1bd 100644
|
||||
--- a/src/libbluray/decoders/textst_render.c
|
||||
+++ b/src/libbluray/decoders/textst_render.c
|
||||
@@ -30,7 +30,7 @@
|
||||
#ifdef HAVE_FT2
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
-#include <freetype/ftsynth.h>
|
||||
+#include FT_SYNTHESIS_H
|
||||
#endif
|
||||
|
||||
#include "textst_render.h"
|
Loading…
x
Reference in New Issue
Block a user