OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
2.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../xen-tools/compile-fix.patch
  5. # Copyright (C) 2010 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -Nur xen-4.0.1-orig/tools/ioemu-qemu-xen/configure xen-4.0.1/tools/ioemu-qemu-xen/configure
  17. --- xen-4.0.1-orig/tools/ioemu-qemu-xen/configure 2010-09-23 17:45:26.648000253 +0200
  18. +++ xen-4.0.1/tools/ioemu-qemu-xen/configure 2010-09-23 17:46:35.044000252 +0200
  19. @@ -1436,7 +1436,7 @@
  20. if test "$target_softmmu" = "no" -o "$static" = "yes"; then
  21. echo "SDL_LIBS=$sdl_static_libs" >> $config_mak
  22. elif test "$sdl_x11" = "yes" ; then
  23. - echo "SDL_LIBS=`$sdl_config --libs` -lX11" >> $config_mak
  24. + echo "SDL_LIBS=`$sdl_config --libs` `pkg-config --cflags x11 --libs`" >> $config_mak
  25. else
  26. echo "SDL_LIBS=`$sdl_config --libs`" >> $config_mak
  27. fi
  28. diff -Nur xen-4.0.1-orig/tools/libxc/Makefile xen-4.0.1/tools/libxc/Makefile
  29. --- xen-4.0.1-orig/tools/libxc/Makefile 2010-09-23 17:45:26.892000253 +0200
  30. +++ xen-4.0.1/tools/libxc/Makefile 2010-09-23 17:47:17.984000252 +0200
  31. @@ -174,7 +174,7 @@
  32. libxenguest.so.$(MAJOR).$(MINOR): LDFLAGS += $(call zlib-options,l)
  33. libxenguest.so.$(MAJOR).$(MINOR): $(GUEST_PIC_OBJS) libxenctrl.so
  34. - $(CC) $(CFLAGS) $(LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxenguest.so.$(MAJOR) $(SHLIB_CFLAGS) -o $@ $(GUEST_PIC_OBJS) -lz -lxenctrl $(PTHREAD_LIBS)
  35. + $(CC) $(CFLAGS) $(LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxenguest.so.$(MAJOR) $(SHLIB_CFLAGS) -o $@ $(GUEST_PIC_OBJS) -lz -lbz2 -lxenctrl $(PTHREAD_LIBS)
  36. -include $(DEPS)
  37. diff -Nur xen-4.0.1-orig/tools/xcutils/Makefile xen-4.0.1/tools/xcutils/Makefile
  38. --- xen-4.0.1-orig/tools/xcutils/Makefile 2010-09-23 17:45:26.932000253 +0200
  39. +++ xen-4.0.1/tools/xcutils/Makefile 2010-09-23 17:47:49.136000252 +0200
  40. @@ -16,7 +16,7 @@
  41. PROGRAMS = xc_restore xc_save readnotes lsevtchn
  42. -LDLIBS = $(LDFLAGS_libxenctrl) $(LDFLAGS_libxenguest) $(LDFLAGS_libxenstore)
  43. +LDLIBS = $(LDFLAGS_libxenctrl) $(LDFLAGS_libxenguest) $(LDFLAGS_libxenstore) -lbz2
  44. .PHONY: all
  45. all: build