mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
astro/boinc-setiathome: Fix build with clang 7.0.1.
- fix CUSTOM_STRING concatenation - fix 2 format strings - pet portlint - move GNU_CONFIGURE to after USES - bump PORTREVISION
This commit is contained in:
parent
473719b0ea
commit
fea0f9bde1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487363
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= boinc-setiathome
|
PORTNAME= boinc-setiathome
|
||||||
PORTVERSION= 8.00
|
PORTVERSION= 8.00
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= astro
|
CATEGORIES= astro
|
||||||
MASTER_SITES= LOCAL/ler/setiathome \
|
MASTER_SITES= LOCAL/ler/setiathome \
|
||||||
http://www.lerctr.org/setiathome/
|
http://www.lerctr.org/setiathome/
|
||||||
@ -23,9 +24,10 @@ BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3
|
|||||||
RUN_DEPENDS= boinc_client:net/boinc-client
|
RUN_DEPENDS= boinc_client:net/boinc-client
|
||||||
LIB_DEPENDS= libfftw3f.so:math/fftw3-float
|
LIB_DEPENDS= libfftw3f.so:math/fftw3-float
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
USES= autoreconf compiler gmake libtool pkgconfig tar:xz
|
USES= autoreconf compiler gmake libtool pkgconfig tar:xz
|
||||||
|
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
CFLAGS+= -O2 -I${LOCALBASE}/include/boinc -I${LOCALBASE}/include \
|
CFLAGS+= -O2 -I${LOCALBASE}/include/boinc -I${LOCALBASE}/include \
|
||||||
-L${LOCALBASE}/lib
|
-L${LOCALBASE}/lib
|
||||||
LDFLAGS+= -lexecinfo
|
LDFLAGS+= -lexecinfo
|
||||||
|
14
astro/boinc-setiathome/files/patch-client_seti.h
Normal file
14
astro/boinc-setiathome/files/patch-client_seti.h
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
--- client/seti.h.orig 2018-12-13 10:21:28 UTC
|
||||||
|
+++ client/seti.h
|
||||||
|
@@ -53,9 +53,9 @@ typedef uint64_t sh_uint8_t;
|
||||||
|
|
||||||
|
#ifdef PRId64
|
||||||
|
// If print formats are defined
|
||||||
|
-#define SINT8_FMT "%"PRId64
|
||||||
|
+#define SINT8_FMT "%" PRId64
|
||||||
|
#define SINT8_FMT_CAST(x) (x)
|
||||||
|
-#define UINT8_FMT "%"PRIu64
|
||||||
|
+#define UINT8_FMT "%" PRIu64
|
||||||
|
#define UINT8_FMT_CAST(x) (x)
|
||||||
|
#else
|
||||||
|
// play it safe. It'll work through 49 bits at least.
|
@ -1,11 +1,11 @@
|
|||||||
--- sah_config.h.orig 2018-01-14 23:23:42 UTC
|
--- configure.ac.orig 2018-12-13 10:20:53 UTC
|
||||||
+++ sah_config.h
|
+++ configure.ac
|
||||||
@@ -774,7 +774,7 @@
|
@@ -658,7 +658,7 @@ AH_BOTTOM([
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(CUSTOM_STRING) && defined(COMPILER_STRING)
|
#if !defined(CUSTOM_STRING) && defined(COMPILER_STRING)
|
||||||
-#define CUSTOM_STRING PACKAGE_STRING" "SVN_REV" "COMPILER_STRING
|
-#define CUSTOM_STRING PACKAGE_STRING" "SVN_REV" "COMPILER_STRING
|
||||||
+#define CUSTOM_STRING PACKAGE_STRING" " SVN_REV" " COMPILER_STRING
|
+#define CUSTOM_STRING PACKAGE_STRING " " SVN_REV " " COMPILER_STRING
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "std_fixes.h"
|
#include "std_fixes.h"
|
Loading…
Reference in New Issue
Block a user