SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
devel/glog/patches/patch-src_raw_logging_cc
Normal file
15
devel/glog/patches/patch-src_raw_logging_cc
Normal file
|
@ -0,0 +1,15 @@
|
|||
fixed OpenBSD support (#921)
|
||||
|
||||
Index: src/raw_logging.cc
|
||||
--- src/raw_logging.cc.orig
|
||||
+++ src/raw_logging.cc
|
||||
@@ -59,7 +59,8 @@
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
-#if (defined(HAVE_SYSCALL_H) || defined(HAVE_SYS_SYSCALL_H)) && (!(defined(GLOG_OS_MACOSX)))
|
||||
+#if (defined(HAVE_SYSCALL_H) || defined(HAVE_SYS_SYSCALL_H)) && \
|
||||
+ (!(defined(GLOG_OS_MACOSX)) && !(defined(GLOG_OS_OPENBSD)))
|
||||
# define safe_write(fd, s, len) syscall(SYS_write, fd, s, len)
|
||||
#else
|
||||
// Not so safe, but what can you do?
|
Loading…
Add table
Add a link
Reference in a new issue