View | Details | Raw Unified | Return to bug 252479 | Differences between
and this patch

Collapse All | Expand All

(-)b/net/nuster/Makefile (-2 / +7 lines)
Lines 1-8 Link Here
1
# Created by: Felix Hanley
1
# Created by: Felix Hanley <felix@userspace.com.au>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	nuster
4
PORTNAME=	nuster
5
PORTVERSION=	5.0.4.21
5
PORTVERSION=	5.3.0.23
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
CATEGORIES=	net www
7
CATEGORIES=	net www
8
8
Lines 51-56 PORTEXAMPLES= * Link Here
51
51
52
.include <bsd.port.pre.mk>
52
.include <bsd.port.pre.mk>
53
53
54
.if ${ARCH} == "i386"
55
MAKE_ARGS+=	ARCH=i586
56
USE_GCC=	9+
57
.endif
58
54
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
59
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
55
MAKE_ARGS+=	USE_REGPARM=1
60
MAKE_ARGS+=	USE_REGPARM=1
56
.endif
61
.endif
(-)b/net/nuster/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1587540722
1
TIMESTAMP = 1609969571
2
SHA256 (jiangwenyuan-nuster-v5.0.4.21_GH0.tar.gz) = 0aa3b5cadf077e6d74a7eff0a673238b698e462e330978f300d5541d4bfd688b
2
SHA256 (jiangwenyuan-nuster-v5.3.0.23_GH0.tar.gz) = 44542397b75073e9092e54e23dfa2755029b3c01817ef69a699d37a9453e4094
3
SIZE (jiangwenyuan-nuster-v5.0.4.21_GH0.tar.gz) = 2784325
3
SIZE (jiangwenyuan-nuster-v5.3.0.23_GH0.tar.gz) = 3017428
(-)a/net/nuster/files/patch-include-common-hathreads.h (-11 lines)
Removed Link Here
1
--- include/common/hathreads.h.orig	2018-08-15 11:14:35 UTC
2
+++ include/common/hathreads.h
3
@@ -113,7 +113,7 @@ extern THREAD_LOCAL unsigned long tid_bi
4
 /* TODO: thread: For now, we rely on GCC builtins but it could be a good idea to
5
  * have a header file regrouping all functions dealing with threads. */
6
 
7
-#if defined(__GNUC__) && (__GNUC__ < 4 || __GNUC__ == 4 && __GNUC_MINOR__ < 7) && !defined(__clang__)
8
+#if (defined(__GNUC__) && (__GNUC__ < 4 || __GNUC__ == 4 && __GNUC_MINOR__ < 7) && !defined(__clang__)) || (defined(__clang__) && defined(__i386__))
9
 /* gcc < 4.7 */
10
 
11
 #define HA_ATOMIC_ADD(val, i)        __sync_add_and_fetch(val, i)

Return to bug 252479