2014-01-24 14:41:30 +00:00
|
|
|
From: Petr Tesarik <ptesarik@suse.cz>
|
|
|
|
Subject: Apply custom patches to gdb
|
2021-01-07 12:43:49 +00:00
|
|
|
Upstream: never
|
2014-01-24 14:41:30 +00:00
|
|
|
|
|
|
|
Enhance the crash specfile to allow applying custom patches.
|
|
|
|
|
2014-09-19 09:39:39 +00:00
|
|
|
Update jeffm 17 Sep 2014: What used to be in the series file is now in
|
|
|
|
gdb-7.6-ppc64le-support.patch. We used to apply it unconditionally so
|
|
|
|
we'll continue to do so.
|
|
|
|
|
2014-01-24 14:41:30 +00:00
|
|
|
Signed-off-by: Petr Tesarik <ptesarik@suse.cz>
|
|
|
|
|
|
|
|
---
|
2014-09-19 09:39:39 +00:00
|
|
|
Makefile | 7 +++++--
|
|
|
|
1 file changed, 5 insertions(+), 2 deletions(-)
|
2014-01-24 14:41:30 +00:00
|
|
|
|
2023-09-22 16:02:04 +00:00
|
|
|
Index: b/Makefile
|
|
|
|
===================================================================
|
2014-11-24 13:04:19 +00:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2023-09-22 16:02:04 +00:00
|
|
|
@@ -293,6 +293,11 @@ gdb_unzip:
|
2014-01-24 14:41:30 +00:00
|
|
|
gdb_patch:
|
|
|
|
if [ -f ${GDB}.patch ] && [ -s ${GDB}.patch ]; then \
|
2014-07-08 17:04:31 +00:00
|
|
|
patch -p0 < ${GDB}.patch; cp ${GDB}.patch ${GDB}; fi
|
2014-01-24 14:41:30 +00:00
|
|
|
+ if [ -f ${GDB}.series ]; then \
|
|
|
|
+ while read p; do \
|
|
|
|
+ patch -d ${GDB} -p1 -F0 < "$$p" ; \
|
|
|
|
+ done < ${GDB}.series ; \
|
2023-04-12 12:14:22 +00:00
|
|
|
+ fi
|
|
|
|
|
|
|
|
library: ${OBJECT_FILES}
|
|
|
|
ar -rs ${PROGRAM}lib.a ${OBJECT_FILES}
|