File: 0005-Adapt-tcpdf-path.patch

package info (click to toggle)
php-dompdf 0.6.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 4,208 kB
  • ctags: 5,137
  • sloc: php: 19,618; makefile: 39; sh: 13
file content (24 lines) | stat: -rw-r--r-- 736 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
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Wed, 16 Oct 2013 11:03:18 -0400
Subject: Adapt tcpdf path

The Debian package depends on the needed classes instead of embedding
them, i.e php-tcpdf.
Forwarded: not-needed
---
 include/tcpdf_adapter.cls.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/tcpdf_adapter.cls.php b/include/tcpdf_adapter.cls.php
index a3ecc5a..c888b4f 100644
--- a/include/tcpdf_adapter.cls.php
+++ b/include/tcpdf_adapter.cls.php
@@ -6,7 +6,7 @@
  * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
  */
 
-require_once DOMPDF_LIB_DIR . '/tcpdf/tcpdf.php';
+require_once 'tcpdf/tcpdf.php';
 
 /**
  * TCPDF PDF Rendering interface