Dash:
[t2.git] / package / www / owb / hotfix.patch
blob426442c3dc7455101b495c8e7c1d4dd0b6481dc9
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../owb/compile.patch
5 # Copyright (C) 2007 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- trunk/BAL/CMakeConf.txt.vanilla 2007-10-08 16:34:25.000000000 +0200
18 +++ trunk/BAL/CMakeConf.txt 2007-10-08 16:34:47.000000000 +0200
19 @@ -340,7 +340,7 @@
21 IF (WEBKIT_USE_FONTS_FREETYPE OR WEBKIT_USE_FONTS_SDL_TTF)
22 SET (OWB_DEFAULT_FONT "Vera.ttf" CACHE STRING "Font selection for browser font-rendering")
23 - EXEC_PROGRAM (find ARGS /usr/share/fonts/ -name ${OWB_DEFAULT_FONT} OUTPUT_VARIABLE OWB_DEFAULT_FONT)
24 + EXEC_PROGRAM (find ARGS /usr/X11R7/lib/X11/fonts/TTF/ -name ${OWB_DEFAULT_FONT} OUTPUT_VARIABLE OWB_DEFAULT_FONT)
25 IF (EXISTS ${OWB_DEFAULT_FONT})
26 EXEC_PROGRAM (ln ARGS -sf ${OWB_DEFAULT_FONT} /usr/share/fonts/owb.ttf OUTPUT_VARIABLE OWB_DEFAULT_FONT)
27 ELSE (EXISTS ${OWB_DEFAULT_FONT})