Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Aug 2019 13:59:25 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r508171 - in head/audio/mixxx21: . files
Message-ID:  <201908051359.x75DxPqT059867@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon Aug  5 13:59:25 2019
New Revision: 508171
URL: https://svnweb.freebsd.org/changeset/ports/508171

Log:
  audio/mixxx21: fix build on non-x86
  
  Ports shouldn't optimize for the builder's CPU. It also breaks build on non-x86.
  
  Also include sys/types.h in plugins/soundsourcem4a/soundsourcem4a.h. GCC needs it.
  
  PR:		239322
  Approved by:	acm (maintainer timeout), tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D21146

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

Modified: head/audio/mixxx21/Makefile
==============================================================================
--- head/audio/mixxx21/Makefile	Mon Aug  5 13:53:19 2019	(r508170)
+++ head/audio/mixxx21/Makefile	Mon Aug  5 13:59:25 2019	(r508171)
@@ -4,7 +4,7 @@
 PORTNAME=	mixxx
 DISTVERSIONPREFIX=	release-
 DISTVERSION=	2.1.8
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	audio
 PKGNAMESUFFIX=  21
 
@@ -15,7 +15,6 @@ LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BROKEN_aarch64=		fails to compile: Exception("invalid machine type")
-BROKEN_powerpc64=	fails to configure: unmet dependencies: Could not find libprotobuf, libchromaprint, libmp4, and libwavpack
 
 LIB_DEPENDS=	libchromaprint.so:audio/chromaprint \
 		libFLAC.so:audio/flac \
@@ -47,7 +46,7 @@ USE_QT=		buildtools concurrent core dbus gui network o
 CONFLICTS=	mixxx20* mixxx
 
 MAKE_ARGS=	qtdir="${PREFIX}" install_root="${PREFIX}" \
-		build=release optimize=native ${GUI} battery=0 vamp=1 modplug=1
+		build=release optimize=off ${GUI} battery=0 vamp=1 modplug=1
 LATE_INSTALL_ARGS=	--install-sandbox=${STAGEDIR}
 
 GUI=		qt5=1

Added: head/audio/mixxx21/files/patch-plugins_soundsourcem4a_soundsourcem4a.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/mixxx21/files/patch-plugins_soundsourcem4a_soundsourcem4a.h	Mon Aug  5 13:59:25 2019	(r508171)
@@ -0,0 +1,11 @@
+--- plugins/soundsourcem4a/soundsourcem4a.h.orig	2019-07-19 22:36:09 UTC
++++ plugins/soundsourcem4a/soundsourcem4a.h
+@@ -5,6 +5,8 @@
+ 
+ #include "util/readaheadsamplebuffer.h"
+ 
++#include <sys/types.h>
++
+ #ifdef __MP4V2__
+ #include <mp4v2/mp4v2.h>
+ #else



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