fix build on -current

PR:		46462
Submitted by:	Ports Fury
This commit is contained in:
Ying-Chieh Liao 2002-12-22 13:23:19 +00:00
parent c545891882
commit 38436ff5ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71780
2 changed files with 13 additions and 0 deletions

View File

@ -18,6 +18,8 @@ USE_REINPLACE= yes
USE_GMAKE= yes
MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
CFLAGS+= -DNEEDS_COPY_N
post-patch:
.for file in src/Make2.g++ src/Make.aux modelgen/Make.aux
@${REINPLACE_CMD} -e "s|g\+\+|\$$\{CXX\}|g" \

View File

@ -0,0 +1,11 @@
--- src/u_xprobe.cc.orig Tue Mar 26 18:20:27 2002
+++ src/u_xprobe.cc Sun Dec 22 09:17:33 2002
@@ -25,7 +25,7 @@
#include "u_opt.h"
#include "u_xprobe.h"
/*--------------------------------------------------------------------------*/
-double XPROBE::operator()(mod_t m=mtNONE, bool db = false)const
+double XPROBE::operator()(mod_t m, bool db)const
{
{if (OK()){
if (m == mtNONE) {