<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/33daaf4bc65b6718e698b939bde20a25d446e396">https://github.com/macports/macports-ports/commit/33daaf4bc65b6718e698b939bde20a25d446e396</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 33daaf4bc65b6718e698b939bde20a25d446e396
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sun Nov 10 14:13:53 2019 -0800
<span style='display:block; white-space:pre;color:#404040;'> libraw: don't hardcode against libstdc++
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> that's just not right...
</span>---
graphics/libraw/Portfile | 3 ++
.../libraw/files/patch-libraw-no-libstdcxx.diff | 39 ++++++++++++++++++++++
2 files changed, 42 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/libraw/Portfile b/graphics/libraw/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 14587a6..7e9268e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/libraw/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/libraw/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,6 +29,9 @@ depends_lib port:jasper \
</span> port:jpeg \
port:lcms2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# don't hardcode a link against libstc++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-libraw-no-libstdcxx.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
set htmlDir ${destroot}${prefix}/share/doc/${name}/html
xinstall -d -m 0755 ${htmlDir}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/libraw/files/patch-libraw-no-libstdcxx.diff b/graphics/libraw/files/patch-libraw-no-libstdcxx.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..3a7b2e7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/libraw/files/patch-libraw-no-libstdcxx.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,39 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git Makefile.dist Makefile.dist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index cb2f159..3605b94 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.dist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile.dist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -81,10 +81,10 @@ bin/mem_image: lib/libraw.a samples/mem_image.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CXX} -DLIBRAW_NOTHREADS ${CFLAGS} -o bin/mem_image samples/mem_image.cpp -L./lib -lraw -lm ${LDADD}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bin/dcraw_half: lib/libraw.a object/dcraw_half.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${CC} -DLIBRAW_NOTHREADS ${CFLAGS} -o bin/dcraw_half object/dcraw_half.o -L./lib -lraw -lm -lstdc++ ${LDADD}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${CC} -DLIBRAW_NOTHREADS ${CFLAGS} -o bin/dcraw_half object/dcraw_half.o -L./lib -lraw -lm ${LDADD}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bin/half_mt: lib/libraw_r.a object/half_mt.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${CC} -pthread ${CFLAGS} -o bin/half_mt object/half_mt.o -L./lib -lraw_r -lm -lstdc++ ${LDADD}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${CC} -pthread ${CFLAGS} -o bin/half_mt object/half_mt.o -L./lib -lraw_r -lm ${LDADD}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bin/dcraw_emu: lib/libraw.a samples/dcraw_emu.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CXX} -DLIBRAW_NOTHREADS ${CFLAGS} -o bin/dcraw_emu samples/dcraw_emu.cpp -L./lib -lraw -lm ${LDADD}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git libraw.pc.in libraw.pc.in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0e530b2..9844828 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- libraw.pc.in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ libraw.pc.in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7,5 +7,5 @@ Name: libraw
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Description: Raw image decoder library (non-thread-safe)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Requires: @PACKAGE_REQUIRES@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Version: @PACKAGE_VERSION@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-Libs: -L${libdir} -lraw -lstdc++@PC_OPENMP@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++Libs: -L${libdir} -lraw @PC_OPENMP@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Cflags: -I${includedir}/libraw
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git libraw_r.pc.in libraw_r.pc.in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index a7f4535..cf48381 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- libraw_r.pc.in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ libraw_r.pc.in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7,5 +7,5 @@ Name: libraw
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Description: Raw image decoder library (thread-safe)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Requires: @PACKAGE_REQUIRES@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Version: @PACKAGE_VERSION@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-Libs: -L${libdir} -lraw_r -lstdc++@PC_OPENMP@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++Libs: -L${libdir} -lraw_r @PC_OPENMP@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Cflags: -I${includedir}/libraw
</span></pre><pre style='margin:0'>
</pre>