Loading...
gen/FreeBSD/dirname.c.patch /dev/null Libc-498.1.7
--- /dev/null
+++ Libc/Libc-498.1.7/gen/FreeBSD/dirname.c.patch
@@ -0,0 +1,18 @@
+Index: dirname.c
+===================================================================
+RCS file: /cvs/root/Libc/gen/FreeBSD/dirname.c,v
+retrieving revision 1.2
+diff -u -d -b -w -p -u -r1.2 dirname.c
+--- dirname.c	2003/05/20 22:21:01	1.2
++++ dirname.c	2004/12/10 18:48:49
+@@ -39,6 +39,10 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/dir
+ #include <string.h>
+ #include <sys/param.h>
+ 
++#if __DARWIN_UNIX03
++#define const /**/
++#endif
++
+ char *
+ dirname(path)
+ 	const char *path;