>>> Building on exopi-6 under productivity/xinvest BDEPENDS = [x11/motif;devel/imake;devel/imake-cf] DIST = [productivity/xinvest:xinvest-2.6.9.tar.gz] FULLPKGNAME = xinvest-2.6.9p9 RDEPENDS = [x11/motif] (Junk lock obtained for exopi-6 at 1732148348.41) >>> Running depends in productivity/xinvest at 1732148348.45 last junk was in graphics/vigra /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 motif-2.3.8p1 was: /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 motif-2.3.8p1 /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 motif-2.3.8p1 >>> Running show-prepare-results in productivity/xinvest at 1732148353.78 ===> productivity/xinvest ===> Building from scratch xinvest-2.6.9p9 ===> xinvest-2.6.9p9 depends on: imake-* -> imake-1.0.9 ===> xinvest-2.6.9p9 depends on: imake-cf-* -> imake-cf-1.0.7p0 ===> xinvest-2.6.9p9 depends on: motif-* -> motif-2.3.8p1 ===> Verifying specs: ICE SM X11 Xau Xdmcp Xext Xpm Xt c m Xm ===> found ICE.11.0 SM.9.0 X11.18.2 Xau.10.0 Xdmcp.11.0 Xext.13.0 Xpm.10.0 Xt.11.1 c.100.3 m.10.1 Xm.6.1 imake-1.0.9 imake-cf-1.0.7p0 motif-2.3.8p1 (Junk lock released for exopi-6 at 1732148354.77) distfiles size=282748 >>> Running build in productivity/xinvest at 1732148354.80 ===> productivity/xinvest ===> Checking files for xinvest-2.6.9p9 `/exopi-cvs/ports/distfiles/xinvest-2.6.9.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for xinvest-2.6.9p9 ===> Patching for xinvest-2.6.9p9 ===> Applying OpenBSD patch patch-Imakefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Imakefile.orig Sat May 1 21:57:42 2004 |+++ Imakefile Fri Mar 30 18:29:27 2007 -------------------------- Patching file Imakefile using Plan A... Hunk #1 succeeded at 29. done ===> Applying OpenBSD patch patch-color_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- color.c.orig Sat May 1 21:57:42 2004 |+++ color.c Fri Mar 30 18:29:27 2007 -------------------------- Patching file color.c using Plan A... Hunk #1 succeeded at 34. done ===> Applying OpenBSD patch patch-color_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: color.h |--- color.h.orig |+++ color.h -------------------------- Patching file color.h using Plan A... Hunk #1 succeeded at 34. Hunk #2 succeeded at 53. done ===> Applying OpenBSD patch patch-pixmap_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- pixmap.c.orig Sat May 1 21:57:42 2004 |+++ pixmap.c Fri Mar 30 18:29:27 2007 -------------------------- Patching file pixmap.c using Plan A... Hunk #1 succeeded at 39. done ===> Applying OpenBSD patch patch-pixmap_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: pixmap.h |--- pixmap.h.orig |+++ pixmap.h -------------------------- Patching file pixmap.h using Plan A... Hunk #1 succeeded at 34. done ===> Applying OpenBSD patch patch-pixnamePXi_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: pixnamePXi.h |--- pixnamePXi.h.orig |+++ pixnamePXi.h -------------------------- Patching file pixnamePXi.h using Plan A... Hunk #1 succeeded at 33. Hunk #2 succeeded at 47. done ===> Applying OpenBSD patch patch-portfolio_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- portfolio.c.orig Sat May 1 21:57:42 2004 |+++ portfolio.c Fri Mar 30 18:29:27 2007 -------------------------- Patching file portfolio.c using Plan A... Hunk #1 succeeded at 36. done ===> Applying OpenBSD patch patch-report_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- report.c.orig Tue Apr 27 21:37:28 2010 |+++ report.c Tue Apr 27 21:37:48 2010 -------------------------- Patching file report.c using Plan A... Hunk #1 succeeded at 1534. Hunk #2 succeeded at 1567. done ===> Applying OpenBSD patch patch-xinvest_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: xinvest.c |--- xinvest.c.orig |+++ xinvest.c -------------------------- Patching file xinvest.c using Plan A... Hunk #1 succeeded at 69. Hunk #2 succeeded at 1686. Hunk #3 succeeded at 1697. done ===> Applying OpenBSD patch patch-xinvest_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: xinvest.h |--- xinvest.h.orig |+++ xinvest.h -------------------------- Patching file xinvest.h using Plan A... Hunk #1 succeeded at 34. Hunk #2 succeeded at 99. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for xinvest-2.6.9p9 ===> Configuring for xinvest-2.6.9p9 imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -- account.c askuser.c calendar.c color.c drawing.c edit.c fileXi.c functions.c graph.c help.c nav.c pixmap.c portfolio.c pref.c rate.c remoteXi.c report.c resource.c session.c sessionXi.c status.c tooltips.c trans.c util.c xinvest.c xutil.c > .depend ===> Building for xinvest-2.6.9p9 cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c account.c account.c:530:23: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer) managedAccount ); ^~~~~~~~~~~~~~~~~~~~~~~~~~ account.c:544:25: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer) managedAccount ); ^~~~~~~~~~~~~~~~~~~~~~~~~~ account.c:590:20: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer)new); ^~~~~~~~~~~~~~ account.c:671:14: warning: passing arguments to 'toolCB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] toolCB ((Widget)NULL, (XtPointer)0, (XtPointer)NULL ); ^ account.c:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void accountDirty(); ^ account.c:786:13: note: conflicting prototype is here static void accountDirty (Widget w, XtPointer client_data, ^ account.c:792:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int num = (int)client_data; ^~~~~~~~~~~~~~~~ account.c:1032:49: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtCallbackProc) accountCB, (XtPointer) (item + 3) ); ^~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c askuser.c cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c calendar.c calendar.c:68:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int day_number (year, month, day ) ^ calendar.c:172:46: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtCallbackProc) dayCB, (XtPointer) day); ^~~~~~~~~~~~~~~ calendar.c:284:18: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int next_day = (int)client_data; ^~~~~~~~~~~~~~~~ calendar.c:314:15: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int which = (int)client_data; ^~~~~~~~~~~~~~~~ calendar.c:331:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int dir = (int)client_data; ^~~~~~~~~~~~~~~~ 5 warnings generated. cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c color.c cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c drawing.c drawing.c:66:16: warning: passing arguments to 'redrawDrawing' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] redrawDrawing(Graph, (XtPointer)NULL, (XtPointer)NULL); ^ In file included from drawing.c:39: ./drawing.h:44:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void redrawDrawing (); /* Refresh or change what's drawn */ ^ drawing.c:70:6: note: conflicting prototype is here void redrawDrawing (Widget Drawing, XtPointer data, XtPointer cbs) ^ drawing.c:158:12: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] suppress((int)data == 1); /* Expose or user update */ ^~~~~~~~~ 3 warnings generated. cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c edit.c edit.c:42:16: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int reason = (int) client_data; ^~~~~~~~~~~~~~~~~ 1 warning generated. cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c fileXi.c fileXi.c:189:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] return( (int)NULL ); ^~~~~~~~~ fileXi.c:199:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] return( (int)NULL ); ^~~~~~~~~ fileXi.c:205:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] return( (int)NULL ); ^~~~~~~~~ fileXi.c:290:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] return ( (int)NULL ); ^~~~~~~~~ fileXi.c:301:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] return ( (int)NULL ); ^~~~~~~~~ fileXi.c:313:18: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] return ( (int)NULL ); ^~~~~~~~~ fileXi.c:335:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] return ( (int)NULL ); ^~~~~~~~~ fileXi.c:344:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] return( (int)NULL ); ^~~~~~~~~ fileXi.c:478:26: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] loadfileselect (w, (XtPointer)client_data, (XtPointer)call_data); ^~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c functions.c In file included from functions.c:47: ./xinvest.h:91:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void calcCompSel(); ^ functions.c:441:6: note: conflicting prototype is here void calcCompSel ( Widget w, int client_data, XmAnyCallbackStruct *call_data ) ^ In file included from functions.c:47: ./xinvest.h:89:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void calcFuncSel(); ^ functions.c:463:6: note: conflicting prototype is here void calcFuncSel ( Widget w, int client_data, XmAnyCallbackStruct *call_data ) ^ In file included from functions.c:47: ./xinvest.h:90:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void calcTextSel(); ^ functions.c:577:6: note: conflicting prototype is here void calcTextSel ( Widget w, int client_data, XmAnyCallbackStruct *call_data ) ^ 3 warnings generated. cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c graph.c In file included from graph.c:49: ./graph.h:45:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void graph_pselect(); /* graph mode selection */ ^ graph.c:380:6: note: conflicting prototype is here void graph_pselect ( Widget w, XtPointer client_data, XtPointer call_data) ^ graph.c:382:15: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int which = (int) client_data; ^~~~~~~~~~~~~~~~~ graph.c:400:30: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] constCheckPoint ( False, (int)NULL ); ^~~~~~~~~ graph.c:451:30: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] constCheckPoint ( False, (int)NULL ); ^~~~~~~~~ In file included from graph.c:49: ./graph.h:47:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void graph_vselect(); /* graph variable selection */ ^ graph.c:502:6: note: conflicting prototype is here void graph_vselect ( Widget w, XtPointer client_data, XtPointer call_data) ^ graph.c:507:15: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int which = (int)client_data; ^~~~~~~~~~~~~~~~ In file included from graph.c:49: ./graph.h:46:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void graph_hselect(); /* graph type selection */ ^ graph.c:549:6: note: conflicting prototype is here void graph_hselect ( Widget w, XtPointer client_data, XtPointer call_data) ^ graph.c:552:15: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int which = (int) client_data; ^~~~~~~~~~~~~~~~~ graph.c:573:30: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] constCheckPoint ( False, (int)NULL ); ^~~~~~~~~ In file included from graph.c:49: ./graph.h:49:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void graph_slide(); ^ graph.c:594:6: note: conflicting prototype is here void graph_slide ( Widget w, XtPointer client_data, XtPointer call_data) ^ In file included from graph.c:49: ./graph.h:48:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void graph_option(); /* Set optional feature of plot */ ^ graph.c:600:6: note: conflicting prototype is here void graph_option (Widget w, XtPointer client_data, ^ graph.c:603:16: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int option = (int) client_data; ^~~~~~~~~~~~~~~~~ In file included from graph.c:49: ./graph.h:50:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void const_change(); ^ graph.c:621:6: note: conflicting prototype is here void const_change ( Widget w, XtPointer client_data, XtPointer call_data) ^ In file included from graph.c:49: ./graph.h:51:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void graphTraverse(); /* TAB traverse to obscured list item */ ^ graph.c:643:6: note: conflicting prototype is here void graphTraverse( Widget w, XtPointer client_data, XtPointer call_data) ^ graph.c:781:20: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] intermediate = abs ( value*(double)plot->scale ); ^ graph.c:781:20: note: use function 'fabs' instead intermediate = abs ( value*(double)plot->scale ); ^~~ fabs graph.c:781:20: note: include the header or explicitly provide a declaration for 'fabs' 15 warnings generated. cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c help.c cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c nav.c cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c pixmap.c pixmap.c:452:46: warning: missing sentinel in function call [-Wsentinel] XtVaGetValues( parent, XmNbackground, &bg, 0 ); ^ , NULL /usr/X11R6/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here extern void XtVaGetValues( ^ pixmap.c:556:48: warning: missing sentinel in function call [-Wsentinel] XtVaGetValues(parent, XmNbackground, &bg, 0 ); ^ , NULL /usr/X11R6/include/X11/Intrinsic.h:1626:13: note: function has been explicitly marked sentinel here extern void XtVaGetValues( ^ 2 warnings generated. cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c portfolio.c In file included from portfolio.c:57: ./xinvest.h:86:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void portTraverse(); ^ portfolio.c:130:6: note: conflicting prototype is here void portTraverse ( Widget w, XtPointer client_data, XtPointer call_data) ^ portfolio.c:138:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int item = (int) client_data; ^~~~~~~~~~~~~~~~~ portfolio.c:364:12: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if ( abs ((double)100.0 - all_percents) > 1.0E-6 ) { ^ portfolio.c:364:12: note: use function 'fabs' instead if ( abs ((double)100.0 - all_percents) > 1.0E-6 ) { ^~~ fabs In file included from portfolio.c:57: ./xinvest.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void portAddSubList(); ^ portfolio.c:419:6: note: conflicting prototype is here void portAddSubList ( Widget w, XtPointer client_data, XtPointer call_data) ^ portfolio.c:430:21: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int function = (int) client_data; ^~~~~~~~~~~~~~~~~ portfolio.c:1240:13: warning: cast to 'NODE *' (aka 'struct node *') from smaller integer type 'int' [-Wint-to-pointer-cast] node = (NODE *) exists ( parent, element ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portfolio.c:1340:13: warning: cast to 'NODE *' (aka 'struct node *') from smaller integer type 'int' [-Wint-to-pointer-cast] node = (NODE *) exists ( parent, current ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portfolio.c:1359:13: warning: cast to 'NODE *' (aka 'struct node *') from smaller integer type 'int' [-Wint-to-pointer-cast] node = (NODE *) exists ( parent, current ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portfolio.c:1489:16: warning: cast to smaller integer type 'int' from 'struct node *' [-Wpointer-to-int-cast] return ( (int)current->child ); ^~~~~~~~~~~~~~~~~~~ portfolio.c:1492:13: warning: cast to smaller integer type 'int' from 'LINK *' (aka 'struct link *') [-Wpointer-to-int-cast] return ( (int)current ); ^~~~~~~~~~~~ 10 warnings generated. cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c pref.c pref.c:203:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] loptLocDate = (int) which; ^~~~~~~~~~~ pref.c:208:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] loptLocCurr = (int) which; ^~~~~~~~~~~ pref.c:215:11: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] lprec = (int) which; ^~~~~~~~~~~ pref.c:225:11: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] switch ((int) which) { ^~~~~~~~~~~ pref.c:631:56: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtCallbackProc) prefProc, (XtPointer)num ); ^~~~~~~~~~~~~~ 5 warnings generated. cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c rate.c cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c remoteXi.c cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c report.c In file included from report.c:52: ./report.h:43:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void reportSetTime (); ^ report.c:118:6: note: conflicting prototype is here void reportSetTime (Widget w, int which, XmToggleButtonCallbackStruct *calldata) ^ In file included from report.c:52: ./report.h:44:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void reportSetValue (); ^ report.c:157:6: note: conflicting prototype is here void reportSetValue (Widget w, int which, ^ In file included from report.c:52: ./report.h:45:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void reportSetAccount (); ^ report.c:168:6: note: conflicting prototype is here void reportSetAccount (Widget w, int which, ^ report.c:224:7: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] if ((int)client_data == 0) { ^~~~~~~~~~~~~~~~ report.c:253:11: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] switch ((int) client_data) { ^~~~~~~~~~~~~~~~~ In file included from report.c:52: ./report.h:46:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void reportCustomTime (); ^ report.c:284:6: note: conflicting prototype is here void reportCustomTime (Widget w, XtPointer client_data, ^ report.c:997:34: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] rate = annRate = LONG_MAX; /* trigger inf. format */ ~ ^~~~~~~~ /usr/include/sys/limits.h:63:19: note: expanded from macro 'LONG_MAX' # define LONG_MAX 0x7fffffffffffffffL ^~~~~~~~~~~~~~~~~~~ report.c:1459:7: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] if ((int)client_data == ALLOW) { ^~~~~~~~~~~~~~~~ In file included from report.c:52: ./report.h:47:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void reportGenerate (); ^ report.c:1692:6: note: conflicting prototype is here void reportGenerate (Widget w, XtPointer client_data, XtPointer calldata) ^ report.c:1821:32: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] reportDraw (reportDrawing, (XtPointer)resize, (XtPointer)NULL); ^~~~~~~~~~~~~~~~~ 10 warnings generated. cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c resource.c cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c session.c session.c:149:50: warning: 'sizeof (kill_options)' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] XrmParseCommand ( &database, kill_options, XtNumber(kill_options), ^~~~~~~~~~~~~~~~~~~~~~ /usr/X11R6/include/X11/Intrinsic.h:123:49: note: expanded from macro 'XtNumber' #define XtNumber(arr) ((Cardinal) (sizeof(arr) / sizeof(arr[0]))) ~~~~~~~~~~~ ^ session.c:53:26: note: pointer 'kill_options' declared here extern XrmOptionDescRec *kill_options; ^ 1 warning generated. cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c sessionXi.c cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c status.c status.c:171:8: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] if ( (int)client_data != 0) { ^~~~~~~~~~~~~~~~ status.c:262:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int bound_ok ( value, bound, status, flag ) ^ 2 warnings generated. cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c tooltips.c cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c trans.c cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c util.c cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c xinvest.c xinvest.c:1052:53: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtCallbackProc) graph_vselect, (XtPointer) i ); ^~~~~~~~~~~~~ xinvest.c:1538:53: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtCallbackProc) calcTextSel, (XtPointer) i ); ^~~~~~~~~~~~~ xinvest.c:1569:15: warning: passing arguments to 'calcFuncSel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calcFuncSel ( NULL, 0, NULL ); ^ xinvest.c:109:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void toolCB (); ^ xinvest.c:1819:6: note: conflicting prototype is here void toolCB ( Widget w, XtPointer client_data, XtPointer call_data) ^ xinvest.c:1821:15: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int which = (int) client_data; ^~~~~~~~~~~~~~~~~ 5 warnings generated. cc -O2 -I/usr/local/include/X11 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -c xutil.c xutil.c:152:24: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer) numbuttons ); ^~~~~~~~~~~~~~~~~~~~~~ xutil.c:274:24: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer) i ); ^~~~~~~~~~~~~ xutil.c:280:24: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (XtPointer) i ); ^~~~~~~~~~~~~ 3 warnings generated. rm -f Xinvest cc -o Xinvest -O2 -L/usr/X11R6/lib -L/usr/local/lib account.o askuser.o calendar.o color.o drawing.o edit.o fileXi.o functions.o graph.o help.o nav.o pixmap.o portfolio.o pref.o rate.o remoteXi.o report.o resource.o session.o sessionXi.o status.o tooltips.o trans.o util.o xinvest.o xutil.o -lXm -lXpm -lXt -lSM -lICE -lXext -lXext -lX11 -lXdmcp -lXau -lm -Wl,-rpath,/usr/local/lib ld: warning: util.c(util.o:(processFileOption)): warning: sprintf() is often misused, please use snprintf() ld: warning: util.c(util.o:(utilCurrOut)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: status.c(status.o:(write_status)): warning: strcat() is almost always misused, please use strlcat() ld: warning: session.c(session.o:(sessSaveFile)): warning: mktemp() possibly used unsafely; consider using mkstemp() >>> Running package in productivity/xinvest at 1732148365.65 ===> productivity/xinvest ===> Faking installation for xinvest-2.6.9p9 /exopi-obj/pobj/xinvest-2.6.9/bin/install -c -s -m 755 /exopi-obj/pobj/xinvest-2.6.9/xinvest-2.6.9/Xinvest /exopi-obj/pobj/xinvest-2.6.9/fake-amd64/usr/local/bin/xinvest /exopi-obj/pobj/xinvest-2.6.9/bin/install -c -m 644 /exopi-obj/pobj/xinvest-2.6.9/xinvest-2.6.9/Xinvest.ad /exopi-obj/pobj/xinvest-2.6.9/fake-amd64/usr/local/lib/X11/app-defaults/ /exopi-obj/pobj/xinvest-2.6.9/bin/install -d -m 755 /exopi-obj/pobj/xinvest-2.6.9/fake-amd64/usr/local/share/doc/xinvest /exopi-obj/pobj/xinvest-2.6.9/bin/install -c -m 644 /exopi-obj/pobj/xinvest-2.6.9/xinvest-2.6.9/README /exopi-obj/pobj/xinvest-2.6.9/fake-amd64/usr/local/share/doc/xinvest ===> Building package for xinvest-2.6.9p9 Create /exopi-cvs/ports/packages/amd64/all/xinvest-2.6.9p9.tgz Creating package xinvest-2.6.9p9 reading plist| checking dependencies| checking dependencies|x11/motif checksumming| checksumming| | 0% checksumming|*** | 4% checksumming|***** | 8% checksumming|******** | 13% checksumming|********** | 17% checksumming|************* | 21% checksumming|*************** | 25% checksumming|****************** | 29% checksumming|******************** | 33% checksumming|*********************** | 38% checksumming|************************* | 42% checksumming|**************************** | 46% checksumming|******************************* | 50% checksumming|********************************* | 54% checksumming|************************************ | 58% checksumming|************************************** | 63% checksumming|***************************************** | 67% checksumming|******************************************* | 71% checksumming|********************************************** | 75% checksumming|************************************************ | 79% checksumming|*************************************************** | 83% checksumming|***************************************************** | 88% checksumming|******************************************************** | 92% checksumming|********************************************************** | 96% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|************************************************************* | 96% archiving|*************************************************************** | 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/xinvest-2.6.9p9.tgz >>> Running clean in productivity/xinvest at 1732148368.55 ===> productivity/xinvest ===> Cleaning for xinvest-2.6.9p9 >>> Ended at 1732148368.85 max_stuck=4.86/depends=5.34/show-prepare-results=1.02/build=10.84/package=2.90/clean=0.32