diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-24 12:06:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-24 13:59:52 +0000 |
commit | e971bdbd51404cbaa79d23c9053e06223f3185b1 (patch) | |
tree | e5dfaebe24cd1398f7835f6ced85083b94c29901 /main/open-vm-tools-grsec/0001-Remove-unused-DEPRECATED-macro.patch | |
parent | 06f984daee0981ccfce8ae0a8b8b663a1c6667f1 (diff) | |
download | aports-e971bdbd51404cbaa79d23c9053e06223f3185b1.tar.bz2 aports-e971bdbd51404cbaa79d23c9053e06223f3185b1.tar.xz |
main/open-vm-tools-grsec: fix buildling with newer kernels
patches found on arch linux AUR:
https://aur.archlinux.org/packages/open-vm-tools-dkms/
Diffstat (limited to 'main/open-vm-tools-grsec/0001-Remove-unused-DEPRECATED-macro.patch')
-rwxr-xr-x | main/open-vm-tools-grsec/0001-Remove-unused-DEPRECATED-macro.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/main/open-vm-tools-grsec/0001-Remove-unused-DEPRECATED-macro.patch b/main/open-vm-tools-grsec/0001-Remove-unused-DEPRECATED-macro.patch new file mode 100755 index 0000000000..ff230a7ef6 --- /dev/null +++ b/main/open-vm-tools-grsec/0001-Remove-unused-DEPRECATED-macro.patch @@ -0,0 +1,33 @@ +From 0a49c04428ff99fdf29edf32e043e04fae492b6d Mon Sep 17 00:00:00 2001 +From: "Scott M. Kroll" <skroll@gmail.com> +Date: Mon, 14 Jul 2014 11:24:44 -0400 +Subject: [PATCH 1/5] Remove unused DEPRECATED macro + +--- + open-vm-tools/lib/include/vm_assert.h | 10 ---------- + 1 file changed, 10 deletions(-) + +diff --git a/open-vm-tools/lib/include/vm_assert.h b/open-vm-tools/lib/include/vm_assert.h +index 5b02eed..48c9f1d 100644 +--- a/lib/include/vm_assert.h ++++ b/lib/include/vm_assert.h +@@ -282,16 +282,6 @@ void WarningThrottled(uint32 *count, const char *fmt, ...) + + #define LOG_ONCE(_s) DO_ONCE(Log _s) + +-#ifdef VMX86_DEVEL +- #define DEPRECATED(_fix) DO_ONCE( \ +- Warning("%s:%d: %s is DEPRECATED; %s\n", \ +- __FILE__, __LINE__, __FUNCTION__, \ +- _fix)) +-#else +- #define DEPRECATED(_fix) do {} while (0) +-#endif +- +- + /* + * Redefine macros that are only in debug versions + */ +-- +2.0.1 + |