File: 0004-Adapt-php-font-lib-path.patch

package info (click to toggle)
php-dompdf 0.6.1%2Bdfsg-2%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 4,656 kB
  • ctags: 7,083
  • sloc: php: 19,618; makefile: 38; sh: 13
file content (25 lines) | stat: -rw-r--r-- 766 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Fri, 7 Feb 2014 22:14:53 -0400
Subject: Adapt php-font-lib path

The Debian package depends on the needed classes instead of embedding
them, i.e. php-font-lib.

Forwarded: not-needed
---
 dompdf_config.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dompdf_config.inc.php b/dompdf_config.inc.php
index 2bef44a..2293f9d 100644
--- a/dompdf_config.inc.php
+++ b/dompdf_config.inc.php
@@ -329,7 +329,7 @@ require_once(DOMPDF_LIB_DIR . "/html5lib/Parser.php");
  */
 if (DOMPDF_ENABLE_AUTOLOAD) {
   require_once(DOMPDF_INC_DIR . "/autoload.inc.php");
-  require_once(DOMPDF_LIB_DIR . "/php-font-lib/classes/Font.php");
+  require_once("php-font-lib/classes/Font.php");
 }
 
 /**