FreeBSD Bugzilla – Attachment 135549 Details for
Bug 180471
I have updated emulators/open-vm-tools to 9.2.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 9.57 KB, created by
Douglas Carmichael
on 2013-07-11 17:00:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Douglas Carmichael
Created:
2013-07-11 17:00:00 UTC
Size:
9.57 KB
patch
obsolete
>diff -ruN open-vm-tools.orig/Makefile open-vm-tools/Makefile >--- open-vm-tools.orig/Makefile 2013-07-11 00:51:48.000000000 -0500 >+++ open-vm-tools/Makefile 2013-07-11 01:18:04.000000000 -0500 >@@ -6,7 +6,7 @@ > PORTREVISION= 3 > PORTEPOCH= 1 > CATEGORIES= emulators kld >-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/stable-8.6.x >+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/stable-9.2.x > DISTNAME= open-vm-tools-${RELEASE_VER}-${BUILD_VER} > > MAINTAINER= swills@FreeBSD.org >@@ -15,8 +15,8 @@ > LICENSE= LGPL21 > LICENSE_FILE= ${WRKSRC}/COPYING > >-RELEASE_VER= 8.6.0 >-BUILD_VER= 425873 >+RELEASE_VER= 9.2.3 >+BUILD_VER= 1031360 > > WRKSRC= ${WRKDIR}/open-vm-tools-${RELEASE_VER}-${BUILD_VER} > GNU_CONFIGURE= yes >@@ -34,12 +34,6 @@ > .if !defined(WITHOUT_LIBNOTIFY) > LIB_DEPENDS+= notify.4:${PORTSDIR}/devel/libnotify > .endif >-.if defined(WITH_UNITY) >-CONFIGURE_ENV+= CUSTOM_URIPARSER_CPPFLAGS="-I${LOCALBASE}/include/uriparser" >-LIB_DEPENDS+= uriparser.1:${PORTSDIR}/net/uriparser >-.else >-CONFIGURE_ARGS+= --disable-unity >-.endif > LIB_DEPENDS+= gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 > CONFIGURE_ARGS+= --with-x > LDFLAGS+= -L${LOCALBASE}/lib >diff -ruN open-vm-tools.orig/distinfo open-vm-tools/distinfo >--- open-vm-tools.orig/distinfo 2013-07-11 00:51:48.000000000 -0500 >+++ open-vm-tools/distinfo 2013-07-11 00:53:12.000000000 -0500 >@@ -1,2 +1,2 @@ >-SHA256 (open-vm-tools-8.6.0-425873.tar.gz) = 205768023fdf77962684f275f74c98644fba97961cb2afaa0a7d8aec5d074ebf >-SIZE (open-vm-tools-8.6.0-425873.tar.gz) = 3648242 >+SHA256 (open-vm-tools-9.2.3-1031360.tar.gz) = 1a004ea1675101fd44cddda299e2e9ac254388769b69f41b7ff5d1797549c8f1 >+SIZE (open-vm-tools-9.2.3-1031360.tar.gz) = 3565935 >diff -ruN open-vm-tools.orig/files/patch-appUtilX11.c open-vm-tools/files/patch-appUtilX11.c >--- open-vm-tools.orig/files/patch-appUtilX11.c 2013-07-11 00:51:47.000000000 -0500 >+++ open-vm-tools/files/patch-appUtilX11.c 1969-12-31 18:00:00.000000000 -0600 >@@ -1,12 +0,0 @@ >---- ./lib/appUtil/appUtilX11.c.orig 2009-02-18 17:02:41.000000000 +0900 >-+++ ./lib/appUtil/appUtilX11.c 2009-03-24 18:54:18.000000000 +0900 >-@@ -26,6 +26,9 @@ >- #include <stdlib.h> >- #include <string.h> >- #include <unistd.h> >-+#if defined(__FreeBSD__) >-+#include <libgen.h> >-+#endif >- >- #include "vmware.h" >- #include "str.h" >diff -ruN open-vm-tools.orig/files/patch-freebsd-9 open-vm-tools/files/patch-freebsd-9 >--- open-vm-tools.orig/files/patch-freebsd-9 2013-07-11 00:51:47.000000000 -0500 >+++ open-vm-tools/files/patch-freebsd-9 1969-12-31 18:00:00.000000000 -0600 >@@ -1,38 +0,0 @@ >---- modules/freebsd/vmxnet/if_vxn.c.orig 2009-12-31 09:34:42.000000000 +0100 >-+++ modules/freebsd/vmxnet/if_vxn.c 2009-12-31 09:36:56.000000000 +0100 >-@@ -134,7 +134,9 @@ >- static void vxn_init(void *); >- static void vxn_start(struct ifnet *); >- static int vxn_ioctl(struct ifnet *, u_long, caddr_t); >-+#if __FreeBSD_version <= 900000 >- static void vxn_watchdog(struct ifnet *); >-+#endif >- static void vxn_intr (void *); >- >- static void vxn_rx(vxn_softc_t *sc); >-@@ -383,7 +385,9 @@ >- ifp->if_ioctl = vxn_ioctl; >- ifp->if_output = ether_output; >- ifp->if_start = vxn_start; >-+#if __FreeBSD_version <= 900000 >- ifp->if_watchdog = vxn_watchdog; >-+#endif >- ifp->if_init = vxn_init; >- ifp->if_baudrate = 1000000000; >- ifp->if_snd.ifq_maxlen = sc->vxn_num_tx_bufs; >-@@ -1018,6 +1022,7 @@ >- return error; >- } >- >-+#if __FreeBSD_version <= 900000 >- /* >- *----------------------------------------------------------------------------- >- * vxn_watchdog -- >-@@ -1035,6 +1040,7 @@ >- { >- printf("vxn%d: watchdog\n", VXN_IF_UNIT(ifp)); >- } >-+#endif >- >- /* >- *----------------------------------------------------------------------------- >diff -ruN open-vm-tools.orig/files/patch-services-Makefile open-vm-tools/files/patch-services-Makefile >--- open-vm-tools.orig/files/patch-services-Makefile 2013-07-11 00:51:47.000000000 -0500 >+++ open-vm-tools/files/patch-services-Makefile 1969-12-31 18:00:00.000000000 -0600 >@@ -1,22 +0,0 @@ >---- services/Makefile.am.orig 2009-02-28 20:48:46.000000000 +0100 >-+++ services/Makefile.am 2009-02-28 20:49:28.000000000 +0100 >-@@ -20,6 +20,5 @@ >- SUBDIRS += plugins >- >- install-exec-local: >-- mkdir -p $(DESTDIR)/etc/vmware-tools >-- ln -sf `dirname $(VMSVC_PLUGIN_INSTALLDIR)` $(DESTDIR)/etc/vmware-tools/plugins >-+ mkdir -p $(prefix)/etc/vmware-tools >- >---- services/Makefile.in.orig 2009-02-28 20:48:52.000000000 +0100 >-+++ services/Makefile.in 2009-02-28 20:49:46.000000000 +0100 >-@@ -642,8 +642,7 @@ >- >- >- install-exec-local: >-- mkdir -p $(DESTDIR)/etc/vmware-tools >-- ln -sf `dirname $(VMSVC_PLUGIN_INSTALLDIR)` $(DESTDIR)/etc/vmware-tools/plugins >-+ mkdir -p $(prefix)/etc/vmware-tools >- >- # Tell versions [3.59,3.63) of GNU make to not export all variables. >- # Otherwise a system limit (for SysV at least) may be exceeded. >diff -ruN open-vm-tools.orig/files/patch-vmhgfs-Makefile open-vm-tools/files/patch-vmhgfs-Makefile >--- open-vm-tools.orig/files/patch-vmhgfs-Makefile 2013-07-11 00:51:47.000000000 -0500 >+++ open-vm-tools/files/patch-vmhgfs-Makefile 2013-07-11 01:16:27.000000000 -0500 >@@ -1,27 +1,51 @@ >---- ./modules/freebsd/vmhgfs/Makefile.orig 2010-10-20 05:19:54.000000000 +0900 >-+++ ./modules/freebsd/vmhgfs/Makefile 2010-11-11 23:06:07.000000000 +0900 >-@@ -90,22 +90,7 @@ >- CFLAGS += -Ishared >- .endif >- >--# >--# FreeBSD's kernel module build system defines a bunch of additional warning >--# flags for the compiler in addition to -Wall -Werror. However, some of these, >--# like -Wredundant-decls, are overkill. To get around this, I copied their list >--# of warning flags, but explicitly disabled a few. >--# >--CWARNFLAGS := -Wall >--CWARNFLAGS += -Werror >--CWARNFLAGS += -Wno-redundant-decls >--CWARNFLAGS += -Wnested-externs >--CWARNFLAGS += -Wstrict-prototypes >--CWARNFLAGS += -Wno-missing-prototypes >--CWARNFLAGS += -Wpointer-arith >--CWARNFLAGS += -Winline >--CWARNFLAGS += -Wcast-qual >-- >- EXPORT_SYMS = NO >- >-+.include <bsd.own.mk> >- .include <bsd.kmod.mk> >- >+*** modules/freebsd/vmhgfs/Makefile.orig Wed Apr 17 17:12:22 2013 >+--- modules/freebsd/vmhgfs/Makefile Thu Jul 11 01:14:46 2013 >+*************** >+*** 47,53 **** >+ .endif >+ >+ COMMON_HGFS_SRCS := debug.c >+! COMMON_HGFS_SRCS := bdhandler.c >+ COMMON_HGFS_SRCS += request.c >+ COMMON_HGFS_SRCS += worker.c >+ COMMON_HGFS_SRCS += fsutil.c >+--- 47,53 ---- >+ .endif >+ >+ COMMON_HGFS_SRCS := debug.c >+! COMMON_HGFS_SRCS += bdhandler.c >+ COMMON_HGFS_SRCS += request.c >+ COMMON_HGFS_SRCS += worker.c >+ COMMON_HGFS_SRCS += fsutil.c >+*************** >+*** 93,114 **** >+ CFLAGS += -Ishared >+ .endif >+ >+- # >+- # FreeBSD's kernel module build system defines a bunch of additional warning >+- # flags for the compiler in addition to -Wall -Werror. However, some of these, >+- # like -Wredundant-decls, are overkill. To get around this, I copied their list >+- # of warning flags, but explicitly disabled a few. >+- # >+- CWARNFLAGS := -Wall >+- CWARNFLAGS += -Werror >+- CWARNFLAGS += -Wno-redundant-decls >+- CWARNFLAGS += -Wnested-externs >+- CWARNFLAGS += -Wstrict-prototypes >+- CWARNFLAGS += -Wno-missing-prototypes >+- CWARNFLAGS += -Wpointer-arith >+- CWARNFLAGS += -Winline >+- CWARNFLAGS += -Wcast-qual >+- >+ EXPORT_SYMS = NO >+ >+ .include <bsd.kmod.mk> >+--- 93,99 ---- >+ CFLAGS += -Ishared >+ .endif >+ >+ EXPORT_SYMS = NO >+ >++ .include <bsd.own.mk> >+ .include <bsd.kmod.mk> >diff -ruN open-vm-tools.orig/files/patch-vmhgfs-state.c open-vm-tools/files/patch-vmhgfs-state.c >--- open-vm-tools.orig/files/patch-vmhgfs-state.c 2013-07-11 00:51:47.000000000 -0500 >+++ open-vm-tools/files/patch-vmhgfs-state.c 1969-12-31 18:00:00.000000000 -0600 >@@ -1,31 +0,0 @@ >---- modules/freebsd/vmhgfs/state.c.orig 2010-10-20 05:19:54.000000000 +0900 >-+++ modules/freebsd/vmhgfs/state.c 2010-11-16 13:27:57.000000000 +0900 >-@@ -770,6 +770,12 @@ >- goto destroyVnode; >- } >- >-+#if __FreeBSD_version >= 700034 >-+ if ((ret = insmntque(vp, vfsp)) != 0) { >-+ return ret; >-+ } >-+#endif >-+ >- /* >- * Now we'll initialize the vnode. We need to set the file type, vnode >- * operations, flags, filesystem pointer, reference count, and device. >-@@ -1277,6 +1283,7 @@ >- *---------------------------------------------------------------------------- >- */ >- >-+#if 0 /* never used */ >- void >- HgfsMarkFileMmapped(struct vnode *vp, // vnode which state is being changed >- Bool mmapped) // New mapping state >-@@ -1286,6 +1293,7 @@ >- fp = HGFS_VP_TO_FP(vp); >- fp->mmapped = mmapped; >- } >-+#endif >- >- /* Adding/finding/removing file state from hash table */ >- >diff -ruN open-vm-tools.orig/pkg-plist open-vm-tools/pkg-plist >--- open-vm-tools.orig/pkg-plist 2013-07-11 00:51:48.000000000 -0500 >+++ open-vm-tools/pkg-plist 2013-07-11 01:17:19.000000000 -0500 >@@ -14,7 +14,6 @@ > lib/open-vm-tools/plugins/common/libvix.so > lib/open-vm-tools/plugins/common/libvix.la > %%X11%%lib/open-vm-tools/plugins/vmusr/libresolutionSet.so >-%%X11%%lib/open-vm-tools/plugins/vmusr/libvixUser.so > %%X11%%lib/open-vm-tools/plugins/vmusr/libdesktopEvents.so > %%X11%%lib/open-vm-tools/plugins/vmusr/libdndcp.so > lib/libhgfs.a >@@ -41,16 +40,12 @@ > include/vmGuestLib/vm_basic_types.h > @exec mkdir -p %D/lib/vmware-tools/modules/input > sbin/mount_vmhgfs >-%%X11%%bin/vmware-toolbox > %%X11%%bin/vmware-user-suid-wrapper > share/vmware-tools/poweroff-vm-default > share/vmware-tools/poweron-vm-default > share/vmware-tools/resume-vm-default > share/vmware-tools/suspend-vm-default > share/vmware-tools/vm-support >-share/open-vm-tools/messages/de/toolbox.vmsg >-share/open-vm-tools/messages/ja/toolbox.vmsg >-share/open-vm-tools/messages/zh_CN/toolbox.vmsg > share/vmware-tools/statechange.subr > share/vmware-tools/scripts/vmware/network > @exec kldxref %D/lib/vmware-tools/modules/drivers 2>/dev/null || true
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 180471
: 135549