aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2019-03-13 08:13:58 +0800
committerjkim <jkim@FreeBSD.org>2019-03-13 08:13:58 +0800
commitc2ccf2bd678c48565b1bb393eded5c0af0dba553 (patch)
tree37c06fcf318e2fd4b2ed2d5a418090b22527b808
parent7e1a4b9fc41c06f699ae53afa885d3666fdf1f24 (diff)
downloadfreebsd-ports-gnome-c2ccf2bd678c48565b1bb393eded5c0af0dba553.tar.gz
freebsd-ports-gnome-c2ccf2bd678c48565b1bb393eded5c0af0dba553.tar.zst
freebsd-ports-gnome-c2ccf2bd678c48565b1bb393eded5c0af0dba553.zip
Fix build on 11.2.
-rw-r--r--audio/oss/files/patch-kernel_OS_FreeBSD_wrapper_bsddefs.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/oss/files/patch-kernel_OS_FreeBSD_wrapper_bsddefs.h b/audio/oss/files/patch-kernel_OS_FreeBSD_wrapper_bsddefs.h
new file mode 100644
index 000000000000..9dfb8ff183fd
--- /dev/null
+++ b/audio/oss/files/patch-kernel_OS_FreeBSD_wrapper_bsddefs.h
@@ -0,0 +1,12 @@
+--- kernel/OS/FreeBSD/wrapper/bsddefs.h.orig 2019-03-06 07:52:21 UTC
++++ kernel/OS/FreeBSD/wrapper/bsddefs.h
+@@ -93,8 +93,8 @@ extern void oss_udelay (unsigned long t);
+ #ifdef _KERNEL
+ #ifdef memset
+ #undef memset
+-#define memset oss_memset
+ #endif
++#define memset oss_memset
+ extern void *oss_memset (void *t, int val, int l);
+ #endif
+