From dd586bef81c5688585a73a270585e2ba500ced9e Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 30 May 2024 20:08:37 -0500 Subject: user/libptytty: New package This is a dependency of newer releases of user/rxvt-unicode. Closes: #1180 --- user/libptytty/force-utmps.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 user/libptytty/force-utmps.patch (limited to 'user/libptytty/force-utmps.patch') diff --git a/user/libptytty/force-utmps.patch b/user/libptytty/force-utmps.patch new file mode 100644 index 000000000..ce9c34d6d --- /dev/null +++ b/user/libptytty/force-utmps.patch @@ -0,0 +1,12 @@ +We need to ensure linkage to utmps, or utmpx won't work. + +--- libptytty-2.0/CMakeLists.txt.old 2021-08-04 09:07:44.000000000 -0500 ++++ libptytty-2.0/CMakeLists.txt 2024-05-30 19:50:40.078963587 -0500 +@@ -318,6 +318,7 @@ + target_link_libraries(ptytty PRIVATE util) + list(APPEND LIBS -lutil) + endif() ++target_link_libraries(ptytty PRIVATE :libutmps.so.0.1) + + configure_file( + libptytty.pc.in -- cgit v1.2.3-70-g09d2