Blame SOURCES/lzo_snappy.patch

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