[zabbix] - fix font path in patch2 (#630500)

Dan Horák sharkcz at fedoraproject.org
Mon Sep 13 10:02:27 UTC 2010


commit 1504b56ed3f47be577a3505aca112c361aa5b994
Author: Dan Horák <dan at danny.cz>
Date:   Mon Sep 13 12:02:20 2010 +0200

    - fix font path in patch2 (#630500)

 zabbix-1.8.3-fonts-config.patch |    2 +-
 zabbix.spec                     |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/zabbix-1.8.3-fonts-config.patch b/zabbix-1.8.3-fonts-config.patch
index 147ed99..29b3ee4 100644
--- a/zabbix-1.8.3-fonts-config.patch
+++ b/zabbix-1.8.3-fonts-config.patch
@@ -6,7 +6,7 @@ diff -up zabbix-1.8.3/frontends/php/include/defines.inc.php.orig zabbix-1.8.3/fr
  	define('ZBX_WIDGET_ROWS',				20);
  
 -	define('ZBX_FONTPATH',					realpath('fonts'));	// where to search for font (GD > 2.0.18)
-+	define('ZBX_FONTPATH',					'/usr/share/font/dejavu');	// where to search for font (GD > 2.0.18)
++	define('ZBX_FONTPATH',					'/usr/share/fonts/dejavu');	// where to search for font (GD > 2.0.18)
  	define('ZBX_GRAPH_FONT_NAME',			'DejaVuSans');		// font file name
  
  	define('ZBX_SCRIPT_TIMEOUT',			360); // in seconds
diff --git a/zabbix.spec b/zabbix.spec
index 03c4db3..6f2ef51 100644
--- a/zabbix.spec
+++ b/zabbix.spec
@@ -7,7 +7,7 @@
 
 Name:           zabbix
 Version:        1.8.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Open-source monitoring solution for your IT infrastructure
 
 Group:          Applications/Internet
@@ -587,6 +587,9 @@ fi
 
 
 %changelog
+* Mon Sep  6 2010 Dan Horák <dan[at]danny.cz> - 1.8.3-2
+- fix font path in patch2 (#630500)
+
 * Tue Aug 17 2010 Dan Horák <dan[at]danny.cz> - 1.8.3-1
 - updated to 1.8.3
 


More information about the scm-commits mailing list