summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-03-07 13:45:18 -0500
committerMike Frysinger <vapier@gentoo.org>2016-03-07 13:51:13 -0500
commit398e6fffa8062592e250a332c6a9e905aea73f31 (patch)
treee0cb49f787903f306f60009fcbcdd74271fdd987 /dev-libs/iniparser
parentsys-libs/glibc: pull a few upstream fixes (mostly compile-time) (diff)
downloadgentoo-398e6fffa8062592e250a332c6a9e905aea73f31.tar.gz
gentoo-398e6fffa8062592e250a332c6a9e905aea73f31.tar.bz2
gentoo-398e6fffa8062592e250a332c6a9e905aea73f31.zip
dev-libs/iniparser: fix LFS handling #471102
Diffstat (limited to 'dev-libs/iniparser')
-rw-r--r--dev-libs/iniparser/files/iniparser-3.0-autotools.patch12
-rw-r--r--dev-libs/iniparser/iniparser-4.0.ebuild6
2 files changed, 7 insertions, 11 deletions
diff --git a/dev-libs/iniparser/files/iniparser-3.0-autotools.patch b/dev-libs/iniparser/files/iniparser-3.0-autotools.patch
index 68eca7ed601c..89c7f63d29af 100644
--- a/dev-libs/iniparser/files/iniparser-3.0-autotools.patch
+++ b/dev-libs/iniparser/files/iniparser-3.0-autotools.patch
@@ -1,9 +1,6 @@
-diff --git Makefile.am Makefile.am
-new file mode 100644
-index 0000000..63ca53b
--- /dev/null
+++ Makefile.am
-@@ -0,0 +1,10 @@
+@@ -0,0 +1,8 @@
+ACLOCAL_AMFLAGS = -I config
+
+lib_LTLIBRARIES = libiniparser.la
@@ -12,11 +9,6 @@ index 0000000..63ca53b
+libiniparser_la_SOURCES = src/dictionary.c src/iniparser.c
+
+include_HEADERS = src/dictionary.h src/iniparser.h
-+
-+
-diff --git configure.ac configure.ac
-new file mode 100644
-index 0000000..1eac717
--- /dev/null
+++ configure.ac
@@ -0,0 +1,24 @@
@@ -31,9 +23,9 @@ index 0000000..1eac717
+SHARED_VERSION_INFO="0"
+AC_SUBST(SHARED_VERSION_INFO)
+
-+
+# Checks for programs.
+AC_PROG_CC
++AC_SYS_LARGEFILE
+
+LT_INIT
+# Checks for header files.
diff --git a/dev-libs/iniparser/iniparser-4.0.ebuild b/dev-libs/iniparser/iniparser-4.0.ebuild
index 2837632b9900..aec1641675ce 100644
--- a/dev-libs/iniparser/iniparser-4.0.ebuild
+++ b/dev-libs/iniparser/iniparser-4.0.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit eutils multilib toolchain-funcs
+inherit eutils multilib toolchain-funcs flag-o-matic
DESCRIPTION="A free stand-alone ini file parsing library"
HOMEPAGE="https://github.com/ndevilla/iniparser"
@@ -40,6 +40,10 @@ src_prepare() {
rm -R html || die
}
+src_configure() {
+ append-lfs-flags
+}
+
src_compile() {
emake CC="$(tc-getCC)" V=1
}