View | Details | Raw Unified | Return to bug 230897
Collapse All | Expand All

(-)Makefile (-1 / +3 lines)
Lines 20-29 Link Here
20
BROKEN_mips=		fails to configure: checking for GNU Pth... Segmentation fault
20
BROKEN_mips=		fails to configure: checking for GNU Pth... Segmentation fault
21
BROKEN_mips64=		fails to configure: checking for GNU Pth... Segmentation fault
21
BROKEN_mips64=		fails to configure: checking for GNU Pth... Segmentation fault
22
22
23
USES=	gmake autoreconf pkgconfig
23
USES=	compiler gmake autoreconf pkgconfig
24
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
25
CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \
25
CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \
26
		LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib"
26
		LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib"
27
CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
28
CXXFLAGS_clang=	-Wno-c++11-narrowing
27
29
28
OPTIONS_DEFINE=	LIBESMTP LIBCURL LIBLUA MYSQL
30
OPTIONS_DEFINE=	LIBESMTP LIBCURL LIBLUA MYSQL
29
OPTIONS_DEFAULT=	LIBESMTP
31
OPTIONS_DEFAULT=	LIBESMTP
(-)files/patch-src_suncalc.cpp (+21 lines)
Line 0 Link Here
1
--- src/suncalc.cpp.orig	2018-08-25 18:51:49 UTC
2
+++ src/suncalc.cpp
3
@@ -25,8 +25,6 @@
4
 #include "suncalc.h"
5
 #include "services.h"
6
 
7
-namespace suncalc
8
-{
9
 
10
 /*
11
 SUNRISET.C - computes Sun rise/set times, start/end of twilight, and
12
@@ -49,6 +47,9 @@ Released to the public domain by Paul Schlyter, Decemb
13
 #include <stdlib.h>
14
 #include <getopt.h>
15
 #include <string.h>
16
+
17
+namespace suncalc
18
+{
19
 
20
 /* A macro to compute the number of days elapsed since 2000 Jan 0.0 */
21
 /* (which is equal to 1999 Dec 31, 0h UT)                           */

Return to bug 230897