aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2003-05-11 16:59:54 +0800
committerache <ache@FreeBSD.org>2003-05-11 16:59:54 +0800
commit7feea8ff223431e69b2c9ee0594a0a64ed197f23 (patch)
treedf52c0863dd3298df1f56bfa2ddda360784f807b /archivers
parent907aecddb2a9e7d1a9aa96924467306815bcc399 (diff)
downloadfreebsd-ports-gnome-7feea8ff223431e69b2c9ee0594a0a64ed197f23.tar.gz
freebsd-ports-gnome-7feea8ff223431e69b2c9ee0594a0a64ed197f23.tar.zst
freebsd-ports-gnome-7feea8ff223431e69b2c9ee0594a0a64ed197f23.zip
Include <stdlib.h> for malloc() prototype
Submitted by: tjr
Diffstat (limited to 'archivers')
-rw-r--r--archivers/lha/Makefile1
-rw-r--r--archivers/lha/files/patch-af11
2 files changed, 12 insertions, 0 deletions
diff --git a/archivers/lha/Makefile b/archivers/lha/Makefile
index 2da0488ae26b..d627f5d12273 100644
--- a/archivers/lha/Makefile
+++ b/archivers/lha/Makefile
@@ -7,6 +7,7 @@
PORTNAME= lha
PORTVERSION= 1.14i
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://www2m.biglobe.ne.jp/~dolphin/lha/prog/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//}
diff --git a/archivers/lha/files/patch-af b/archivers/lha/files/patch-af
new file mode 100644
index 000000000000..e1f9026a5abe
--- /dev/null
+++ b/archivers/lha/files/patch-af
@@ -0,0 +1,11 @@
+diff -ru src.orig/lha.h src/lha.h
+--- src.orig/lha.h Thu Oct 5 10:35:38 2000
++++ src/lha.h Sun May 11 00:31:53 2003
+@@ -11,6 +11,7 @@
+ lharc.h interface.h slidehuf.h
+ */
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <errno.h>
+ #include <ctype.h>
+ #include <sys/types.h>