svn commit: r546092 - in head/math/galculator: . files

Christian Weisgerber naddy at FreeBSD.org
Mon Aug 24 15:05:09 UTC 2020


Author: naddy
Date: Mon Aug 24 15:05:08 2020
New Revision: 546092
URL: https://svnweb.freebsd.org/changeset/ports/546092

Log:
  Zap duplicate definition to fix build with -fno-common.
  
  Reported by:	pkg-fallout

Added:
  head/math/galculator/files/
  head/math/galculator/files/patch-src_config__file.c   (contents, props changed)
Modified:
  head/math/galculator/Makefile

Modified: head/math/galculator/Makefile
==============================================================================
--- head/math/galculator/Makefile	Mon Aug 24 14:57:00 2020	(r546091)
+++ head/math/galculator/Makefile	Mon Aug 24 15:05:08 2020	(r546092)
@@ -2,6 +2,7 @@
 
 PORTNAME=	galculator
 PORTVERSION=	2.1.4
+PORTREVISION=	1
 DISTVERSIONPREFIX=v
 CATEGORIES=	math
 

Added: head/math/galculator/files/patch-src_config__file.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/galculator/files/patch-src_config__file.c	Mon Aug 24 15:05:08 2020	(r546092)
@@ -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},


More information about the svn-ports-head mailing list