commit:     119ad4c193f5689953a32babbc6a3a7eed041f3a
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 16 17:49:23 2014 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Jun 16 17:49:23 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/portage-utils.git;a=commit;h=119ad4c1

import more modules from gnulib to handle older systems

URL: https://bugs.gentoo.org/513484

---
 Makefile.am | 12 ++++++++++++
 autogen.sh  |  4 ++++
 porting.h   |  1 +
 3 files changed, 17 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 14bc649..3a33bbe 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -179,6 +179,14 @@ EXTRA_DIST += \
        tests/qdepends/list04.good \
        tests/qdepends/list05.good \
        tests/qdepends/list06.good \
+       tests/qdepends/list07.good \
+       tests/qdepends/list08.good \
+       tests/qdepends/root/app-arch/cpio-2.11/CONTENTS \
+       tests/qdepends/root/app-arch/cpio-2.11/SLOT \
+       tests/qdepends/root/app-arch/cpio-2.11/repository \
+       tests/qdepends/root/x11-apps/xdm-1.1.11-r3/DEPEND \
+       tests/qdepends/root/x11-apps/xdm-1.1.11-r3/RDEPEND \
+       tests/qdepends/root/x11-apps/xdm-1.1.11-r3/USE \
        tests/qfile/Makefile \
        tests/qfile/dotest \
        tests/qlist/Makefile \
@@ -196,6 +204,7 @@ EXTRA_DIST += \
        tests/qlist/list11.good \
        tests/qlist/list12.good \
        tests/qlist/list13.good \
+       tests/qlist/list14.good \
        tests/qlist/root/-merge-foo/CONTENTS \
        tests/qlist/root/a-b/a-0/CONTENTS \
        tests/qlist/root/a-b/a-0/SLOT \
@@ -209,6 +218,9 @@ EXTRA_DIST += \
        tests/qlist/root/cat/pkg-1/CONTENTS \
        tests/qlist/root/cat/pkg-1/SLOT \
        tests/qlist/root/cat/pkg-1/repository \
+       tests/qlist/root/cat/sub-2/CONTENTS \
+       tests/qlist/root/cat/sub-2/SLOT \
+       tests/qlist/root/cat/sub-2/repository \
        tests/qlist/root/sys-fs/mtools-4.0.13/CONTENTS \
        tests/qlist/root/sys-fs/mtools-4.0.13/SLOT \
        tests/qlist/root/sys-fs/mtools-4.0.13/repository \

diff --git a/autogen.sh b/autogen.sh
index 903a00c..622ab16 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -12,22 +12,26 @@ fi
 # reload the gnulib code if possible
 PATH=/usr/local/src/gnu/gnulib:${PATH}
 mods="
+       alloca
        faccessat
        fdopendir
        fstatat
        futimens
        getline
+       getopt-posix
        mkdirat
        openat
        progname
        readlinkat
        renameat
        stat-time
+       strcasestr-simple
        strncat
        symlinkat
        sys_stat
        unlinkat
        utimensat
+       vasprintf-posix
 "
 v gnulib-tool \
        --source-base=autotools/gnulib --m4-base=autotools/m4 \

diff --git a/porting.h b/porting.h
index 352d3bf..3235542 100644
--- a/porting.h
+++ b/porting.h
@@ -25,6 +25,7 @@
 #define _LINUX_SOURCE_COMPAT
 #endif
 
+#include <alloca.h>
 #include <assert.h>
 #include <ctype.h>
 #include <dirent.h>

Reply via email to