Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2020 16:50:06 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r546753 - head/x11-wm/enlightenment/files
Message-ID:  <202008281650.07SGo6Jm064428@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008281650.07SGo6Jm064428>