svn commit: r310346 - in head/security/nmap: . files
Olli Hauer
ohauer at FreeBSD.org
Sun Jan 13 22:43:18 UTC 2013
Author: ohauer
Date: Sun Jan 13 22:43:17 2013
New Revision: 310346
URL: http://svnweb.freebsd.org/changeset/ports/310346
Log:
- Fix build for FreeBSD-7.4
(nmap 6.25 contains liblua5.2.1)
Requested by Martin Olsson <martin.olsson at sentor.se> per PM
PR: 175210
Submitted by: Jürgen <caligula at primamail.de>
Obtained from: http://lua-users.org/lists/lua-l/2011-12/msg00708.html
Added:
head/security/nmap/files/patch-liblua__liolib.c (contents, props changed)
Modified:
head/security/nmap/Makefile
Modified: head/security/nmap/Makefile
==============================================================================
--- head/security/nmap/Makefile Sun Jan 13 22:28:19 2013 (r310345)
+++ head/security/nmap/Makefile Sun Jan 13 22:43:17 2013 (r310346)
@@ -3,6 +3,7 @@
PORTNAME= nmap
DISTVERSION= 6.25
+PORTREVISION= 1
CATEGORIES= security ipv6
MASTER_SITES= http://nmap.org/dist/ \
LOCAL/ohauer
@@ -57,7 +58,7 @@ PLIST_SUB+= WITHSSL="@comment "
# be defined as param -DWITHOUT_INET6 during build time
# since the port system has no access to src.conf
.if defined(WITHOUT_INET6)
-LIB_DEPENDS+= pcap.1:${PORTSDIR}/net/libpcap
+LIB_DEPENDS+= pcap:${PORTSDIR}/net/libpcap
CONFIGURE_ARGS+= --with-libpcap=${LOCALBASE}
.endif
Added: head/security/nmap/files/patch-liblua__liolib.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/nmap/files/patch-liblua__liolib.c Sun Jan 13 22:43:17 2013 (r310346)
@@ -0,0 +1,15 @@
+Fix build for FreeBSD-7.4
+nmap 6.25 contains liblua5.2.1
+
+http://lua-users.org/lists/lua-l/2011-12/msg00708.html
+==============================================================
+--- ./liblua/liolib.c.orig 2013-01-09 18:47:49.000000000 +0100
++++ ./liblua/liolib.c 2013-01-09 18:48:29.000000000 +0100
+@@ -19,6 +19,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <sys/types.h>
+
+ #define liolib_c
+ #define LUA_LIB
More information about the svn-ports-all
mailing list