diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2020-08-24 15:05:08 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2020-08-24 15:05:08 +0000 |
commit | 31d913a08ade477b55cd72200e8ae0958b37023d (patch) | |
tree | 84c4c384dffad6ff464742fa4ace8f21efa1467a /math/galculator | |
parent | 17d8c3cb864f79816b1b404201827a3708839819 (diff) | |
download | ports-31d913a08ade477b55cd72200e8ae0958b37023d.tar.gz ports-31d913a08ade477b55cd72200e8ae0958b37023d.zip |
Zap duplicate definition to fix build with -fno-common.
Reported by: pkg-fallout
Notes
Notes:
svn path=/head/; revision=546092
Diffstat (limited to 'math/galculator')
-rw-r--r-- | math/galculator/Makefile | 1 | ||||
-rw-r--r-- | math/galculator/files/patch-src_config__file.c | 10 |
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}, |