pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/ykchorus ykchorus: Fix building on non-x86 by re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f44e0aca708f
branches:  trunk
changeset: 458815:f44e0aca708f
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Sep 20 07:50:07 2021 +0000

description:
ykchorus: Fix building on non-x86 by removing excessive optimization flags

diffstat:

 audio/ykchorus/Makefile                           |   7 +++++--
 audio/ykchorus/distinfo                           |   3 ++-
 audio/ykchorus/patches/patch-dpf_Makefile.base.mk |  15 +++++++++++++++
 3 files changed, 22 insertions(+), 3 deletions(-)

diffs (56 lines):

diff -r 6a9cbc079fff -r f44e0aca708f audio/ykchorus/Makefile
--- a/audio/ykchorus/Makefile   Mon Sep 20 07:22:03 2021 +0000
+++ b/audio/ykchorus/Makefile   Mon Sep 20 07:50:07 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2021/09/08 21:04:58 nia Exp $
+# $NetBSD: Makefile,v 1.3 2021/09/20 07:50:07 nia Exp $
 
 DISTNAME=      ykchorus-v0.2.2-source
 PKGNAME=       ${DISTNAME:S/-source//1:S/-v/-/1}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=SpotlightKid/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
@@ -26,6 +26,9 @@
 CXXFLAGS+=     -DDGL_FILE_BROWSER_DISABLED
 .endif
 
+# No CPU-specific optimizations
+MAKE_FLAGS+=   NOOPT=true
+
 REPLACE_SH+=   dpf/utils/generate-ttl.sh
 
 .include "../../audio/jack/buildlink3.mk"
diff -r 6a9cbc079fff -r f44e0aca708f audio/ykchorus/distinfo
--- a/audio/ykchorus/distinfo   Mon Sep 20 07:22:03 2021 +0000
+++ b/audio/ykchorus/distinfo   Mon Sep 20 07:50:07 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1 2021/07/29 19:16:08 nia Exp $
+$NetBSD: distinfo,v 1.2 2021/09/20 07:50:07 nia Exp $
 
 SHA1 (ykchorus-v0.2.2-source.tar.gz) = f0304085d5d8d9da64e97373ded537107e3034bd
 RMD160 (ykchorus-v0.2.2-source.tar.gz) = a745f22489e3293391b27c3ea52752fe7198a66e
 SHA512 (ykchorus-v0.2.2-source.tar.gz) = 2b7151b00562b6a2209c08d5e025f6881c9b6631ee76fc86610ac856571d72b50e6c367bd7401642ba149288b40e609b8761abbe7753def528716408d143a52c
 Size (ykchorus-v0.2.2-source.tar.gz) = 2010302 bytes
 SHA1 (patch-Makefile) = f6e8812d436891b7e747a5897db382de689046ee
+SHA1 (patch-dpf_Makefile.base.mk) = 359836a0e786ba6bf2c20a44c7a0c66e51966c31
diff -r 6a9cbc079fff -r f44e0aca708f audio/ykchorus/patches/patch-dpf_Makefile.base.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ykchorus/patches/patch-dpf_Makefile.base.mk Mon Sep 20 07:50:07 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-dpf_Makefile.base.mk,v 1.1 2021/09/20 07:50:07 nia Exp $
+
+Do not force -O2.
+
+--- dpf/Makefile.base.mk.orig  2018-12-18 15:27:28.000000000 +0000
++++ dpf/Makefile.base.mk
+@@ -105,7 +105,7 @@ endif
+ 
+ ifeq ($(NOOPT),true)
+ # No CPU-specific optimization flags
+-BASE_OPTS  = -O2 -ffast-math -fdata-sections -ffunction-sections
++BASE_OPTS  = -ffast-math -fdata-sections -ffunction-sections
+ endif
+ 
+ ifeq ($(WIN32),true)



Home | Main Index | Thread Index | Old Index