Blame SOURCES/lzo_snappy.patch

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