Explorar o código

Update elfutils to 0.190 (#6714)

* Update elfutils to 0.190

* fixup
Saikari hai 4 meses
pai
achega
0e4accf3c2

+ 80 - 0
packages/e/elfutils/patches/0.190/configure.patch

@@ -0,0 +1,80 @@
+diff --git a/configure b/configure
+index 4a3e0a4..5440ae7 100644
+--- a/configure
++++ b/configure
+@@ -9363,75 +9363,7 @@ See \`config.log' for more details" "$LINENO" 5; } ;;
+ 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; }
+-if test ${ac_cv_search__obstack_free+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 _obstack_free ();
+-int
+-main (void)
+-{
+-return _obstack_free ();
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-for ac_lib in '' obstack
+-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__obstack_free=$ac_res
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.beam \
+-    conftest$ac_exeext
+-  if test ${ac_cv_search__obstack_free+y}
+-then :
+-  break
+-fi
+-done
+-if test ${ac_cv_search__obstack_free+y}
+-then :
+-
+-else $as_nop
+-  ac_cv_search__obstack_free=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__obstack_free" >&5
+-printf "%s\n" "$ac_cv_search__obstack_free" >&6; }
+-ac_res=$ac_cv_search__obstack_free
+-if test "$ac_res" != no
+-then :
+-  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+-
+-fi
+-
+-LIBS="$saved_LIBS"
+-case "$ac_cv_search__obstack_free" 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 _obstack_free
+-See \`config.log' for more details" "$LINENO" 5; } ;;
+-        -l*) obstack_LIBS="$ac_cv_search__obstack_free" ;;
+-        *) obstack_LIBS= ;;
+-esac
+ 
+ 
+ 

+ 2 - 0
packages/e/elfutils/xmake.lua

@@ -7,9 +7,11 @@ package("elfutils")
     set_urls("https://sourceware.org/elfutils/ftp/$(version)/elfutils-$(version).tar.bz2")
     add_versions("0.183", "c3637c208d309d58714a51e61e63f1958808fead882e9b607506a29e5474f2c5")
     add_versions("0.189", "39bd8f1a338e2b7cd4abc3ff11a0eddc6e690f69578a57478d8179b4148708c8")
+    add_versions("0.190", "8e00a3a9b5f04bc1dc273ae86281d2d26ed412020b391ffcc23198f10231d692")
 
     add_patches("0.183", path.join(os.scriptdir(), "patches", "0.183", "configure.patch"), "7a16719d9e3d8300b5322b791ba5dd02986f2663e419c6798077dd023ca6173a")
     add_patches("0.189", path.join(os.scriptdir(), "patches", "0.189", "configure.patch"), "b4016a97e6aaad92b15fad9a594961b1fc77a6d054ebadedef9bb3a55e99a8f8")
+    add_patches("0.190", path.join(os.scriptdir(), "patches", "0.190", "configure.patch"), "8118132b8499ba54b0dbed823295d17f79670060c2cee9f3a186ce966bed9a75")
 
     add_configs("libelf",   {description = "Enable libelf", default = true, type = "boolean"})
     add_configs("libdw",    {description = "Enable libdw", default = true, type = "boolean"})