diff --git a/net/nuster/Makefile b/net/nuster/Makefile index b49ef5744..6bc31257d 100644 --- a/net/nuster/Makefile +++ b/net/nuster/Makefile @@ -1,8 +1,8 @@ -# Created by: Felix Hanley +# Created by: Felix Hanley # $FreeBSD$ PORTNAME= nuster -PORTVERSION= 5.0.4.21 +PORTVERSION= 5.3.0.23 DISTVERSIONPREFIX= v CATEGORIES= net www @@ -51,6 +51,11 @@ PORTEXAMPLES= * .include +.if ${ARCH} == "i386" +MAKE_ARGS+= ARCH=i586 +USE_GCC= 9+ +.endif + .if ${ARCH} == "amd64" || ${ARCH} == "i386" MAKE_ARGS+= USE_REGPARM=1 .endif diff --git a/net/nuster/distinfo b/net/nuster/distinfo index f1d034e9f..a92581d35 100644 --- a/net/nuster/distinfo +++ b/net/nuster/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1587540722 -SHA256 (jiangwenyuan-nuster-v5.0.4.21_GH0.tar.gz) = 0aa3b5cadf077e6d74a7eff0a673238b698e462e330978f300d5541d4bfd688b -SIZE (jiangwenyuan-nuster-v5.0.4.21_GH0.tar.gz) = 2784325 +TIMESTAMP = 1609969571 +SHA256 (jiangwenyuan-nuster-v5.3.0.23_GH0.tar.gz) = 44542397b75073e9092e54e23dfa2755029b3c01817ef69a699d37a9453e4094 +SIZE (jiangwenyuan-nuster-v5.3.0.23_GH0.tar.gz) = 3017428 diff --git a/net/nuster/files/patch-include-common-hathreads.h b/net/nuster/files/patch-include-common-hathreads.h deleted file mode 100644 index 7c8dc5752..000000000 --- a/net/nuster/files/patch-include-common-hathreads.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/common/hathreads.h.orig 2018-08-15 11:14:35 UTC -+++ include/common/hathreads.h -@@ -113,7 +113,7 @@ extern THREAD_LOCAL unsigned long tid_bi - /* TODO: thread: For now, we rely on GCC builtins but it could be a good idea to - * have a header file regrouping all functions dealing with threads. */ - --#if defined(__GNUC__) && (__GNUC__ < 4 || __GNUC__ == 4 && __GNUC_MINOR__ < 7) && !defined(__clang__) -+#if (defined(__GNUC__) && (__GNUC__ < 4 || __GNUC__ == 4 && __GNUC_MINOR__ < 7) && !defined(__clang__)) || (defined(__clang__) && defined(__i386__)) - /* gcc < 4.7 */ - - #define HA_ATOMIC_ADD(val, i) __sync_add_and_fetch(val, i)