summaryrefslogtreecommitdiff
path: root/user/libptytty/force-utmps.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-05-30 20:08:37 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-07 10:08:18 -0500
commitdd586bef81c5688585a73a270585e2ba500ced9e (patch)
tree8db8073ad11758536a637c949df4dbbd58d16a90 /user/libptytty/force-utmps.patch
parent14c653090b391e04af7e278b0e3da97b5581f1fb (diff)
downloadpackages-dd586bef81c5688585a73a270585e2ba500ced9e.tar.gz
packages-dd586bef81c5688585a73a270585e2ba500ced9e.tar.bz2
packages-dd586bef81c5688585a73a270585e2ba500ced9e.tar.xz
packages-dd586bef81c5688585a73a270585e2ba500ced9e.zip
user/libptytty: New package
This is a dependency of newer releases of user/rxvt-unicode. Closes: #1180
Diffstat (limited to 'user/libptytty/force-utmps.patch')
-rw-r--r--user/libptytty/force-utmps.patch12
1 files changed, 12 insertions, 0 deletions
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