summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-03-13 16:42:26 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-03-13 22:37:56 +0100
commit08156641467f5b945f6ae730aaddd5ab1d480ad0 (patch)
treeb2c6390c4175d4eaa1311018903be94bccbb7e33 /sci-mathematics/abc/files/abc-0_p20230313-libabc.patch
parentgo-module.eclass: inherit toolchain-funcs for tc-endian (diff)
downloadgentoo-08156641467f5b945f6ae730aaddd5ab1d480ad0.tar.gz
gentoo-08156641467f5b945f6ae730aaddd5ab1d480ad0.tar.bz2
gentoo-08156641467f5b945f6ae730aaddd5ab1d480ad0.zip
sci-mathematics/abc: new package; add 0_p20230313 and live
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sci-mathematics/abc/files/abc-0_p20230313-libabc.patch')
-rw-r--r--sci-mathematics/abc/files/abc-0_p20230313-libabc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-mathematics/abc/files/abc-0_p20230313-libabc.patch b/sci-mathematics/abc/files/abc-0_p20230313-libabc.patch
new file mode 100644
index 000000000000..57691dc18775
--- /dev/null
+++ b/sci-mathematics/abc/files/abc-0_p20230313-libabc.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -221,7 +221,7 @@ lib$(PROG).a: $(LIBOBJ)
+
+ lib$(PROG).so: $(LIBOBJ)
+ @echo "$(MSG_PREFIX)\`\` Linking:" $(notdir $@)
+- $(VERBOSE)$(CXX) -shared -o $@ $^ $(LIBS)
++ $(VERBOSE)$(CXX) -shared -o $@ $^ $(LDFLAGS) -Wl,-soname,lib$(PROG).so.0 $(LIBS)
+
+ docs:
+ @echo "$(MSG_PREFIX)\`\` Building documentation." $(notdir $@)