summaryrefslogtreecommitdiff
path: root/archivers/lha/files/patch-lharc.c
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/lha/files/patch-lharc.c')
-rw-r--r--archivers/lha/files/patch-lharc.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/archivers/lha/files/patch-lharc.c b/archivers/lha/files/patch-lharc.c
new file mode 100644
index 000000000000..41c40de01872
--- /dev/null
+++ b/archivers/lha/files/patch-lharc.c
@@ -0,0 +1,19 @@
+--- src/lharc.c.orig Sun May 7 00:05:29 2000
++++ src/lharc.c Fri Jul 28 19:35:31 2000
+@@ -889,6 +889,7 @@
+ /* */
+ /* ------------------------------------------------------------------------ */
+ /* Build temporary file name and store to TEMPORARY_NAME */
++#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
+ void
+ build_temporary_name()
+ {
+@@ -912,7 +913,7 @@
+ mktemp(temporary_name);
+ #endif
+ }
+-
++#endif
+ /* ------------------------------------------------------------------------ */
+ static void
+ modify_filename_extention(buffer, ext)