Blame SOURCES/lzo_snappy.patch

7294dd
diff --git crash-7.2.8/Makefile crash-7.2.8/Makefile
7294dd
index 745541012f43..d0574d8f07d3 100644
7294dd
--- crash-7.2.8/Makefile
7294dd
+++ crash-7.2.8/Makefile
ada8de
@@ -228,7 +228,7 @@ all: make_configure
ada8de
 gdb_merge: force
ada8de
 	@if [ ! -f ${GDB}/README ]; then \
ada8de
 	  make --no-print-directory gdb_unzip; fi
ada8de
-	@echo "${LDFLAGS} -lz -ldl -rdynamic" > ${GDB}/gdb/mergelibs
ada8de
+	@echo "${LDFLAGS} -lz -llzo2 -lsnappy -ldl -rdynamic" > ${GDB}/gdb/mergelibs
ada8de
 	@echo "../../${PROGRAM} ../../${PROGRAM}lib.a" > ${GDB}/gdb/mergeobj
ada8de
 	@rm -f ${PROGRAM}
ada8de
 	@if [ ! -f ${GDB}/config.status ]; then \
7294dd
diff --git crash-7.2.8/diskdump.c crash-7.2.8/diskdump.c
7294dd
index e88243e616cc..9ccf7039231b 100644
7294dd
--- crash-7.2.8/diskdump.c
7294dd
+++ crash-7.2.8/diskdump.c
7294dd
@@ -23,6 +23,8 @@
7294dd
  * GNU General Public License for more details.
7294dd
  */
7294dd
 
7294dd
+#define LZO
7294dd
+#define SNAPPY
7294dd
 #include "defs.h"
7294dd
 #include "diskdump.h"
7294dd
 #include "xen_dom0.h"