1 |
commit: 398e6fffa8062592e250a332c6a9e905aea73f31 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 7 18:45:18 2016 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 7 18:51:13 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=398e6fff |
7 |
|
8 |
dev-libs/iniparser: fix LFS handling #471102 |
9 |
|
10 |
dev-libs/iniparser/files/iniparser-3.0-autotools.patch | 12 ++---------- |
11 |
dev-libs/iniparser/iniparser-4.0.ebuild | 6 +++++- |
12 |
2 files changed, 7 insertions(+), 11 deletions(-) |
13 |
|
14 |
diff --git a/dev-libs/iniparser/files/iniparser-3.0-autotools.patch b/dev-libs/iniparser/files/iniparser-3.0-autotools.patch |
15 |
index 68eca7e..89c7f63 100644 |
16 |
--- a/dev-libs/iniparser/files/iniparser-3.0-autotools.patch |
17 |
+++ b/dev-libs/iniparser/files/iniparser-3.0-autotools.patch |
18 |
@@ -1,9 +1,6 @@ |
19 |
-diff --git Makefile.am Makefile.am |
20 |
-new file mode 100644 |
21 |
-index 0000000..63ca53b |
22 |
--- /dev/null |
23 |
+++ Makefile.am |
24 |
-@@ -0,0 +1,10 @@ |
25 |
+@@ -0,0 +1,8 @@ |
26 |
+ACLOCAL_AMFLAGS = -I config |
27 |
+ |
28 |
+lib_LTLIBRARIES = libiniparser.la |
29 |
@@ -12,11 +9,6 @@ index 0000000..63ca53b |
30 |
+libiniparser_la_SOURCES = src/dictionary.c src/iniparser.c |
31 |
+ |
32 |
+include_HEADERS = src/dictionary.h src/iniparser.h |
33 |
-+ |
34 |
-+ |
35 |
-diff --git configure.ac configure.ac |
36 |
-new file mode 100644 |
37 |
-index 0000000..1eac717 |
38 |
--- /dev/null |
39 |
+++ configure.ac |
40 |
@@ -0,0 +1,24 @@ |
41 |
@@ -31,9 +23,9 @@ index 0000000..1eac717 |
42 |
+SHARED_VERSION_INFO="0" |
43 |
+AC_SUBST(SHARED_VERSION_INFO) |
44 |
+ |
45 |
-+ |
46 |
+# Checks for programs. |
47 |
+AC_PROG_CC |
48 |
++AC_SYS_LARGEFILE |
49 |
+ |
50 |
+LT_INIT |
51 |
+# Checks for header files. |
52 |
|
53 |
diff --git a/dev-libs/iniparser/iniparser-4.0.ebuild b/dev-libs/iniparser/iniparser-4.0.ebuild |
54 |
index 2837632..aec1641 100644 |
55 |
--- a/dev-libs/iniparser/iniparser-4.0.ebuild |
56 |
+++ b/dev-libs/iniparser/iniparser-4.0.ebuild |
57 |
@@ -4,7 +4,7 @@ |
58 |
|
59 |
EAPI=5 |
60 |
|
61 |
-inherit eutils multilib toolchain-funcs |
62 |
+inherit eutils multilib toolchain-funcs flag-o-matic |
63 |
|
64 |
DESCRIPTION="A free stand-alone ini file parsing library" |
65 |
HOMEPAGE="https://github.com/ndevilla/iniparser" |
66 |
@@ -40,6 +40,10 @@ src_prepare() { |
67 |
rm -R html || die |
68 |
} |
69 |
|
70 |
+src_configure() { |
71 |
+ append-lfs-flags |
72 |
+} |
73 |
+ |
74 |
src_compile() { |
75 |
emake CC="$(tc-getCC)" V=1 |
76 |
} |