diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/iniparser/files/iniparser-3.0-autotools.patch | 12 | ||||
-rw-r--r-- | dev-libs/iniparser/iniparser-4.0.ebuild | 6 |
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 } |