<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8d7e3b53a2bb779907599cfa5c1f21bcf1506d39">https://github.com/macports/macports-ports/commit/8d7e3b53a2bb779907599cfa5c1f21bcf1506d39</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 8d7e3b53a2b M2VRequantiser: Remove -frename-registers flag
</span>8d7e3b53a2b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8d7e3b53a2bb779907599cfa5c1f21bcf1506d39
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sat Dec 4 16:50:58 2021 -0600
<span style='display:block; white-space:pre;color:#404040;'> M2VRequantiser: Remove -frename-registers flag
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> New versions of clang (e.g. on macOS 11) say:
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> clang: warning: optimization flag '-frename-registers' is not supported
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Old versions of clang (e.g. on OS X 10.9) say:
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> clang: error: unknown argument: '-frename-registers'
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/64083
</span>---
multimedia/M2VRequantiser/files/1001-makefile.patch | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/M2VRequantiser/files/1001-makefile.patch b/multimedia/M2VRequantiser/files/1001-makefile.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 3ad851a88fa..12c80e4da23 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/M2VRequantiser/files/1001-makefile.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/M2VRequantiser/files/1001-makefile.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,13 +1,14 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Description: Handle DESTDIR variable to properly install stuff.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Author: Alessio Treglia <alessio@debian.org>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Last-Update: 2014-07-11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- Makefile.orig.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Append -funroll-loops flag to any existing CFLAGS.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Remove -frename-registers which no version of clang understands.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Use CPPFLAGS when compiling.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Handle DESTDIR variable to properly install stuff.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.orig
</span> +++ Makefile
@@ -1,6 +1,6 @@
PREFIX ?= /usr/local
CC = gcc
-CFLAGS ?= -O2 -g -funroll-loops -frename-registers
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+CFLAGS += -funroll-loops -frename-registers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CFLAGS += -funroll-loops
</span> CFLAGS += -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT
CFLAGS += -Wall
OBJECTS = main.o
</pre><pre style='margin:0'>
</pre>