# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/libelf/no-fts.diff # Copyright (C) 2021 - 2024 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License version 2 as used by the T2 SDE. # --- T2-COPYRIGHT-NOTE-END --- --- elfutils-0.189/Makefile.in.vanilla 2023-07-08 23:28:37.454209989 +0200 +++ elfutils-0.189/Makefile.in 2023-07-08 23:29:06.039405975 +0200 @@ -424,8 +424,7 @@ # Don't make make repeat. AM_MAKEFLAGS = --no-print-directory pkginclude_HEADERS = version.h -SUBDIRS = config lib libelf libcpu backends libebl libdwelf libdwfl libdw \ - libasm debuginfod src po doc tests +SUBDIRS = lib libelf libcpu backends libebl EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \ COPYING COPYING-GPLV2 COPYING-LGPLV3 --- elfutils-0.191/configure.vanilla 2024-04-02 11:38:24.081848317 +0200 +++ elfutils-0.191/configure 2024-04-02 11:50:55.174796842 +0200 @@ -9293,78 +9293,6 @@ *) argp_LDADD= ;; esac - -saved_LIBS="$LIBS" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing fts_close" >&5 -printf %s "checking for library containing fts_close... " >&6; } -if test ${ac_cv_search_fts_close+y} -then : - printf %s "(cached) " >&6 -else $as_nop - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char fts_close (); -int -main (void) -{ -return fts_close (); - ; - return 0; -} -_ACEOF -for ac_lib in '' fts -do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO" -then : - ac_cv_search_fts_close=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext - if test ${ac_cv_search_fts_close+y} -then : - break -fi -done -if test ${ac_cv_search_fts_close+y} -then : - -else $as_nop - ac_cv_search_fts_close=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fts_close" >&5 -printf "%s\n" "$ac_cv_search_fts_close" >&6; } -ac_res=$ac_cv_search_fts_close -if test "$ac_res" != no -then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - -LIBS="$saved_LIBS" -case "$ac_cv_search_fts_close" in - no) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "failed to find fts_close -See \`config.log' for more details" "$LINENO" 5; } ;; - -l*) fts_LIBS="$ac_cv_search_fts_close" ;; - *) fts_LIBS= ;; -esac - - saved_LIBS="$LIBS" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing _obstack_free" >&5 printf %s "checking for library containing _obstack_free... " >&6; }