SHA256
1
0
forked from pool/systemd
systemd/0001-compat-rules-make-path_id_compat-build-with-meson.patch
Franck Bui 3a769c401e Accepting request 573381 from home:fbui:systemd:Factory
- Switch to Meson build system
  Some rearrangement in the file list was also needed. That was
  probably due to the upgrade of rpm.

- Import commit 0a5600eb7f8263c7c79fec0d85cc159d54aba636
  2a181fc6f insserv-generator: make it build with meson
  7b0401da4 build-sys: don't build networkctl if networkd is disabled

- Don't build-require selinux for the mini package

- Drop libgcrypt.m4
  The mini package builds fine without it so it doesn't seem necessary
  anymore.

- Import commit 846d838c37865da60eba48090e570e959291399f
  b1e0a348d fileio: include sys/mman.h
  f1fa784cb meson: update header file to detect memfd_create()
  8838ba7ec meson: define _GNU_SOURCE to detect copy_file_range() (#7734)
  531a00c84 Restore "restore /var/run and /var/lock bind mount if they aren't symlink""
  (the 3 first commits make systemd build against glibc 2.27)

- Import commit 3f421e4fbf6fcb31d74caf729435868ba8824483
  7fb9ea39a Revert "restore /var/run and /var/lock bind mount if they aren't symlink"
  23ce1207a meson.build: make docdir configurable (#8068)
- Import commit 0a5600eb7f8263c7c79fec0d85cc159d54aba636

OBS-URL: https://build.opensuse.org/request/show/573381
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1009
2018-02-06 15:23:04 +00:00

42 lines
1.3 KiB
Diff

From 1cbe23da27e68bd3c7ca2a2fe6007d9a53533de9 Mon Sep 17 00:00:00 2001
From: Franck Bui <fbui@suse.com>
Date: Fri, 2 Feb 2018 17:58:19 +0100
Subject: [PATCH 1/1] compat-rules: make path_id_compat build with meson
---
src/udev/compat/meson.build | 11 +++++++++++
src/udev/meson.build | 2 ++
2 files changed, 13 insertions(+)
create mode 100644 src/udev/compat/meson.build
diff --git a/src/udev/compat/meson.build b/src/udev/compat/meson.build
new file mode 100644
index 000000000..0d77da2e1
--- /dev/null
+++ b/src/udev/compat/meson.build
@@ -0,0 +1,11 @@
+foreach prog : ['path_id_compat.c']
+
+ executable(prog.split('.')[0],
+ prog,
+ include_directories : includes,
+ c_args : ['-DLOG_REALM=LOG_REALM_UDEV'],
+ link_with : [libudev_internal],
+ install_rpath : udev_rpath,
+ install : true,
+ install_dir : udevlibexecdir)
+endforeach
diff --git a/src/udev/meson.build b/src/udev/meson.build
index 13cd26bb8..4aa431ecc 100644
--- a/src/udev/meson.build
+++ b/src/udev/meson.build
@@ -151,3 +151,5 @@ install_data(udev_pc,
meson.add_install_script('sh', '-c',
mkdir_p.format(join_paths(sysconfdir, 'udev/rules.d')))
+
+subdir('compat')
--
2.15.1