openbsd-ports/multimedia/devede/patches/patch-devede_fonts_py
kili 698eb5d70e Fix broken patch.
Found by naddy@

"please commit" ajacoutot@
2009-08-13 21:09:55 +00:00

13 lines
692 B
Plaintext

$OpenBSD: patch-devede_fonts_py,v 1.2 2009/08/13 21:09:55 kili Exp $
--- devede_fonts.py.orig Fri Jul 17 00:19:27 2009
+++ devede_fonts.py Wed Aug 12 21:45:09 2009
@@ -29,7 +29,7 @@ def prepare_devede_font(home,font_path):
It's made this way because Red Hat package mandates removing font files
from RPM files, so DeVeDe must search in several directories """
- path_list=[font_path,"/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf","/usr/share/fonts/truetype/ttf-dejavu/dejavusans.ttf"]
+ path_list=[font_path,"${LOCALBASE}/lib/X11/fonts/dejavu/DejaVuSans.ttf","${LOCALBASE}/lib/X11/fonts/dejavu/dejavusans.ttf"]
#if our font for subtitles isn't installed, we install it