summaryrefslogtreecommitdiff
path: root/archivers/lha/patches
diff options
context:
space:
mode:
authortv <tv>1998-12-01 04:19:00 +0000
committertv <tv>1998-12-01 04:19:00 +0000
commit18f84854b4ec054eea0c234932fe131f7fb9a7a8 (patch)
treefce5a26ee0f1a1e8f7141666caa553ab58ee4e05 /archivers/lha/patches
parent96717a07920bfba6af4791ec38b439b7445325ed (diff)
downloadpkgsrc-18f84854b4ec054eea0c234932fe131f7fb9a7a8.tar.gz
Eliminate malloc() cast warnings on LP64.
Diffstat (limited to 'archivers/lha/patches')
-rw-r--r--archivers/lha/patches/patch-ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/archivers/lha/patches/patch-ac b/archivers/lha/patches/patch-ac
new file mode 100644
index 00000000000..819e2a11db3
--- /dev/null
+++ b/archivers/lha/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1 1998/12/01 04:19:00 tv Exp $
+
+--- src/lha.h.orig Mon Nov 30 23:13:56 1998
++++ src/lha.h Mon Nov 30 23:14:25 1998
+@@ -10,6 +10,7 @@
+ lharc.h interface.h slidehuf.h
+ */
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <errno.h>
+ #include <ctype.h>
+ #include <sys/types.h>