diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-08-08 03:33:44 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-08-08 03:33:44 +0000 |
commit | addc96410e6eae47a28314aeaace3228bd70b9cd (patch) | |
tree | 3998870b58279b308d8ea678debce30da103dd5e /experimental/libabigail/musl-fts.patch | |
parent | 6e8939f34d9bcc8294a64b64e5fce9ce16668070 (diff) | |
parent | 6722ef49445b3fbe7665fc487733a8710a98fb5f (diff) | |
download | packages-addc96410e6eae47a28314aeaace3228bd70b9cd.tar.gz packages-addc96410e6eae47a28314aeaace3228bd70b9cd.tar.bz2 packages-addc96410e6eae47a28314aeaace3228bd70b9cd.tar.xz packages-addc96410e6eae47a28314aeaace3228bd70b9cd.zip |
Merge branch 'sr.2019.08.07' into 'master'
Misc changes, 2019.08.07
See merge request adelie/packages!315
Diffstat (limited to 'experimental/libabigail/musl-fts.patch')
-rw-r--r-- | experimental/libabigail/musl-fts.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/experimental/libabigail/musl-fts.patch b/experimental/libabigail/musl-fts.patch new file mode 100644 index 000000000..4824812c8 --- /dev/null +++ b/experimental/libabigail/musl-fts.patch @@ -0,0 +1,32 @@ +--- libabigail-1.6/configure.ac 2019-03-27 05:31:13.000000000 -0400 ++++ libabigail-1.6/configure.ac 2019-07-18 07:12:25.129755599 -0400 +@@ -147,20 +147,6 @@ fi + + AC_SUBST(VISIBILITY_FLAGS) + +-dnl Older glibc had a broken fts that didn't work with Large File Systems. +-dnl We want the version that can handler LFS, but include workaround if we +-dnl get a bad one. Add define to CFLAGS (not AC_DEFINE it) since we need to +-dnl check it before including config.h (which might define _FILE_OFFSET_BITS). +-AC_CACHE_CHECK([whether including fts.h with _FILE_OFFSET_BITS set breaks], ac_cv_bad_fts, +- [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ +- #define _FILE_OFFSET_BITS 64 +- #include <fts.h> +- ]])], +- ac_cv_bad_fts=no, ac_cv_bad_fts=yes)]) +-AS_IF([test "x$ac_cv_bad_fts" = "xyes"], +- [CFLAGS="$CFLAGS -DBAD_FTS=1", +- CXXFLAGS="$CXXFLAGS -DBAD_FTS=1"]) +- + dnl Check for dependency: libelf, libdw, libebl (elfutils) + dnl Note that we need to use at least elfutils 0.159 but + dnl at that time elfutils didnt have pkgconfig capabilities +@@ -577,7 +563,7 @@ AX_VALGRIND_CHECK + + dnl Set the list of libraries libabigail depends on + +-DEPS_LIBS="$XML_LIBS $LIBZIP_LIBS $ELF_LIBS $DW_LIBS" ++DEPS_LIBS="$XML_LIBS $LIBZIP_LIBS $ELF_LIBS $DW_LIBS -lfts" + AC_SUBST(DEPS_LIBS) + + if test x$ABIGAIL_DEVEL != x; then |