summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2022-02-05 20:29:38 -0800
committerPatrick McLean <chutzpah@gentoo.org>2022-02-05 20:30:13 -0800
commit3fb23e1b4ca03f356c8757cfd6c2396bd62d1df2 (patch)
tree93c5776746f036dec79c59558f25655294b6c9c2 /app-text
parentmedia-video/pipewire: add 0.3.45_p20220205 (diff)
downloadgentoo-3fb23e1b4ca03f356c8757cfd6c2396bd62d1df2.tar.gz
gentoo-3fb23e1b4ca03f356c8757cfd6c2396bd62d1df2.tar.bz2
gentoo-3fb23e1b4ca03f356c8757cfd6c2396bd62d1df2.zip
app-text/lowdown: Add -lmd to pkgconfig (bug #832590)
Also install lowdown.so symlink Closes: https://bugs.gentoo.org/832590 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/lowdown/files/lowdown-0.10.0-linking.patch7
-rw-r--r--app-text/lowdown/files/lowdown-0.10.0-pkgconfig-libmd.patch11
-rw-r--r--app-text/lowdown/lowdown-0.10.0-r1.ebuild (renamed from app-text/lowdown/lowdown-0.10.0.ebuild)1
3 files changed, 15 insertions, 4 deletions
diff --git a/app-text/lowdown/files/lowdown-0.10.0-linking.patch b/app-text/lowdown/files/lowdown-0.10.0-linking.patch
index e0ab7285e07a..1581e94b7c9d 100644
--- a/app-text/lowdown/files/lowdown-0.10.0-linking.patch
+++ b/app-text/lowdown/files/lowdown-0.10.0-linking.patch
@@ -23,16 +23,15 @@ index d013a1c..c9de4d4 100644
install: all
mkdir -p $(DESTDIR)$(BINDIR)
-@@ -153,7 +154,7 @@ install: all
- $(INSTALL_DATA) lowdown.pc $(DESTDIR)$(LIBDIR)/pkgconfig
+@@ -153,6 +154,7 @@ install: all
$(INSTALL_PROGRAM) lowdown $(DESTDIR)$(BINDIR)
$(INSTALL_PROGRAM) lowdown-diff $(DESTDIR)$(BINDIR)
-- $(INSTALL_LIB) liblowdown.so $(DESTDIR)$(LIBDIR)
+ $(INSTALL_LIB) liblowdown.so $(DESTDIR)$(LIBDIR)
+ $(INSTALL_LIB) liblowdown.so.1 $(DESTDIR)$(LIBDIR)
$(INSTALL_DATA) lowdown.h $(DESTDIR)$(INCLUDEDIR)
for f in $(MANS) ; do \
name=`basename $$f .html` ; \
-@@ -271,7 +272,7 @@ main.o: lowdown.h
+@@ -271,7 +273,7 @@ main.o: lowdown.h
clean:
rm -f $(OBJS) $(COMPAT_OBJS) main.o
diff --git a/app-text/lowdown/files/lowdown-0.10.0-pkgconfig-libmd.patch b/app-text/lowdown/files/lowdown-0.10.0-pkgconfig-libmd.patch
new file mode 100644
index 000000000000..0337f3d68d99
--- /dev/null
+++ b/app-text/lowdown/files/lowdown-0.10.0-pkgconfig-libmd.patch
@@ -0,0 +1,11 @@
+diff --git a/lowdown.in.pc b/lowdown.in.pc
+index 078d0c0..a31aaac 100644
+--- a/lowdown.in.pc
++++ b/lowdown.in.pc
+@@ -9,5 +9,5 @@ URL: https://kristaps.bsd.lv/lowdown
+ Version: @VERSION@
+ Requires:
+ Libs.private:
+-Libs: -L${libdir} -llowdown -lm
++Libs: -L${libdir} -llowdown -lm -lmd
+ Cflags: -I${includedir}
diff --git a/app-text/lowdown/lowdown-0.10.0.ebuild b/app-text/lowdown/lowdown-0.10.0-r1.ebuild
index a38987c1e1aa..c0a7c32c57ec 100644
--- a/app-text/lowdown/lowdown-0.10.0.ebuild
+++ b/app-text/lowdown/lowdown-0.10.0-r1.ebuild
@@ -22,6 +22,7 @@ PATCHES=(
"${FILESDIR}/lowdown-0.10.0-shared-library.patch"
"${FILESDIR}/lowdown-0.10.0-dont-install-static-lib.patch"
"${FILESDIR}/lowdown-0.10.0-linking.patch"
+ "${FILESDIR}/lowdown-0.10.0-pkgconfig-libmd.patch"
)
src_configure() {