From 93f9cb7fbfa586cffa1bfb8e4e9cebebca16dc48 Mon Sep 17 00:00:00 2001 From: Niclas Zeising Date: Sat, 22 Aug 2020 22:00:45 +0000 Subject: [PATCH] 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) --- x11-toolkits/xforms/files/patch-fdesign_sp__spinner.c | 11 +++++++++++ x11-toolkits/xforms/files/patch-fdesign_sp__twheel.c | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 x11-toolkits/xforms/files/patch-fdesign_sp__spinner.c create mode 100644 x11-toolkits/xforms/files/patch-fdesign_sp__twheel.c diff --git a/x11-toolkits/xforms/files/patch-fdesign_sp__spinner.c b/x11-toolkits/xforms/files/patch-fdesign_sp__spinner.c new file mode 100644 index 000000000000..1058bd454b6e --- /dev/null +++ b/x11-toolkits/xforms/files/patch-fdesign_sp__spinner.c @@ -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; + + + /*************************************** diff --git a/x11-toolkits/xforms/files/patch-fdesign_sp__twheel.c b/x11-toolkits/xforms/files/patch-fdesign_sp__twheel.c new file mode 100644 index 000000000000..b8dd14a55f1f --- /dev/null +++ b/x11-toolkits/xforms/files/patch-fdesign_sp__twheel.c @@ -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; + + + /***************************************