Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 2006 10:52:42 GMT
From:      Adi Pircalabu<apircalabu@bitdefender.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/107133: [PATCH] security/nmap: fix compile on 4.x
Message-ID:  <200612231052.kBNAqgc9050836@www.freebsd.org>
Resent-Message-ID: <200612231100.kBNB0TEt048075@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         107133
>Category:       ports
>Synopsis:       [PATCH] security/nmap: fix compile on 4.x
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 23 11:00:28 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Adi Pircalabu
>Release:        4.11-STABLE
>Organization:
BitDefender
>Environment:
FreeBSD scorilo.qbyte.net 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu Dec  7 16:15:05 EET 2006     root@scorilo.qbyte.net:/usr/obj/usr/src/sys/SCORILO  i386
>Description:
Latest version of nmap does not build on 4.11. This patch fixes the issue by using lang/gcc34
>How-To-Repeat:

>Fix:
--- Patch starts here ---

--- Makefile.orig       Sat Dec 23 12:31:02 2006
+++ Makefile    Sat Dec 23 12:40:43 2006
@@ -7,6 +7,7 @@

 PORTNAME?=     nmap
 PORTVERSION=   ${DISTVERSION:L:C/([a-z])[a-z]+/\1/g:C/[^a-z0-9+]+/./g}
+PORTREVISION=   1
 CATEGORIES=    security ipv6
 MASTER_SITES=  http://download.insecure.org/nmap/dist/ \
                http://www.mirrors.wiretapped.net/security/network-mapping/nmap/ \
@@ -84,7 +85,7 @@
 .include <bsd.port.pre.mk>

 .if ${OSVERSION} < 500000
-BROKEN=                Does not compile on 4.x
+USE_GCC=       3.4
 .endif

 .include <bsd.port.post.mk>

--- Patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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