* [gentoo-commits] repo/gentoo:master commit in: dev-libs/d0_blind_id/, dev-libs/d0_blind_id/files/
@ 2021-01-20 10:32 Lars Wendler
0 siblings, 0 replies; only message in thread
From: Lars Wendler @ 2021-01-20 10:32 UTC (permalink / raw
To: gentoo-commits
commit: c68479779ed9af99fcedbc0cb15b00e8d0b77852
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 20 10:32:26 2021 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Jan 20 10:32:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6847977
dev-libs/d0_blind_id: Fixed build with sys-devel/slibtool
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
dev-libs/d0_blind_id/d0_blind_id-1.0.ebuild | 4 ++
.../files/d0_blind_id-1.0-slibtool.patch | 43 ++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/dev-libs/d0_blind_id/d0_blind_id-1.0.ebuild b/dev-libs/d0_blind_id/d0_blind_id-1.0.ebuild
index ba783e56277..013b70c77ca 100644
--- a/dev-libs/d0_blind_id/d0_blind_id-1.0.ebuild
+++ b/dev-libs/d0_blind_id/d0_blind_id-1.0.ebuild
@@ -22,6 +22,10 @@ BDEPEND="
DOCS=( d0_blind_id.txt )
+PATCHES=(
+ "${FILESDIR}/${P}-slibtool.patch"
+)
+
src_prepare() {
default
diff --git a/dev-libs/d0_blind_id/files/d0_blind_id-1.0-slibtool.patch b/dev-libs/d0_blind_id/files/d0_blind_id-1.0-slibtool.patch
new file mode 100644
index 00000000000..62ae318315f
--- /dev/null
+++ b/dev-libs/d0_blind_id/files/d0_blind_id-1.0-slibtool.patch
@@ -0,0 +1,43 @@
+From 0d3d1f2655901776b2fc3e911eb78478412f789a Mon Sep 17 00:00:00 2001
+From: Lyberta <lyberta@lyberta.net>
+Date: Sat, 7 Oct 2017 19:26:40 +0300
+Subject: [PATCH] Fixed version-info.
+
+---
+ Makefile.am | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index d21887d..07338eb 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -5,7 +5,7 @@ blind_id_SOURCES = main.c
+ blind_id_LDADD = libd0_blind_id.la
+
+ lib_LTLIBRARIES = libd0_blind_id.la
+-# versioninfo:
++# version-info:
+ # - compatible interface change: c:r:a -> c+1:0:a+1
+ # - incompatible interface change: c:r:a -> c+1:0:0
+ # - internal change: c:r:a -> c:r+1:a
+@@ -29,7 +29,7 @@ libd0_blind_id_la_SOURCES += d0_bignum-gmp.c
+ endif
+ endif
+ endif
+-libd0_blind_id_la_LDFLAGS = -versioninfo 7:1:7
++libd0_blind_id_la_LDFLAGS = -version-info 7:1:7
+ libd0_blind_id_la_CFLAGS = -fvisibility=hidden -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement
+ library_includedir = $(includedir)/d0_blind_id
+ library_include_HEADERS = d0_blind_id.h d0.h
+@@ -40,7 +40,7 @@ if ENABLE_RIJNDAEL
+ lib_LTLIBRARIES += libd0_rijndael.la
+ libd0_rijndael_la_SOURCES = d0_rijndael.c \
+ d0_rijndael.h
+-libd0_rijndael_la_LDFLAGS = -versioninfo 0:0:0
++libd0_rijndael_la_LDFLAGS = -version-info 0:0:0
+ libd0_rijndael_la_CFLAGS = -fvisibility=hidden -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement
+ library_include_HEADERS += d0_rijndael.h
+ pkgconfig_HEADERS += d0_rijndael.pc
+--
+2.20.1
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-20 10:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-20 10:32 [gentoo-commits] repo/gentoo:master commit in: dev-libs/d0_blind_id/, dev-libs/d0_blind_id/files/ Lars Wendler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox