Code

patches: Added 01-font-path.diff.
[pkg-libkohana2-php.git] / debian / patches / 01-font-path.diff
diff --git a/debian/patches/01-font-path.diff b/debian/patches/01-font-path.diff
new file mode 100644 (file)
index 0000000..5ac0ad3
--- /dev/null
@@ -0,0 +1,17 @@
+Description: Point 'fontpath' to the DejaVu fonts in '/usr/share/fonts/'.
+Author: Sebastian Harl <tokkee@debian.org>
+Forwarded: not-needed
+
+--- libkohana2-php-2.3.4.orig/system/config/captcha.php
++++ libkohana2-php-2.3.4/system/config/captcha.php
+@@ -23,7 +23,7 @@ $config['default'] = array
+       'height'     => 50,
+       'complexity' => 4,
+       'background' => '',
+-      'fontpath'   => SYSPATH.'fonts/',
++      'fontpath'   => '/usr/share/fonts/truetype/ttf-dejavu/',
+       'fonts'      => array('DejaVuSerif.ttf'),
+       'promote'    => FALSE,
+-);
+\ No newline at end of file
++);