From owner-svn-ports-all@freebsd.org Fri Oct 12 23:20:04 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B400010CE80D; Fri, 12 Oct 2018 23:20:04 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 668267B0C7; Fri, 12 Oct 2018 23:20:04 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 61084261BD; Fri, 12 Oct 2018 23:20:04 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9CNK4hN038834; Fri, 12 Oct 2018 23:20:04 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9CNK4cv038832; Fri, 12 Oct 2018 23:20:04 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201810122320.w9CNK4cv038832@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Fri, 12 Oct 2018 23:20:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r481946 - in branches/2018Q4/audio/alsa-lib: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in branches/2018Q4/audio/alsa-lib: . files X-SVN-Commit-Revision: 481946 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2018 23:20:04 -0000 Author: jbeich Date: Fri Oct 12 23:20:03 2018 New Revision: 481946 URL: https://svnweb.freebsd.org/changeset/ports/481946 Log: MFH: r481945 audio/alsa-lib: unbreak clang build on powerpc64 fatal error: error in backend: A @@ version cannot be undefined Reported by: Mark Millard Submitted by: dim Obtained from: upstream Approved by: ports-secteam blanket Added: branches/2018Q4/audio/alsa-lib/files/patch-include_alsa-symbols.h - copied unchanged from r481945, head/audio/alsa-lib/files/patch-include_alsa-symbols.h Modified: branches/2018Q4/audio/alsa-lib/Makefile Directory Properties: branches/2018Q4/ (props changed) Modified: branches/2018Q4/audio/alsa-lib/Makefile ============================================================================== --- branches/2018Q4/audio/alsa-lib/Makefile Fri Oct 12 23:19:20 2018 (r481945) +++ branches/2018Q4/audio/alsa-lib/Makefile Fri Oct 12 23:20:03 2018 (r481946) @@ -3,7 +3,7 @@ PORTNAME= alsa-lib PORTVERSION= 1.1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= ftp://ftp.alsa-project.org/pub/lib/ \ GENTOO Copied: branches/2018Q4/audio/alsa-lib/files/patch-include_alsa-symbols.h (from r481945, head/audio/alsa-lib/files/patch-include_alsa-symbols.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q4/audio/alsa-lib/files/patch-include_alsa-symbols.h Fri Oct 12 23:20:03 2018 (r481946, copy of r481945, head/audio/alsa-lib/files/patch-include_alsa-symbols.h) @@ -0,0 +1,59 @@ +commit 3bad0a21b4d13d8d10691f382c836897fa7a7cb9 +Author: Breno Leitao +Date: Wed Feb 22 16:45:00 2017 -0300 + + Drop ppc64-specific workaround for versioned symbols + + Currently aserver fails to build when using parameter + --without-versioned, due to an workaround for ppc64 + (06221f86d207cb33ddd4867ca5301eeb247c4400). This workaround is + not required anymore on the ppc64 ABI v2, and, in fact is breaking the + compilation. Reverting this commit + + Signed-off-by: Breno Leitao + Signed-off-by: Takashi Iwai + +--- include/alsa-symbols.h.orig 2016-08-02 17:48:38 UTC ++++ include/alsa-symbols.h +@@ -29,19 +29,10 @@ + #define INTERNAL_CONCAT2_2(Pre, Post) Pre##Post + #define INTERNAL(Name) INTERNAL_CONCAT2_2(__, Name) + +-#ifdef __powerpc64__ +-# define symbol_version(real, name, version) \ +- __asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@" #version); \ +- __asm__ (".symver ." ASM_NAME(#real) ",." ASM_NAME(#name) "@" #version) +-# define default_symbol_version(real, name, version) \ +- __asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@@" #version); \ +- __asm__ (".symver ." ASM_NAME(#real) ",." ASM_NAME(#name) "@@" #version) +-#else + # define symbol_version(real, name, version) \ + __asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@" #version) + # define default_symbol_version(real, name, version) \ + __asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@@" #version) +-#endif + + #ifdef USE_VERSIONED_SYMBOLS + #define use_symbol_version(real, name, version) \ +@@ -50,13 +41,6 @@ + default_symbol_version(real, name, version) + #else + #define use_symbol_version(real, name, version) /* nothing */ +-#ifdef __powerpc64__ +-#define use_default_symbol_version(real, name, version) \ +- __asm__ (".weak " ASM_NAME(#name)); \ +- __asm__ (".weak ." ASM_NAME(#name)); \ +- __asm__ (".set " ASM_NAME(#name) "," ASM_NAME(#real)); \ +- __asm__ (".set ." ASM_NAME(#name) ",." ASM_NAME(#real)) +-#else + #if defined(__alpha__) || defined(__mips__) + #define use_default_symbol_version(real, name, version) \ + __asm__ (".weak " ASM_NAME(#name)); \ +@@ -65,7 +49,6 @@ + #define use_default_symbol_version(real, name, version) \ + __asm__ (".weak " ASM_NAME(#name)); \ + __asm__ (".set " ASM_NAME(#name) "," ASM_NAME(#real)) +-#endif + #endif + #endif +