[Bug 257931] security/masscan: Update to 1.3.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 23 Aug 2021 22:44:32 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257931

--- Comment #1 from Nuno Teixeira <eduardo_at_FreeBSD.org> ---
Created attachment 227393
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227393&action=edit
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
_at__at_ -115,6 +115,8 _at__at_
 #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

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Mon Aug 23 2021 - 22:44:32 UTC

Original text of this message