Blame SOURCES/lzo_snappy.patch

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