summaryrefslogtreecommitdiff
path: root/sysutils/xentools41/patches
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xentools41/patches')
-rw-r--r--sysutils/xentools41/patches/patch-xenstat_libxenstat_Makefile13
-rw-r--r--sysutils/xentools41/patches/patch-xenstat_xentop_Makefile15
2 files changed, 26 insertions, 2 deletions
diff --git a/sysutils/xentools41/patches/patch-xenstat_libxenstat_Makefile b/sysutils/xentools41/patches/patch-xenstat_libxenstat_Makefile
index 3a438ef3676..95fb8b8fc08 100644
--- a/sysutils/xentools41/patches/patch-xenstat_libxenstat_Makefile
+++ b/sysutils/xentools41/patches/patch-xenstat_libxenstat_Makefile
@@ -1,8 +1,17 @@
-$NetBSD: patch-xenstat_libxenstat_Makefile,v 1.1 2013/04/11 19:57:53 joerg Exp $
+$NetBSD: patch-xenstat_libxenstat_Makefile,v 1.1.10.1 2014/05/21 04:06:03 schnoebe Exp $
--- xenstat/libxenstat/Makefile.orig 2013-03-25 19:37:42.000000000 +0000
+++ xenstat/libxenstat/Makefile
-@@ -57,13 +57,13 @@ $(SHLIB): $(OBJECTS-y)
+@@ -40,7 +40,7 @@
+ LDFLAGS+=-Lsrc -L$(XEN_XENSTORE)/ -L$(XEN_LIBXC)/
+ LDLIBS-y = -lxenstore -lxenctrl
+ LDLIBS-$(CONFIG_SunOS) += -lkstat
+-ARLIBS-y = $(XEN_XENSTORE)/libxenstore.so $(XEN_LIBXC)/libxenctrl.so
++ARLIBS-y =
+ ARLIBS-x86_64 = /usr/lib/amd64/libkstat.so
+ ARLIBS-x86_32 = /usr/lib/libkstat.so
+ ARLIBS-$(CONFIG_SunOS) += $(ARLIBS-$(XEN_TARGET_ARCH))
+@@ -57,13 +57,13 @@
$(OBJECTS-y) $(LDLIBS-y)
src/xenstat.o: src/xenstat.c src/xenstat.h src/xenstat_priv.h
diff --git a/sysutils/xentools41/patches/patch-xenstat_xentop_Makefile b/sysutils/xentools41/patches/patch-xenstat_xentop_Makefile
new file mode 100644
index 00000000000..7dfc61daf78
--- /dev/null
+++ b/sysutils/xentools41/patches/patch-xenstat_xentop_Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-xenstat_xentop_Makefile,v 1.1.2.2 2014/05/21 04:06:03 schnoebe Exp $
+
+--- xenstat/xentop/Makefile.orig 2014-05-14 15:15:54.000000000 +0200
++++ xenstat/xentop/Makefile 2014-05-14 15:15:56.000000000 +0200
+@@ -19,8 +19,8 @@
+ else
+
+ CFLAGS += -DGCC_PRINTF -Wall -Werror -I$(XEN_LIBXENSTAT)
+-LDFLAGS += -L$(XEN_LIBXENSTAT)
+-LDLIBS += -lxenstat $(CURSES_LIBS) $(SOCKET_LIBS)
++LDFLAGS += -L$(XEN_LIBXENSTAT) -L$(XEN_XENSTORE) -L$(XEN_LIBXC)
++LDLIBS += -lxenstat -lxenstore -lxenctrl $(CURSES_LIBS) $(SOCKET_LIBS)
+ CFLAGS += -DHOST_$(XEN_OS)
+
+ .PHONY: all