2022-06-06 22:16:34 +00:00
|
|
|
--- crash-7.3.2/Makefile.orig
|
|
|
|
+++ crash-7.3.2/Makefile
|
|
|
|
@@ -253,7 +253,7 @@ all: make_configure
|
2022-05-26 05:15:12 +00:00
|
|
|
gdb_merge: force
|
|
|
|
@if [ ! -f ${GDB}/README ]; then \
|
2022-06-06 22:16:34 +00:00
|
|
|
$(MAKE) gdb_unzip; fi
|
2022-05-26 05:15:12 +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-06-06 22:16:34 +00:00
|
|
|
--- crash-7.3.2/diskdump.c.orig
|
|
|
|
+++ crash-7.3.2/diskdump.c
|
2022-05-26 05:15:12 +00:00
|
|
|
@@ -23,6 +23,9 @@
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#define LZO
|
|
|
|
+#define SNAPPY
|
|
|
|
+#define ZSTD
|
|
|
|
#include "defs.h"
|
|
|
|
#include "diskdump.h"
|
|
|
|
#include "xen_dom0.h"
|
2022-06-06 22:16:34 +00:00
|
|
|
--
|