mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
dev-util/annobin: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
12
dev-util/annobin/files/annobin-10.58-demangle.h-path.patch
Normal file
12
dev-util/annobin/files/annobin-10.58-demangle.h-path.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff '--color=auto' -ru /var/tmp/portage/dev-util/annobin-10.58/work/annobin-10.58/annocheck/annocheck.h annobin-10.58/annocheck/annocheck.h
|
||||
--- /var/tmp/portage/dev-util/annobin-10.58/work/annobin-10.58/annocheck/annocheck.h 2022-03-14 12:43:07.000000000 +0100
|
||||
+++ annobin-10.58/annocheck/annocheck.h 2022-03-20 08:36:28.373389297 +0100
|
||||
@@ -38,7 +38,7 @@
|
||||
#include <elfutils/libdw.h>
|
||||
|
||||
#include <libiberty.h>
|
||||
-#include <demangle.h>
|
||||
+#include <libiberty/demangle.h>
|
||||
|
||||
#define PACKAGE "annocheck"
|
||||
|
||||
28
dev-util/annobin/files/annobin-10.58-fix-bashism.patch
Normal file
28
dev-util/annobin/files/annobin-10.58-fix-bashism.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
--- a/config/debuginfod.m4
|
||||
+++ b/config/debuginfod.m4
|
||||
@@ -34,5 +34,5 @@
|
||||
fi
|
||||
fi
|
||||
AM_CONDITIONAL([HAVE_DEBUGINFOD],
|
||||
- [test x"$have_debuginfod_lib" == xyes -a x"$have_debuginfod_h" == xyes])
|
||||
+ [test x"$have_debuginfod_lib" = xyes && x"$have_debuginfod_h" = xyes])
|
||||
])
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -149,13 +149,13 @@
|
||||
AM_CONDITIONAL([COND_DOCS], [test "$with_docs" != no])
|
||||
AM_CONDITIONAL([COND_TESTS], [test "$with_tests" != no])
|
||||
AM_CONDITIONAL([COND_ANNOCHECK], [test "$with_annocheck" != no])
|
||||
-AM_CONDITIONAL([COND_CLANG], [test "$with_clang_plugin" == yes])
|
||||
+AM_CONDITIONAL([COND_CLANG], [test "$with_clang_plugin" = yes])
|
||||
AM_CONDITIONAL([COND_GCC_PLUGIN], [test "$with_gcc_plugin" != no])
|
||||
-AM_CONDITIONAL([COND_LLVM], [test "$with_llvm_plugin" == yes])
|
||||
+AM_CONDITIONAL([COND_LLVM], [test "$with_llvm_plugin" = yes])
|
||||
|
||||
AC_CONFIG_FILES(Makefile)
|
||||
|
||||
-if test "$with_annocheck" != no -o test "$with_gcc_plugin" != no; then
|
||||
+if test "$with_annocheck" != no || test "$with_gcc_plugin" != no; then
|
||||
AC_CONFIG_HEADERS(gcc-plugin/config.h)
|
||||
fi
|
||||
if test "$with_docs" != no; then
|
||||
Reference in New Issue
Block a user