mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +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
|
||||
PORTVERSION= 8.00
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= astro
|
||||
MASTER_SITES= LOCAL/ler/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
|
||||
LIB_DEPENDS= libfftw3f.so:math/fftw3-float
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= autoreconf compiler gmake libtool pkgconfig tar:xz
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CFLAGS+= -O2 -I${LOCALBASE}/include/boinc -I${LOCALBASE}/include \
|
||||
-L${LOCALBASE}/lib
|
||||
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
|
||||
+++ sah_config.h
|
||||
@@ -774,7 +774,7 @@
|
||||
--- configure.ac.orig 2018-12-13 10:20:53 UTC
|
||||
+++ configure.ac
|
||||
@@ -658,7 +658,7 @@ AH_BOTTOM([
|
||||
#endif
|
||||
|
||||
#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
|
||||
#endif
|
||||
|
||||
#include "std_fixes.h"
|
Loading…
Reference in New Issue
Block a user