summaryrefslogtreecommitdiff
path: root/graphics/openimageio/patches/patch-libutil_sysutil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/openimageio/patches/patch-libutil_sysutil.cpp')
-rw-r--r--graphics/openimageio/patches/patch-libutil_sysutil.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/graphics/openimageio/patches/patch-libutil_sysutil.cpp b/graphics/openimageio/patches/patch-libutil_sysutil.cpp
deleted file mode 100644
index 2c978e5e115..00000000000
--- a/graphics/openimageio/patches/patch-libutil_sysutil.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-libutil_sysutil.cpp,v 1.2 2013/10/12 22:13:44 ryoon Exp $
-
-* Treat NetBSD like Linux (I am not sure)
-
---- libutil/sysutil.cpp.orig 2013-09-30 17:25:21.000000000 +0000
-+++ libutil/sysutil.cpp
-@@ -39,7 +39,7 @@
- # include <sys/ioctl.h>
- #endif
-
--#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__)
-+#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__NetBSD__)
- # include <sys/types.h>
- # include <sys/resource.h>
- # include <sys/sysctl.h>
-@@ -150,7 +150,7 @@ Sysutil::this_program_path ()
- char filename[10240];
- filename[0] = 0;
-
--#if defined(__linux__)
-+#if defined(__linux__) || defined(__NetBSD__)
- unsigned int size = sizeof(filename);
- int r = readlink ("/proc/self/exe", filename, size);
- ASSERT(r < int(size)); // user won't get the right answer if the filename is too long to store