Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2018 10:47:21 +0000 (UTC)
From:      Larry Rosenman <ler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487363 - in head/astro/boinc-setiathome: . files
Message-ID:  <201812131047.wBDAlLVL009179@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ler
Date: Thu Dec 13 10:47:21 2018
New Revision: 487363
URL: https://svnweb.freebsd.org/changeset/ports/487363

Log:
  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

Added:
  head/astro/boinc-setiathome/files/patch-client_seti.h   (contents, props changed)
  head/astro/boinc-setiathome/files/patch-configure.ac   (contents, props changed)
Deleted:
  head/astro/boinc-setiathome/files/patch-sah__config.h
Modified:
  head/astro/boinc-setiathome/Makefile

Modified: head/astro/boinc-setiathome/Makefile
==============================================================================
--- head/astro/boinc-setiathome/Makefile	Thu Dec 13 09:31:33 2018	(r487362)
+++ head/astro/boinc-setiathome/Makefile	Thu Dec 13 10:47:21 2018	(r487363)
@@ -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,8 +24,9 @@ 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

Added: head/astro/boinc-setiathome/files/patch-client_seti.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/boinc-setiathome/files/patch-client_seti.h	Thu Dec 13 10:47:21 2018	(r487363)
@@ -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.

Added: head/astro/boinc-setiathome/files/patch-configure.ac
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/boinc-setiathome/files/patch-configure.ac	Thu Dec 13 10:47:21 2018	(r487363)
@@ -0,0 +1,11 @@
+--- 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
+ #endif
+ 
+ #include "std_fixes.h"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812131047.wBDAlLVL009179>