Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2013 22:43:17 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r310346 - in head/security/nmap: . files
Message-ID:  <201301132243.r0DMhH30022477@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@sentor.se> per PM
  
  PR:		175210
  Submitted by:	Jürgen <caligula@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301132243.r0DMhH30022477>