Code

Add patch to fix path to FPDI
authorSven Velt <sven@velt.de>
Wed, 26 Jan 2011 13:47:46 +0000 (14:47 +0100)
committerSven Velt <sven@velt.de>
Wed, 26 Jan 2011 13:47:46 +0000 (14:47 +0100)
debian/patches/fix-path-fpdi [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/fix-path-fpdi b/debian/patches/fix-path-fpdi
new file mode 100644 (file)
index 0000000..ce5c8d9
--- /dev/null
@@ -0,0 +1,13 @@
+Index: pkg-pnp4nagios/share/pnp/application/controllers/pdf.php
+===================================================================
+--- pkg-pnp4nagios.orig/share/pnp/application/controllers/pdf.php      2011-01-26 14:46:34.895054016 +0100
++++ pkg-pnp4nagios/share/pnp/application/controllers/pdf.php   2011-01-26 14:46:45.583054015 +0100
+@@ -267,7 +267,7 @@
+ *
+ */
+ require Kohana::find_file('vendor/fpdf', 'fpdf');
+-require Kohana::find_file('vendor/fpdf', 'fpdi');
++require Kohana::find_file('vendor/fpdi', 'fpdi');
+ class PDF extends FPDI {
+         //Page header
+         function Header() {
index 7cb3847b14e42efabf8e0795555a57232c0c4cdd..8214a08b36a9d1e95a3f4bedce77e9426c157ff8 100644 (file)
@@ -1,3 +1,4 @@
+fix-path-fpdi
 apache-fix-path-to-userfile
 raise-process-perfdata-timeout
 fix-npcd-path