summaryrefslogtreecommitdiff
path: root/sysutils/seatd/patches/patch-seatd-0_7_0_meson_build
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/seatd/patches/patch-seatd-0_7_0_meson_build')
-rw-r--r--sysutils/seatd/patches/patch-seatd-0_7_0_meson_build40
1 files changed, 40 insertions, 0 deletions
diff --git a/sysutils/seatd/patches/patch-seatd-0_7_0_meson_build b/sysutils/seatd/patches/patch-seatd-0_7_0_meson_build
new file mode 100644
index 0000000..82decfc
--- /dev/null
+++ b/sysutils/seatd/patches/patch-seatd-0_7_0_meson_build
@@ -0,0 +1,40 @@
+Index: seatd-0.7.0/meson.build
+--- seatd-0.7.0/meson.build.orig
++++ seatd-0.7.0/meson.build
+@@ -29,7 +29,7 @@ cc = meson.get_compiler('c')
+ add_project_arguments(
+ [
+ '-D_XOPEN_SOURCE=700',
+- '-D__BSD_VISIBLE',
++ '-D_BSD_SOURCE',
+ '-D_NETBSD_SOURCE',
+ '-DSEATD_VERSION="@0@"'.format(meson.project_version()),
+ '-DSEATD_DEFAULTPATH="@0@"'.format(defaultpath),
+@@ -158,8 +158,8 @@ if get_option('libseat-logind') != 'disabled'
+ endif
+
+ # needed for cross-compilation
+-realtime = meson.get_compiler('c').find_library('rt')
+-private_deps += realtime
++# realtime = meson.get_compiler('c').find_library('rt')
++# private_deps += realtime
+
+ if with_builtin
+ libseat_c_args += '-DBUILTIN_ENABLED=1'
+@@ -220,14 +220,14 @@ if with_server
+ [ server_files, 'seatd/seatd.c' ],
+ include_directories: [include_directories('.', 'include')],
+ install: true,
+- dependencies: [realtime],
++# dependencies: [realtime],
+ )
+ executable(
+ 'seatd-launch',
+ [ 'seatd-launch/seatd-launch.c' ],
+ include_directories: [include_directories('.', 'include')],
+ install: true,
+- dependencies: [realtime],
++# dependencies: [realtime],
+ )
+ endif
+