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:
parent
d6dff4bed5
commit
93f9cb7fbf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545787
11
x11-toolkits/xforms/files/patch-fdesign_sp__spinner.c
Normal file
11
x11-toolkits/xforms/files/patch-fdesign_sp__spinner.c
Normal 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;
|
||||
|
||||
|
||||
/***************************************
|
11
x11-toolkits/xforms/files/patch-fdesign_sp__twheel.c
Normal file
11
x11-toolkits/xforms/files/patch-fdesign_sp__twheel.c
Normal 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;
|
||||
|
||||
|
||||
/***************************************
|
Loading…
Reference in New Issue
Block a user