pkgsrc/devel/kpty/patches/patch-src_ConfigureCheck.cmake
markd edbfdcbdb8 Add KDE Frameworks 5.21.0 packages:
kbookmarks - Support for bookmarks and the XBEL format
kcmutils - Utilities for interacting with KCModules
kconfig - Configuration system
kcoreaddons - Addons to QtCore
kcrash - Support for application crash analysis and bug report from apps
kdeclarative - Provides integration of QML and KDE Frameworks
kdoctools - Documentation generation from docbook
ki18n - Advanced internationalization framework
kidletime - Monitoring user activity
kio - Resource and network access abstraction
kitemmodels - Models for Qt Model/View system
knotifications - Abstraction for system notifications
knotifyconfig - Configuration system for KNotify
kpackage - Installation and loading of additional content as packages
kparts - Document centric plugin system
kpeople - Provides access to all contacts and aggregates them by person
kpty - Pty abstraction
kservice - Advanced plugin and service introspection
ktexteditor - Advanced embeddable text editor
threadweaver - High-level multithreading framework
2016-05-26 08:29:04 +00:00

14 lines
623 B
CMake

$NetBSD: patch-src_ConfigureCheck.cmake,v 1.1 2016/05/26 08:29:06 markd Exp $
NetBSD loginx() complains if ut_type not set before calling
--- src/ConfigureChecks.cmake.orig 2016-04-03 21:01:19.000000000 +0000
+++ src/ConfigureChecks.cmake
@@ -42,6 +42,7 @@ if (UNIX)
endif (HAVE_UTMPX)
if (login_in_libc OR login_in_libutil)
set(HAVE_LOGIN 1)
+ check_struct_has_member("struct ${utmp}" "ut_type" "${utmp}.h" HAVE_STRUCT_UTMP_UT_TYPE)
else (login_in_libc OR login_in_libutil)
set(HAVE_LOGIN)
check_struct_has_member("struct ${utmp}" "ut_type" "${utmp}.h" HAVE_STRUCT_UTMP_UT_TYPE)