From nobody Tue Mar 01 18:54:40 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 18BE119EAB28; Tue, 1 Mar 2022 18:54:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K7RJ14PgTz4k9g; Tue, 1 Mar 2022 18:54:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646160881; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KZuqOGAuzh77T1ZV8xAuS8u11EzbNoPeYP54eOE8OtQ=; b=iUPKJ3s1Z7sI8YtUISEA4quxWT4xbJecYUhKNE7P3MPprwwO4J9ItyJuOuxyZCy8xAEJWB hZYBIqK5OxyKBDcXqgajzxWAviUE8V/c0CdV9W3FPMJqQCSqqQf2RpNjrgBQ+/zhN/U6NZ 9qluLXIAGWzt4iLjXSU0DjXvZhEunGjQbTkgIHnkcHSg5K7JMkLC8yPqje9HTEq6nosywS yiLbIrpe9MDjUoGeit0JKIZznjI0/9kk90b7A6qtPdVqZtXDYB4ooqOFGVbWvFdkYv0H7S qv8jeNhMdT+jQ/PMTEteSEuwAZ9XXlMdSSGzISuyn3kY1Iq5aT/6QY/btjgBfQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C3F5A1503E; Tue, 1 Mar 2022 18:54:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 221IseVR088278; Tue, 1 Mar 2022 18:54:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 221IsevA088277; Tue, 1 Mar 2022 18:54:40 GMT (envelope-from git) Date: Tue, 1 Mar 2022 18:54:40 GMT Message-Id: <202203011854.221IsevA088277@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 491f8bf3707c - main - audio/festalon: add support for powerpc, powerpc64 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 491f8bf3707cd3073822be5831bbd92b55edc265 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646160881; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KZuqOGAuzh77T1ZV8xAuS8u11EzbNoPeYP54eOE8OtQ=; b=aAf0fpfpXsteA7g6aBVwZOoJnUoIxw15Oj8q1yKLsXCzZmy2PmzWi6slakEx9KjxPIt67M kAkMpkQDyddcEQPkPwGp6DMCC+1H1wkfVBM4lkqCtaalKdgQD9a3LDv/w7P6HdE3Z3Pi5w tLqmuEn6L3m5vMcRYL0PbKyU9deDjV7/FiWH1Jh6RAdrKzFRC1DzLTqCatYXSsHAsUyDDe MLmZBnYQWHuafAl/RUdWbLOwzXUD2/wlpPdP0gCiiM5WBxCNQXxSgeS02hF62UTfyWWW6q 7cM3r1DMZSE7O23N+0Y2RnfBCEONBnSYeKv/HLEFH1mvfuZUT/0DyV0xc296sA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646160881; a=rsa-sha256; cv=none; b=qvoYQA0gpxxwsL3hxXHxqmx6emX7tqaF3sSPMbIlbGtB9OQD72GpaZ7NsdgWNxLhO4SoSp gvbtTM5Lu00NYRWxZDH0/b0VH0AVwhNkfSJ1vpLsYDFeHu/icc0WdSXbM6VLMyPtENx3qg BXR9WYDV+BtsgYwWPd3m9ybZ9FeZ9xQRxdMNTI/9ICiEaKF0N/S/X6jGzg4ONTMZA77sIK qlteMi+BfJbW4NkqirdDhsyrvnA/HY3OpwvB2cN+QVwOecIbgZCYhkYAzDKu4i9VmacWt9 yK6lEnE9zUm5LUsl77BbM8U4xTKVCxJfWQcLV+SrGXh92MGdOANl8xhWHEbEqA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=491f8bf3707cd3073822be5831bbd92b55edc265 commit 491f8bf3707cd3073822be5831bbd92b55edc265 Author: Piotr Kubaj AuthorDate: 2022-03-01 18:47:09 +0000 Commit: Piotr Kubaj CommitDate: 2022-03-01 18:47:09 +0000 audio/festalon: add support for powerpc, powerpc64 1. Clang needs -maltivec. 2. Include altivec.h to make AltiVec actually available. --- audio/festalon/Makefile | 2 +- audio/festalon/files/patch-configure | 11 +++++++++++ audio/festalon/files/patch-src_filter.c | 13 +++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/audio/festalon/Makefile b/audio/festalon/Makefile index a7fe7297f28a..e762536ecf20 100644 --- a/audio/festalon/Makefile +++ b/audio/festalon/Makefile @@ -13,7 +13,7 @@ COMMENT= Command line player for .nsf and .hes audio files LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS= amd64 powerpc powerpc64 LIB_DEPENDS= libsamplerate.so:audio/libsamplerate diff --git a/audio/festalon/files/patch-configure b/audio/festalon/files/patch-configure new file mode 100644 index 000000000000..728e8fc70528 --- /dev/null +++ b/audio/festalon/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig 2022-03-01 14:06:45 UTC ++++ configure +@@ -20915,7 +20915,7 @@ else + fi + + elif expr x"$target_cpu" : 'xpowerpc' > /dev/null; then +- CFLAGS="-faltivec $CFLAGS" ++ CFLAGS="-maltivec $CFLAGS" + cat >>confdefs.h <<\_ACEOF + #define ARCH_POWERPC 1 + _ACEOF diff --git a/audio/festalon/files/patch-src_filter.c b/audio/festalon/files/patch-src_filter.c new file mode 100644 index 000000000000..e4f7aa9d1ee7 --- /dev/null +++ b/audio/festalon/files/patch-src_filter.c @@ -0,0 +1,13 @@ +--- src/filter.c.orig 2022-03-01 18:15:52 UTC ++++ src/filter.c +@@ -20,6 +20,10 @@ + #include + #include + ++#ifdef __powerpc__ ++#include ++#endif ++ + #include + + #include "types.h"