unbreak, two patches needed rm'ing
This commit is contained in:
parent
33a51ce4ce
commit
8bef66e69a
|
@ -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()
|
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user