mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 20:09:01 +08:00
552f1ee5f8
* first batch of xwindow PR ports - up to dbus * first batch of xwindow PR ports - up to dbus * format manifest * version stuff * remove if block * version stuff * fix xcb hash * fix xproto dependency on meson blocking cross builds * adjust message * use X11_xcb_LIB * version stuff * put xlib arm64-windows on baseline * fix dbus on osx and linux * version stuff * forget to set the value * fix --export-dynamic on osx * version dbus * ci-retrigger * add license (needs tool update) * version adjustments * version update * remove unnecessary comments * v db * Apply suggestions from code review Co-authored-by: Billy O'Neal <bion@microsoft.com> * nitpicks * rename xau to libxau * use vcpkg_install_copyright and silence usage * xtrans silence usage * format-manifest * v db * make license null for ports without exact match * xdmcp rename to libxdmcp * merge x11 wrapper into xlib rename xlib to libx11 to avoid a metaport * v db * missed dbus depending on x11. * v db * Update scripts/ci.baseline.txt Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com> Co-authored-by: Alexander Neumann <you@example.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Billy O'Neal <bion@microsoft.com>
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake
|
|
index 7bc789f0e..ec476d9ed 100644
|
|
--- a/cmake/ConfigureChecks.cmake
|
|
+++ b/cmake/ConfigureChecks.cmake
|
|
@@ -44,6 +44,7 @@ check_include_file(sys/inotify.h DBUS_BUS_ENABLE_INOTIFY)
|
|
|
|
check_symbol_exists(backtrace "execinfo.h" HAVE_BACKTRACE) # dbus-sysdeps.c, dbus-sysdeps-win.c
|
|
check_symbol_exists(getgrouplist "grp.h" HAVE_GETGROUPLIST) # dbus-sysdeps.c
|
|
+check_symbol_exists(getpeereid "sys/types.h;unistd.h" HAVE_GETPEEREID) # dbus-sysdeps.c,
|
|
check_symbol_exists(getpeerucred "ucred.h" HAVE_GETPEERUCRED) # dbus-sysdeps.c, dbus-sysdeps-win.c
|
|
check_symbol_exists(nanosleep "time.h" HAVE_NANOSLEEP) # dbus-sysdeps.c
|
|
check_symbol_exists(getpwnam_r "errno.h;pwd.h" HAVE_GETPWNAM_R) # dbus-sysdeps-util-unix.c
|
|
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake
|
|
index cbffcfa91..1f055ddb9 100644
|
|
--- a/cmake/config.h.cmake
|
|
+++ b/cmake/config.h.cmake
|
|
@@ -169,6 +169,9 @@
|
|
/* Define to 1 if you have getgrouplist */
|
|
#cmakedefine HAVE_GETGROUPLIST 1
|
|
|
|
+/* Define to 1 if you have getpeereid */
|
|
+#cmakedefine HAVE_GETPEEREID 1
|
|
+
|
|
/* Define to 1 if you have getpeerucred */
|
|
#cmakedefine HAVE_GETPEERUCRED 1
|
|
|