Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2021 22:44:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 257931] security/masscan: Update  to 1.3.2
Message-ID:  <bug-257931-7788-vxJVAAAgqp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257931-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257931-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257931

--- Comment #1 from Nuno Teixeira <eduardo@FreeBSD.org> ---
Created attachment 227393
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D227393&action=
=3Dedit
sugested update patch

Version 1.0.4 files/patch-src_smack1.c include:

--- src/smack1.c.orig   2017-06-06 03:59:39 UTC
+++ src/smack1.c
@@ -115,6 +115,8 @@
 #include "pixie-timer.h"
 #if defined(_MSC_VER)
 #include <intrin.h>
+#elif defined(__llvm__) && (defined(__amd64__) || defined(__i386__))
+#include <x86intrin.h>
 #elif defined(__GNUC__)
 static __inline__ unsigned long long __rdtsc(void)
 {

Version 1.3.2 src/smack1.c already includes:

#if defined (__llvm__)
#if defined(i386) || defined(__i386__)
#include <x86intrin.h>

So I think upstream added the need of <x86intrin.h> and I deleted
files/patch-src_smack1.c just to see if program works ok.

What do you think, could you do further tests?

I'm busy compiling a big port update but soon I will do 'poudriere testport'
tests.

Thanks

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257931-7788-vxJVAAAgqp>