Loading...
--- /dev/null
+++ Libc/Libc-763.12/gen/FreeBSD/dirname.c.patch
@@ -0,0 +1,13 @@
+--- dirname.c.orig 2009-11-07 14:51:37.000000000 -0800
++++ dirname.c 2009-11-07 14:51:40.000000000 -0800
+@@ -25,6 +25,10 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/dir
+ #include <string.h>
+ #include <sys/param.h>
+
++#if __DARWIN_UNIX03
++#define const /**/
++#endif
++
+ char *
+ dirname(const char *path)
+ {