summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/galculator/Makefile1
-rw-r--r--math/galculator/files/patch-src_config__file.c10
2 files changed, 11 insertions, 0 deletions
diff --git a/math/galculator/Makefile b/math/galculator/Makefile
index c2c3cd65d1c0..c2aca99a40e3 100644
--- a/math/galculator/Makefile
+++ b/math/galculator/Makefile
@@ -2,6 +2,7 @@
PORTNAME= galculator
PORTVERSION= 2.1.4
+PORTREVISION= 1
DISTVERSIONPREFIX=v
CATEGORIES= math
diff --git a/math/galculator/files/patch-src_config__file.c b/math/galculator/files/patch-src_config__file.c
new file mode 100644
index 000000000000..8dea6fd9ff0d
--- /dev/null
+++ b/math/galculator/files/patch-src_config__file.c
@@ -0,0 +1,10 @@
+--- src/config_file.c.orig 2015-09-05 19:24:27 UTC
++++ src/config_file.c
+@@ -39,7 +39,6 @@
+ #include "config_file.h"
+ #include "general_functions.h"
+
+-s_preferences prefs;
+ static s_prefs_entry prefs_list[53] = {
+ {"display_bkg_color", &(prefs.bkg_color), STRING, "prefs_bkg_color_button", set_button_color},
+ {"display_result_font", &(prefs.result_font), STRING, "prefs_result_font", set_button_font},