x11-toolkits/xform: Fix build with -fno-common

Fix the build of x11-toolkits/xform when built with -fno-common, which is
the default with llvm 11.

MFH:		2020Q3 (implicit, -fno-common fixes, ok by joenum)
This commit is contained in:
Niclas Zeising 2020-08-22 22:00:45 +00:00
parent d6dff4bed5
commit 93f9cb7fbf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545787
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- fdesign/sp_spinner.c.orig 2013-12-14 13:26:25 UTC
+++ fdesign/sp_spinner.c
@@ -29,7 +29,7 @@
#include "spec/spinner_spec.h"
static FD_spinnerattrib * spn_attrib;
-FL_OBJECT *curobj;
+static FL_OBJECT * curobj;
/***************************************

View File

@ -0,0 +1,11 @@
--- fdesign/sp_twheel.c.orig 2014-06-28 20:34:29 UTC
+++ fdesign/sp_twheel.c
@@ -38,7 +38,7 @@
#include "spec/twheel_spec.h"
static FD_twheelattrib * twheel_attrib;
-FL_OBJECT * curobj;
+static FL_OBJECT * curobj;
/***************************************