crash/crash-8.0.0-5-gdb-cdefs.patch
Lianbo Jiang 8e2937808b Rebase to upstream crash-8.0.1
Release: crash-8.0.1-1

Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
2022-05-01 19:27:39 +08:00

20 lines
614 B
Diff

--- a/gdb-10.2.patch
+++ b/gdb-10.2.patch
@@ -1638,3 +1638,14 @@ exit 0
$(ECHO_CXXLD) $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \
-o $(shell /bin/cat mergeobj) $(LIBGDB_OBS) \
$(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES) $(shell /bin/cat mergelibs)
+--- gdb-10.2/gnulib/import/libc-config.h.orig
++++ gdb-10.2/gnulib/import/libc-config.h
+@@ -156,7 +156,7 @@
+ #undef __warndecl
+
+ /* Include our copy of glibc <sys/cdefs.h>. */
+-#include <cdefs.h>
++#include <sys/cdefs.h>
+
+ /* <cdefs.h> __inline is too pessimistic for non-GCC. */
+ #undef __inline
--
2.20.1