From nobody Thu May 16 22:19:55 2024 X-Original-To: dev-commits-ports-all@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 4VgPfM36yQz5KJBy; Thu, 16 May 2024 22:19:55 +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 4VgPfM1PVgz44Bf; Thu, 16 May 2024 22:19:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715897995; 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=ux0rRgf2zwGqrGfrCjoCra3Cr59j8tEAsccBxMRSPX4=; b=ZAst8mgRAmEwuI/HKvuVT2WISRX2+sJ+Vlv60XUJtSYyTIXmZA+5G5IcJwUyv4qXNftjHV k+w/E77i7UtyoYcrOEwpZrErAXuIwSftC4XPTEEUBHAxfLKllm0/xEdBVnCO1gjiMWvjav Siud0W6uGvxePfR+uo5PHkiUqWucNtZ78/2beK3Rsu4adhWrvcx1WHSdzJVC6Yb5PE7bH3 wnC5Ezs2iGg5k5vozNuGDoVDoX0qnrHhB05XqT2wPr7ol/KKyP0TzGn08eWJYUYGN+S9HJ RLPpbjWM+YaYdev+cpJjeB85AD7MU2q5c/X+nbY2wpCybivxZpM1V4ua1C76ig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715897995; a=rsa-sha256; cv=none; b=fJEyyoBkewJVTHhTAcmh1AAItj0OD7nk5YVsaL0Nc+AiovzhQNMxa+HrVbkilG9s+kWoa7 Cv/txSpNUU9RoezsBGKUIYi8PeKZ0nvN488a6ObksblwZjMDKD0ssBXostr5aBNTPN9G3P lLhbcRIF0GzhGb/n8pXECyaCXPDPeMQwaUfHSz7xpIi1LT2gQSYbX7uAD0l+mIOUcJUW4J 6vH+rzzj5cnIOe/W0GC+hAeyJip45zYMTNNYaZ3ae9IoaMP0/m98xKJwD0Ay2afeyBBC2o JlES1AIGz3vhVyGS9Pd3HAtl0SE3Q6GAOfzWRgc4iCm9xUD1giTgWWhGzAluIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715897995; 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=ux0rRgf2zwGqrGfrCjoCra3Cr59j8tEAsccBxMRSPX4=; b=yTPK3HzEk8u+DNccJDZa17aUnIYCTEQ4isLCXGJBP5t+rFuDNoWN6g4juqXOqGU3X07cwi shqPNGb6Dsb9I+C6wTmlafy8NXIiSpLJUm9vexCp8eaAfyTuWWD9kO0PO+5rcZp6u8gYgj KY1KDCBbCHvhAi9/7bif1unLh9/bYC9YucJUz99+HjyFZ5AyIszv5een7uLe/L7UvtLbh6 QkSObi4s5sm5e0A21tSs0Qiff4PSo+31Ziq/ls57QbvJi6M20RRMstjYjo31ei4xyP4mta 701TAba3qW3nH2JUWRbDQsRC1Q8GPWEMQYAgoZ60BMRAx9HXq1b7N1l7kpMWhg== 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 4VgPfM10cNzGZN; Thu, 16 May 2024 22:19:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44GMJtIH044151; Thu, 16 May 2024 22:19:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44GMJtnP044148; Thu, 16 May 2024 22:19:55 GMT (envelope-from git) Date: Thu, 16 May 2024 22:19:55 GMT Message-Id: <202405162219.44GMJtnP044148@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: 0cbae2d0ef0a - main - multimedia/mplayer: fix build on powerpc* List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@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: 0cbae2d0ef0aa7edec0bffa9a6371d5c0bc5c535 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=0cbae2d0ef0aa7edec0bffa9a6371d5c0bc5c535 commit 0cbae2d0ef0aa7edec0bffa9a6371d5c0bc5c535 Author: Piotr Kubaj AuthorDate: 2024-05-16 22:18:18 +0000 Commit: Piotr Kubaj CommitDate: 2024-05-16 22:19:50 +0000 multimedia/mplayer: fix build on powerpc* cc: error: unsupported option '-mabi=' for target 'powerpc64-unknown-freebsd14.1' --- multimedia/mplayer/files/patch-configure | 33 +++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/multimedia/mplayer/files/patch-configure b/multimedia/mplayer/files/patch-configure index e9feca44baaa..b84374f958d5 100644 --- a/multimedia/mplayer/files/patch-configure +++ b/multimedia/mplayer/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig 2023-02-20 22:41:00 UTC +--- configure.orig 2024-05-16 21:54:48 UTC +++ configure -@@ -666,7 +666,7 @@ armthumb=auto +@@ -666,7 +666,7 @@ _altivec=auto _iwmmxt=auto _mtrr=auto _altivec=auto @@ -26,7 +26,7 @@ ;; esac -@@ -1529,40 +1528,6 @@ rm -f "$TMPLOG" +@@ -1529,40 +1528,6 @@ echo >> "$TMPLOG" echo configuration: $configuration > "$TMPLOG" echo >> "$TMPLOG" @@ -76,7 +76,7 @@ alpha) host_arch=alpha ;; sun4*|sparc*) host_arch=sparc ;; parisc*|hppa*|9000*) host_arch=hppa ;; -@@ -1970,7 +1935,11 @@ echocheck "working compiler" +@@ -1970,7 +1935,11 @@ echo "yes" cflag_check "" || die "Compiler is not functioning correctly. Check your installation and custom CFLAGS $CFLAGS ." echo "yes" @@ -89,7 +89,7 @@ if test -z "$_target" ; then cat > $TMPC << EOF -@@ -3100,7 +3069,7 @@ if x86_32 ; then +@@ -3109,7 +3078,7 @@ if x86_32 ; then _pref_as_version='2.16.92' echo 'pabsd %xmm0, %xmm1' >> $TMPS fi @@ -98,7 +98,18 @@ if test "$as_verc_fail" != yes ; then echores "ok" -@@ -3367,6 +3336,13 @@ if arm ; then +@@ -3269,8 +3238,8 @@ if ppc && ( test "$_altivec" = yes || test "$_runtime_ + + # check if AltiVec is supported by the compiler, and how to enable it + echocheck "GCC AltiVec flags" +- if $(cflag_check -maltivec -mabi=altivec) ; then +- _altivec_gcc_flags="-maltivec -mabi=altivec" ++ if $(cflag_check -maltivec) ; then ++ _altivec_gcc_flags="-maltivec" + # check if should be included + if $(header_check altivec.h $_altivec_gcc_flags) ; then + def_altivec_h='#define HAVE_ALTIVEC_H 1' +@@ -3376,6 +3345,13 @@ if arm ; then fi echores "$setend" @@ -112,7 +123,7 @@ echocheck "softfloat ABI" softfloat=yes cpp_condition_check '' 'defined(__ARM_PCS_VFP) || (!defined(__ARM_PCS) && !defined(__SOFTFP__))' && softfloat=no -@@ -4277,7 +4253,7 @@ echocheck "pthread" +@@ -4286,7 +4262,7 @@ elif freebsd || netbsd || openbsd || bsdos ; then if linux ; then THREAD_CFLAGS=-D_REENTRANT elif freebsd || netbsd || openbsd || bsdos ; then @@ -121,7 +132,7 @@ fi if test "$_pthreads" = auto ; then cat > $TMPC << EOF -@@ -4287,7 +4263,7 @@ int main(void) { pthread_t tid; return pthread_create( +@@ -4296,7 +4272,7 @@ if ! hpux ; then EOF _pthreads=no if ! hpux ; then @@ -192,7 +203,7 @@ fi if test "$_libgsm" = yes ; then def_libgsm='#define CONFIG_LIBGSM 1' -@@ -7391,6 +7359,16 @@ if test "$_librtmp" = yes && test "$networking" = yes; +@@ -7399,6 +7367,16 @@ if test "$_librtmp" = yes && test "$networking" = yes; nolibrtmp=no def_librtmp='#define CONFIG_LIBRTMP 1' inputmodules="librtmp $inputmodules" @@ -209,7 +220,7 @@ else nolibrtmp=yes _librtmp=no -@@ -7808,7 +7786,7 @@ echores "$_mp3lame" +@@ -7816,7 +7794,7 @@ if test "$_mencoder" = no ; then echocheck "mencoder" if test "$_mencoder" = no ; then # mpeg1video for vf_lavc, snow for vf_uspp / vf_mcdeint, @@ -218,7 +229,7 @@ fi echores "$_mencoder" -@@ -8414,7 +8392,7 @@ libs_mplayer=$ld_tmp +@@ -8422,7 +8400,7 @@ libs_mplayer=$ld_tmp #############################################################################