aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-09-30 02:09:56 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-09-30 02:59:39 +0000
commit32d0b0d5e1b5db3fb0a089a8eb30fb1891c27754 (patch)
tree691bcec0661c0a68b033e3bc0e84cd5c045f4941
parenta729ef3becbe6b3b879beed4e1974dd18ff01f81 (diff)
-rw-r--r--multimedia/arcan/Makefile2
-rw-r--r--multimedia/arcan/files/patch-platform_cmake_CMakeLists.BSD15
2 files changed, 16 insertions, 1 deletions
diff --git a/multimedia/arcan/Makefile b/multimedia/arcan/Makefile
index 4d23ce46b92a..04c42c748903 100644
--- a/multimedia/arcan/Makefile
+++ b/multimedia/arcan/Makefile
@@ -1,6 +1,6 @@
PORTNAME= arcan
DISTVERSION= 0.6.2.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= multimedia
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
diff --git a/multimedia/arcan/files/patch-platform_cmake_CMakeLists.BSD b/multimedia/arcan/files/patch-platform_cmake_CMakeLists.BSD
new file mode 100644
index 000000000000..af4661e3174a
--- /dev/null
+++ b/multimedia/arcan/files/patch-platform_cmake_CMakeLists.BSD
@@ -0,0 +1,15 @@
+Partially revert https://github.com/letoram/arcan/commit/3c1674a8f5db
+
+--- platform/cmake/CMakeLists.BSD.orig 2022-10-12 20:23:54 UTC
++++ platform/cmake/CMakeLists.BSD
+@@ -74,6 +74,10 @@ else()
+ set(BSD_VARIANT_DEFINITIONS
+ -DCLOCK_MONOTONIC_RAW=CLOCK_REALTIME_FAST)
+
++# FreeBSD 12.1 enabled evdev but Arcan crashes
++ if(${INPUT_PLATFORM} STREQUAL "evdev")
++ SET(INPUT_PLATFORM "syscons")
++ endif()
+ if (VIDEO_PLATFORM STREQUAL "egl-dri")
+ list(APPEND ARCAN_PLATFORM ${PLATFORM_PATH}/psep_open.c)
+ else()