ports/188744: emulators/open-vm-tools clang fix
Alfred Perlstein
alfred at freebsd.org
Fri Apr 18 03:40:00 UTC 2014
>Number: 188744
>Category: ports
>Synopsis: emulators/open-vm-tools clang fix
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 18 03:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Alfred Perlstein
>Release: FreeBSD 10-STABLE amd64
>Organization:
Norse Corp
>Environment:
10.0-STABLE FreeBSD 10.0-STABLE #1 07966b6(freebsd-local/stable_10): Tue Apr 15 13:41:12 UTC 2014
>Description:
Port breaks due to -Werror + stricter clang.
>How-To-Repeat:
>Fix:
commit 982245204ec2a4016f432539eed77762021ffdca
Author: Alfred Perlstein <ap at norse-corp.com>
Date: Thu Apr 17 19:28:28 2014 +0000
Fix more pedantic warns with new clang.
diff --git a/emulators/open-vm-tools/files/patch-libvmtools__i18n.c b/emulators/open-vm-tools/files/patch-libvmtools__i18n.c
new file mode 100644
index 0000000..7b46bf0
--- /dev/null
+++ b/emulators/open-vm-tools/files/patch-libvmtools__i18n.c
@@ -0,0 +1,18 @@
+--- ./libvmtools/i18n.c.orig 2014-04-17 19:02:44.102203216 +0000
++++ ./libvmtools/i18n.c 2014-04-17 19:08:48.881598972 +0000
+@@ -88,6 +88,7 @@
+ }
+
+
++#ifdef BUG_ON
+ /*
+ ******************************************************************************
+ * MsgHasMsgID -- */ /**
+@@ -112,6 +113,7 @@
+ *(s += MSG_MAGIC_LEN) == '(' &&
+ strchr(s + 1, ')') != NULL;
+ }
++#endif
+
+
+ /*
diff --git a/emulators/open-vm-tools/files/patch-modules__freebsd__vmhgfs__channel.h b/emulators/open-vm-tools/files/patch-modules__freebsd__vmhgfs__channel.h
new file mode 100644
index 0000000..351bba7
--- /dev/null
+++ b/emulators/open-vm-tools/files/patch-modules__freebsd__vmhgfs__channel.h
@@ -0,0 +1,11 @@
+--- ./modules/freebsd/vmhgfs/channel.h.orig 2014-04-17 19:09:26.524175474 +0000
++++ ./modules/freebsd/vmhgfs/channel.h 2014-04-17 19:09:47.679175031 +0000
+@@ -21,7 +21,7 @@
+ */
+
+ #ifndef _HGFS_CHANNEL_H_
+-#define _HGFS_CHANNEL__H_
++#define _HGFS_CHANNEL_H_
+
+ #include "hgfs_kernel.h"
+ #include "requestInt.h"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list