svn commit: r546753 - head/x11-wm/enlightenment/files
Niclas Zeising
zeising at FreeBSD.org
Fri Aug 28 16:50:07 UTC 2020
Author: zeising
Date: Fri Aug 28 16:50:06 2020
New Revision: 546753
URL: https://svnweb.freebsd.org/changeset/ports/546753
Log:
x11-wm/enlightenment: Fix build with -fno-common
Fix build of x11-wm/enlightenment with -fno-common, which is the default
with llvm 11. Patch adapted from upstream.
MFH: 2020Q3 (implicit, -fno-common fixes, ok by joenum)
Added:
head/x11-wm/enlightenment/files/patch-8392fc47.c (contents, props changed)
Added: head/x11-wm/enlightenment/files/patch-8392fc47.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/enlightenment/files/patch-8392fc47.c Fri Aug 28 16:50:06 2020 (r546753)
@@ -0,0 +1,35 @@
+From 8392fc4769466700fc9644c734ad5b010be28655 Mon Sep 17 00:00:00 2001
+From: "Carsten Haitzler (Rasterman)" <raster at rasterman.com>
+Date: Sun, 10 May 2020 18:11:43 +0100
+Subject: emix - fix symbols to point to correct extern sym
+
+---
+ src/modules/mixer/lib/emix.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+(limited to 'src/modules/mixer/lib/emix.c')
+
+diff --git a/src/modules/mixer/lib/emix.c b/src/modules/mixer/lib/emix.c
+index 65f9cb33f..cb8ea128b 100644
+--- src/modules/mixer/lib/emix.c
++++ src/modules/mixer/lib/emix.c
+@@ -5,12 +5,12 @@
+ #include "emix.h"
+
+ #ifdef HAVE_PULSE
+-E_API Emix_Backend *emix_backend_pulse_get(void);
+-E_API const char *emix_backend_pulse_name;
++E_API Emix_Backend *emix_backend_pulse_get(void);
++E_API extern const char *emix_backend_pulse_name;
+ #endif
+ #ifdef HAVE_ALSA
+-E_API Emix_Backend *emix_backend_alsa_get(void);
+-E_API const char *emix_backend_alsa_name;
++E_API Emix_Backend *emix_backend_alsa_get(void);
++E_API extern const char *emix_backend_alsa_name;
+ #endif
+
+ static int _log_domain;
+--
+cgit v1.2.1
+
More information about the svn-ports-head
mailing list