public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/, app-text/lowdown/files/
Date: Thu, 10 Mar 2022 19:41:29 +0000 (UTC)	[thread overview]
Message-ID: <1646941256.914efad2733b51f620b2615201ff020cc6bb44ef.chutzpah@gentoo> (raw)

commit:     914efad2733b51f620b2615201ff020cc6bb44ef
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 10 19:40:56 2022 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Mar 10 19:40:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914efad2

app-text/lowdown: Fix library installation (bug #832797)

Bug: https://bugs.gentoo.org/832797
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 app-text/lowdown/files/lowdown-0.11.1-linking.patch          | 12 ++++++++----
 .../{lowdown-0.11.1.ebuild => lowdown-0.11.1-r1.ebuild}      |  0
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/app-text/lowdown/files/lowdown-0.11.1-linking.patch b/app-text/lowdown/files/lowdown-0.11.1-linking.patch
index 89595d54fb02..2aa5cb1fe58e 100644
--- a/app-text/lowdown/files/lowdown-0.11.1-linking.patch
+++ b/app-text/lowdown/files/lowdown-0.11.1-linking.patch
@@ -1,5 +1,5 @@
 diff --git a/Makefile b/Makefile
-index 7705432..4208e47 100644
+index ccc163d..d148da6 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -173,8 +173,8 @@ installwww: www
@@ -9,11 +9,11 @@ index 7705432..4208e47 100644
 -lowdown: liblowdown.a main.o
 -	$(CC) -o $@ main.o liblowdown.a $(LDFLAGS) $(LDADD_MD5) -lm
 +lowdown: liblowdown.so main.o
-+	$(CC) -o $@ main.o $(LDADD_MD5) -lm -llowdown $(LDFLAGS)
++	$(CC) -o $@ main.o $(LDADD_MD5) -lm -L. -llowdown $(LDFLAGS)
  
  lowdown-diff: lowdown
  	ln -f lowdown lowdown-diff
-@@ -183,7 +183,7 @@ liblowdown.a: $(OBJS) $(COMPAT_OBJS)
+@@ -183,10 +183,10 @@ liblowdown.a: $(OBJS) $(COMPAT_OBJS)
  	$(AR) rs $@ $(OBJS) $(COMPAT_OBJS)
  
  liblowdown.so: $(OBJS) $(COMPAT_OBJS)
@@ -21,7 +21,11 @@ index 7705432..4208e47 100644
 +	$(CC) -shared -o $@.$(LIBVER) $(OBJS) $(COMPAT_OBJS) $(LDFLAGS) $(LDADD_MD5) -lm  -Wl,-soname,$@.$(LIBVER)
  	ln -sf $@.$(LIBVER) $@
  
- install: bins
+-install: bins
++install: bins install_libs
+ 	mkdir -p $(DESTDIR)$(BINDIR)
+ 	mkdir -p $(DESTDIR)$(MANDIR)/man1
+ 	mkdir -p $(DESTDIR)$(MANDIR)/man5
 @@ -218,7 +218,7 @@ install_shared: liblowdown.so install_lib_common
  install_static: liblowdown.a install_lib_common
  	$(INSTALL_LIB) liblowdown.a $(DESTDIR)$(LIBDIR)

diff --git a/app-text/lowdown/lowdown-0.11.1.ebuild b/app-text/lowdown/lowdown-0.11.1-r1.ebuild
similarity index 100%
rename from app-text/lowdown/lowdown-0.11.1.ebuild
rename to app-text/lowdown/lowdown-0.11.1-r1.ebuild


             reply	other threads:[~2022-03-10 19:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-10 19:41 Patrick McLean [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-02 18:54 [gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/, app-text/lowdown/files/ Patrick McLean
2023-12-15 18:53 Patrick McLean
2022-04-02  5:25 Patrick McLean
2021-04-17  0:52 Patrick McLean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1646941256.914efad2733b51f620b2615201ff020cc6bb44ef.chutzpah@gentoo \
    --to=chutzpah@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox