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:   nros
Date:           Fri Nov 20 20:48:19 UTC 2026

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

Log Message:
dbus: Fix build on Illumos


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 pkgsrc/sysutils/dbus/distinfo
cvs rdiff -u -r0 -r1.4 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.107 pkgsrc/sysutils/dbus/distinfo:1.108
--- pkgsrc/sysutils/dbus/distinfo:1.107 Thu Nov 12 20:43:43 2026
+++ pkgsrc/sysutils/dbus/distinfo       Fri Nov 20 20:48:18 2026
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.107 2026/11/12 20:43:43 wiz Exp $
+$NetBSD: distinfo,v 1.108 2026/11/20 20:48:18 nros Exp $
 
 BLAKE2s (dbus-1.16.4.tar.xz) = 96239ce3f7e2f869ae81541deed2d658fb6c3cc73762d2ca7ae04e8c7519c9c4
 SHA512 (dbus-1.16.4.tar.xz) = edcd1102184e4a81da905a7a554531bcba74d4e037240c27b3cf1af8ed308df6ae6182fd8af0c98894c56b6d24100787893d6a86e430f4077c23c8a3a5f530a2
 Size (dbus-1.16.4.tar.xz) = 1124660 bytes
 SHA1 (patch-bus_meson.build) = e815474ffeb4ee7086121746174de6d220290347
+SHA1 (patch-meson.build) = 425c6666b3cb7a2d41808f62e806b8e5f0b229b5
 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.4
--- /dev/null   Fri Nov 20 20:48:19 2026
+++ pkgsrc/sysutils/dbus/patches/patch-meson.build      Fri Nov 20 20:48:19 2026
@@ -0,0 +1,26 @@
+$NetBSD: patch-meson.build,v 1.4 2026/11/20 20:48:19 nros Exp $
+
+* Treat Illumos like solaris
+* The space before the -D_XOPEN_SOURCE=500 causes the compile test
+  for it to fail somehow, causing the argument to not get added to
+  the compile line
+
+--- meson.build.orig   2026-11-12 16:15:25.000000000 +0000
++++ meson.build
+@@ -171,14 +171,14 @@ 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('sunos')
+     compile_args += [
+         # Solaris' C library apparently needs these runes to be threadsafe...
+         '-D_POSIX_PTHREAD_SEMANTICS',
+         # ... this opt-in to get sockaddr_in6 and sockaddr_storage...
+         '-D__EXTENSIONS__',
+         # ... and this opt-in to get file descriptor passing support
+-        ' -D_XOPEN_SOURCE=500',
++        '-D_XOPEN_SOURCE=500',
+     ]
+ endif
+ 



Home | Main Index | Thread Index | Old Index