2022-11-17 04:04:08 +00:00
|
|
|
--- crash-8.0.2/Makefile.orig
|
|
|
|
+++ crash-8.0.2/Makefile
|
2022-05-01 07:58:19 +00:00
|
|
|
@@ -256,7 +256,7 @@ all: make_configure
|
2021-12-06 03:36:29 +00:00
|
|
|
gdb_merge: force
|
|
|
|
@if [ ! -f ${GDB}/README ]; then \
|
2022-05-01 07:58:19 +00:00
|
|
|
$(MAKE) gdb_unzip; fi
|
2021-12-06 03:36:29 +00:00
|
|
|
- @echo "${LDFLAGS} -lz -ldl -rdynamic" > ${GDB}/gdb/mergelibs
|
|
|
|
+ @echo "${LDFLAGS} -lz -llzo2 -lsnappy -lzstd -ldl -rdynamic" > ${GDB}/gdb/mergelibs
|
|
|
|
@echo "../../${PROGRAM} ../../${PROGRAM}lib.a" > ${GDB}/gdb/mergeobj
|
|
|
|
@rm -f ${PROGRAM}
|
|
|
|
@if [ ! -f ${GDB}/config.status ]; then \
|
2022-11-17 04:04:08 +00:00
|
|
|
--- crash-8.0.2/diskdump.c.orig
|
|
|
|
+++ crash-8.0.2/diskdump.c
|
2021-12-06 03:36:29 +00:00
|
|
|
@@ -23,6 +23,9 @@
|
2013-09-04 18:02:19 +00:00
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#define LZO
|
|
|
|
+#define SNAPPY
|
2021-12-06 03:36:29 +00:00
|
|
|
+#define ZSTD
|
2013-09-04 18:02:19 +00:00
|
|
|
#include "defs.h"
|
|
|
|
#include "diskdump.h"
|
2015-12-17 19:27:18 +00:00
|
|
|
#include "xen_dom0.h"
|