pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/dbus



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Aug  2 05:16:29 UTC 2025

Modified Files:
        pkgsrc/sysutils/dbus: distinfo
Added Files:
        pkgsrc/sysutils/dbus/patches: patch-meson.build

Log Message:
dbus: try fixing build on Illumos


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 pkgsrc/sysutils/dbus/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/dbus/patches/patch-meson.build

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/dbus/distinfo
diff -u pkgsrc/sysutils/dbus/distinfo:1.104 pkgsrc/sysutils/dbus/distinfo:1.105
--- pkgsrc/sysutils/dbus/distinfo:1.104 Fri Aug  1 20:58:51 2025
+++ pkgsrc/sysutils/dbus/distinfo       Sat Aug  2 05:16:29 2025
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.104 2025/08/01 20:58:51 wiz Exp $
+$NetBSD: distinfo,v 1.105 2025/08/02 05:16:29 wiz Exp $
 
 BLAKE2s (dbus-1.16.2.tar.xz) = 3c0a3f816ad77f1866671498bd9d505deb81310149faefb28916b0910f27bee1
 SHA512 (dbus-1.16.2.tar.xz) = 5c26f52d85984bb9ae1dde8d7e73921eacbdf020a61ff15f00a4c240cb38a121553ee04bd66e62b28425ff9bc50f4f5e15135166573ac0888332a01a0db1faa2
 Size (dbus-1.16.2.tar.xz) = 1115644 bytes
 SHA1 (patch-bus_meson.build) = e815474ffeb4ee7086121746174de6d220290347
+SHA1 (patch-meson.build) = b81435e50a287cd327ff50e2f380dcdaabae05e1
 SHA1 (patch-tools_meson.build) = 1199df4b4d73cf32278a359c94f3bef8d1d34a51

Added files:

Index: pkgsrc/sysutils/dbus/patches/patch-meson.build
diff -u /dev/null pkgsrc/sysutils/dbus/patches/patch-meson.build:1.1
--- /dev/null   Sat Aug  2 05:16:29 2025
+++ pkgsrc/sysutils/dbus/patches/patch-meson.build      Sat Aug  2 05:16:29 2025
@@ -0,0 +1,33 @@
+$NetBSD: patch-meson.build,v 1.1 2025/08/02 05:16:29 wiz Exp $
+
+Handle Illumos like Solaris.
+
+--- meson.build.orig   2025-02-27 16:29:06.000000000 +0000
++++ meson.build
+@@ -171,7 +171,7 @@ compile_args = [
+ # See https://gitlab.freedesktop.org/dbus/dbus/-/issues/4
+ compile_args += ['-fno-strict-aliasing']
+ 
+-if host_os.contains('solaris')
++if host_os.contains('solaris') or host_os.contains('illumos')
+     compile_args += [
+         # Solaris' C library apparently needs these runes to be threadsafe...
+         '-D_POSIX_PTHREAD_SEMANTICS',
+@@ -532,7 +532,7 @@ endif
+ have_console_owner_file = false
+ console_owner_file = get_option('solaris_console_owner_file')
+ if console_owner_file != ''
+-  if not host_os.contains('solaris')
++  if not host_os.contains('solaris') and not host_os.contains('illumos')
+     error('solaris_console_owner_file is only supported on Solaris)')
+   endif
+   have_console_owner_file = true
+@@ -1379,7 +1379,7 @@ summary_dict += {
+     'Tests socket dir':         test_socket_dir,
+ }
+ 
+-if host_os.contains('solaris')
++if host_os.contains('solaris') or host_os.contains('illumos')
+   summary_dict += {
+       'Console owner file': console_owner_file,
+   }



Home | Main Index | Thread Index | Old Index