summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ndtpd/files/ndtpd-3.1.5-canonicalize.patch')
-rw-r--r--net-misc/ndtpd/files/ndtpd-3.1.5-canonicalize.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-misc/ndtpd/files/ndtpd-3.1.5-canonicalize.patch b/net-misc/ndtpd/files/ndtpd-3.1.5-canonicalize.patch
new file mode 100644
index 000000000000..92889a41401f
--- /dev/null
+++ b/net-misc/ndtpd/files/ndtpd-3.1.5-canonicalize.patch
@@ -0,0 +1,12 @@
+diff -Naurp ndtpd-3.1.5-orig/lib/filename.h ndtpd-3.1.5/lib/filename.h
+--- ndtpd-3.1.5-orig/lib/filename.h 2001-02-03 03:36:06.000000000 -0600
++++ ndtpd-3.1.5/lib/filename.h 2008-06-21 08:34:18.000000000 -0600
+@@ -25,7 +25,7 @@
+ * Function declarations.
+ */
+ #ifdef __STDC__
+-int canonicalize_file_name(char *);
++char * canonicalize_file_name(const char *);
+ #else
+ int canonicalize_file_name();
+ #endif