Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2021 20:01:49 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561865 - in head/audio/klystrack: . files
Message-ID:  <202101172001.10HK1n3u082418@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sun Jan 17 20:01:49 2021
New Revision: 561865
URL: https://svnweb.freebsd.org/changeset/ports/561865

Log:
  Fix build with clan11

Added:
  head/audio/klystrack/files/patch-klystron_src_gui_menu.h   (contents, props changed)
Modified:
  head/audio/klystrack/Makefile

Modified: head/audio/klystrack/Makefile
==============================================================================
--- head/audio/klystrack/Makefile	Sun Jan 17 19:38:44 2021	(r561864)
+++ head/audio/klystrack/Makefile	Sun Jan 17 20:01:49 2021	(r561865)
@@ -12,15 +12,13 @@ COMMENT=	Tracker for making C64/NES/Amiga-style chiptu
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_FreeBSD_13=	ld: error: duplicate symbol: menu_
-
 LIB_DEPENDS=	libasound.so:audio/alsa-lib
 
 USES=		compiler:c11 desktop-file-utils dos2unix gmake localbase:ldconfig \
 		sdl
 DOS2UNIX_FILES=	klystron/Makefile klystron/tools/editor/Makefile \
 		klystron/tools/makebundle/Makefile Makefile player/Makefile \
-		scancode-tool/Makefile
+		scancode-tool/Makefile klystron/src/gui/menu.h
 USE_CSTD=	c99
 USE_GITHUB=	yes
 GH_ACCOUNT=	kometbomb

Added: head/audio/klystrack/files/patch-klystron_src_gui_menu.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/klystrack/files/patch-klystron_src_gui_menu.h	Sun Jan 17 20:01:49 2021	(r561865)
@@ -0,0 +1,11 @@
+--- klystron/src/gui/menu.h.orig	2021-01-17 17:28:54 UTC
++++ klystron/src/gui/menu.h
+@@ -25,7 +25,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+ OTHER DEALINGS IN THE SOFTWARE.
+ */
+ 
+-struct menu_t
++extern struct menu_t
+ {
+ 	int flags;
+ 	const struct menu_t *parent;



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