# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../xen-tools/compile-fix.patch # Copyright (C) 2010 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- diff -Nur xen-3.4.2-orig/tools/ioemu-qemu-xen/configure xen-3.4.2/tools/ioemu-qemu-xen/configure --- xen-3.4.2-orig/tools/ioemu-qemu-xen/configure 2010-01-14 13:16:34.000000000 +0000 +++ xen-3.4.2/tools/ioemu-qemu-xen/configure 2010-01-14 13:19:09.000000000 +0000 @@ -1433,7 +1433,7 @@ if test "$target_softmmu" = "no" -o "$static" = "yes"; then echo "SDL_LIBS=$sdl_static_libs" >> $config_mak elif test "$sdl_x11" = "yes" ; then - echo "SDL_LIBS=`$sdl_config --libs` -lX11" >> $config_mak + echo "SDL_LIBS=`$sdl_config --libs` `pkg-config --cflags x11 --libs`" >> $config_mak else echo "SDL_LIBS=`$sdl_config --libs`" >> $config_mak fi diff -Nur xen-3.4.2-orig/tools/libxc/Makefile xen-3.4.2/tools/libxc/Makefile --- xen-3.4.2-orig/tools/libxc/Makefile 2010-01-14 13:16:34.000000000 +0000 +++ xen-3.4.2/tools/libxc/Makefile 2010-01-14 13:17:50.000000000 +0000 @@ -169,7 +169,7 @@ libxenguest.so.$(MAJOR).$(MINOR): LDFLAGS += $(call zlib-options,l) libxenguest.so.$(MAJOR).$(MINOR): $(GUEST_PIC_OBJS) libxenctrl.so - $(CC) $(CFLAGS) $(LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxenguest.so.$(MAJOR) $(SHLIB_CFLAGS) -o $@ $(GUEST_PIC_OBJS) -lz -lxenctrl $(PTHREAD_LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxenguest.so.$(MAJOR) $(SHLIB_CFLAGS) -o $@ $(GUEST_PIC_OBJS) -lz -lbz2 -lxenctrl $(PTHREAD_LIBS) -include $(DEPS) diff -Nur xen-3.4.2-orig/tools/xcutils/Makefile xen-3.4.2/tools/xcutils/Makefile --- xen-3.4.2-orig/tools/xcutils/Makefile 2010-01-14 13:16:35.000000000 +0000 +++ xen-3.4.2/tools/xcutils/Makefile 2010-01-14 13:17:22.000000000 +0000 @@ -16,7 +16,7 @@ PROGRAMS = xc_restore xc_save readnotes lsevtchn -LDLIBS = $(LDFLAGS_libxenctrl) $(LDFLAGS_libxenguest) $(LDFLAGS_libxenstore) +LDLIBS = $(LDFLAGS_libxenctrl) $(LDFLAGS_libxenguest) $(LDFLAGS_libxenstore) -lbz2 .PHONY: all all: build