unbreak, two patches needed rm'ing

This commit is contained in:
sthen 2023-01-20 09:09:40 +00:00
parent 33a51ce4ce
commit 8bef66e69a
2 changed files with 0 additions and 27 deletions

View File

@ -1,13 +0,0 @@
Detect libinotify using pkg-config.
Index: cmake/03-libs.cmake
--- cmake/03-libs.cmake.orig
+++ cmake/03-libs.cmake
@@ -25,6 +25,6 @@ querylib(WITH_XRM "pkg-config" xcb-xrm libs dirs)
querylib(WITH_XCURSOR "pkg-config" xcb-cursor libs dirs)
# FreeBSD Support
-if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
querylib(TRUE "pkg-config" libinotify libs dirs)
endif()

View File

@ -1,14 +0,0 @@
Don't use the CPP define for fileno in stdio.h
It causes clang++ to blow up.
Index: src/utils/file.cpp
--- src/utils/file.cpp.orig
+++ src/utils/file.cpp
@@ -46,6 +46,7 @@ file_ptr::operator int() {
return static_cast<const file_ptr&>(*this);
}
file_ptr::operator int() const {
+#undef fileno
return fileno(*this);
}