SHA256
1
0
forked from pool/vlc
vlc/fix_font_path.patch
Marcus Rueckert 851922f51f Accepting request 200846 from home:dimstar:branches:multimedia:libs
- Update to version 2.1.0:
  + Important changes:
    - The licenses of numerous modules have changed from GPLv2+ to
      LGPLv2.1+.
    - Discontinued support for PowerPC-based Macs; VLC now requires
      Mac OS X 10.6+.
    - The --with-tuning and --without-tuning options are removed;
      to tune compilation for a specific processor type, set CFLAGS
      manually.
  + LOTS of updates all over. See NEWS for a full overview.
- Rebase fix_font_path.patch.
- Rebase 0001-no-return-in-non-void.patch.
- Drop vlc-avcodec-encoder-single-threaded.patch: fixed upstream.
- Drop ppc64_altivec.patch: fixed upstream.

OBS-URL: https://build.opensuse.org/request/show/200846
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=41
2013-09-26 16:41:07 +00:00

17 lines
842 B
Diff

Index: vlc-2.1.0/modules/text_renderer/freetype.c
===================================================================
--- vlc-2.1.0.orig/modules/text_renderer/freetype.c
+++ vlc-2.1.0/modules/text_renderer/freetype.c
@@ -67,9 +67,9 @@
# define SYSTEM_DEFAULT_MONOSPACE_FONT_FILE "/system/fonts/DroidSansMono.ttf"
# define SYSTEM_DEFAULT_MONOSPACE_FAMILY "Droid Sans Mono"
#else
-# define SYSTEM_DEFAULT_FONT_FILE "/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf"
+# define SYSTEM_DEFAULT_FONT_FILE "/usr/share/fonts/truetype/FreeSerifBold.ttf"
# define SYSTEM_DEFAULT_FAMILY "Serif Bold"
-# define SYSTEM_DEFAULT_MONOSPACE_FONT_FILE "/usr/share/fonts/truetype/freefont/FreeMono.ttf"
+# define SYSTEM_DEFAULT_MONOSPACE_FONT_FILE "/usr/share/fonts/truetype/FreeMono.ttf"
# define SYSTEM_DEFAULT_MONOSPACE_FAMILY "Monospace"
#endif