Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2023 14:41:23 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 12b2f409dd9b - main - sysutils/doinkd: Fix build with LLVM15
Message-ID:  <202302101441.31AEfNfL039731@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=12b2f409dd9b3e7450377217baa97f6a21407a52

commit 12b2f409dd9b3e7450377217baa97f6a21407a52
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-02-10 14:38:57 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-02-10 14:40:47 +0000

    sysutils/doinkd: Fix build with LLVM15
---
 sysutils/doinkd/files/patch-Makefile | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/sysutils/doinkd/files/patch-Makefile b/sysutils/doinkd/files/patch-Makefile
index 28faa938c598..3d1a3418bcaa 100644
--- a/sysutils/doinkd/files/patch-Makefile
+++ b/sysutils/doinkd/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig	2006-05-30 00:19:28.000000000 -0700
-+++ Makefile	2014-06-03 18:33:50.171999588 -0700
+--- Makefile.orig	2006-06-02 12:15:31.000000000 -0700
++++ Makefile	2023-02-10 06:37:55.103169000 -0800
 @@ -2,8 +2,8 @@
  #
  
@@ -60,7 +60,7 @@
  
  ######################################################################
  ######################################################################
-@@ -450,7 +451,7 @@
+@@ -450,13 +451,13 @@
  PMAN    = doinkd.8
  
  # Names of config and log files
@@ -69,6 +69,13 @@
  LOGFILE = ${LOGDEST}/doinkd.log
  
  # HERE are the big CFLAGS
+ # Add -g if you want debugging
+ # Add -O or whatever variant for optimization
+-CFLAGS = ${DEFS} ${DEBUG} -DCONFIG=\"${CONFIG}\" -DLOGFILE=\"${LOGFILE}\" ${INCLUDE}
++CFLAGS = ${DEFS} ${DEBUG} -DCONFIG=\"${CONFIG}\" -DLOGFILE=\"${LOGFILE}\" ${INCLUDE} -Wno-deprecated-non-prototype -Wno-parentheses -Wno-implicit-function-declaration -Wno-format -Wno-int-conversion
+ 
+ # For HP's ANSI C compiler (use -g instead of +O3 for debugging)
+ # CFLAGS = +O3 -Aa -D_HPUX_SOURCE ${DEFS} ${DEBUG} -DCONFIG=\"${CONFIG}\" -DLOGFILE=\"${LOGFILE}\" ${INCLUDE}
 @@ -509,11 +510,11 @@
  # BSD like, but with some enhancements like: install -s -> strip binary
  #                                            gzip manual pages



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