From f083cef9712471ce47e475c7640c9d53946e3e81 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 11:52:32 +0000 Subject: Apply patch lzo_snappy.patch patch_name: lzo_snappy.patch present_in_specfile: true --- diff --git a/Makefile b/Makefile index 7455410..d0574d8 100644 --- a/Makefile +++ b/Makefile @@ -228,7 +228,7 @@ all: make_configure gdb_merge: force @if [ ! -f ${GDB}/README ]; then \ make --no-print-directory gdb_unzip; fi - @echo "${LDFLAGS} -lz -ldl -rdynamic" > ${GDB}/gdb/mergelibs + @echo "${LDFLAGS} -lz -llzo2 -lsnappy -ldl -rdynamic" > ${GDB}/gdb/mergelibs @echo "../../${PROGRAM} ../../${PROGRAM}lib.a" > ${GDB}/gdb/mergeobj @rm -f ${PROGRAM} @if [ ! -f ${GDB}/config.status ]; then \ diff --git a/diskdump.c b/diskdump.c index e88243e..9ccf703 100644 --- a/diskdump.c +++ b/diskdump.c @@ -23,6 +23,8 @@ * GNU General Public License for more details. */ +#define LZO +#define SNAPPY #include "defs.h" #include "diskdump.h" #include "xen_dom0.h"