summaryrefslogtreecommitdiff
path: root/package/libptytty/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-03-05 09:23:56 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-03-05 11:53:24 +0100
commit484b367b40407b747a3078ab4b67d0c470512d65 (patch)
tree4d5274c991be03948a2a00d64eec00a2c37d73f8 /package/libptytty/patches
parent5c85fc6020684e006c1ee672b023eeabae23374c (diff)
libptytty: fix compile
Diffstat (limited to 'package/libptytty/patches')
-rw-r--r--package/libptytty/patches/patch-CMakeLists_txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/libptytty/patches/patch-CMakeLists_txt b/package/libptytty/patches/patch-CMakeLists_txt
new file mode 100644
index 000000000..09a108c5a
--- /dev/null
+++ b/package/libptytty/patches/patch-CMakeLists_txt
@@ -0,0 +1,13 @@
+--- libptytty-2.0.orig/CMakeLists.txt 2021-08-04 16:07:44.000000000 +0200
++++ libptytty-2.0/CMakeLists.txt 2024-03-03 19:23:33.085544136 +0100
+@@ -323,10 +323,6 @@ configure_file(
+ libptytty.pc.in
+ libptytty.pc)
+
+-add_executable(c-sample eg/c-sample.c)
+-target_include_directories(c-sample PRIVATE src)
+-target_link_libraries(c-sample ptytty)
+-
+ add_custom_command(
+ OUTPUT ${CMAKE_SOURCE_DIR}/doc/libptytty.3
+ DEPENDS ${CMAKE_SOURCE_DIR}/doc/libptytty.3.pod