=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for Ngraph-6.3.30nb3 (cd combo; gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I../combo -c ComboBox.c) In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmosP.h:27:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/ListP.h:30, from ComboBoxP.h:43, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xmfuncs.h:47:0: warning: "bcopy" redefined #define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from /tmp/graphics/Ngraph/work/.buildlink/include/X11/Intrinsic.h:61, from /tmp/graphics/Ngraph/work/.buildlink/include/X11/IntrinsicP.h:51, from ComboBoxP.h:36, from ComboBox.c:60: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmosP.h:27:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/ListP.h:30, from ComboBoxP.h:43, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xmfuncs.h:48:0: warning: "bzero" redefined #define bzero(b,len) memset(b, 0, (size_t)(len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from /tmp/graphics/Ngraph/work/.buildlink/include/X11/Intrinsic.h:61, from /tmp/graphics/Ngraph/work/.buildlink/include/X11/IntrinsicP.h:51, from ComboBoxP.h:36, from ComboBox.c:60: /usr/include/ssp/strings.h:42:0: note: this is the location of the previous definition #define bzero(dst, len) \ In file included from ComboBoxP.h:49:0, from ComboBox.c:60: ComboBox.h:39:0: warning: "XmNarrowSize" redefined #define XmNarrowSize "arrowSize" In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:65:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/DrawnB.h:32, from ComboBoxP.h:38, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmStrDefs.h:4299:0: note: this is the location of the previous definition #define XmNarrowSize ((char*)&_XmStrings[14299]) In file included from ComboBoxP.h:49:0, from ComboBox.c:60: ComboBox.h:40:0: warning: "XmNarrowSpacing" redefined #define XmNarrowSpacing "arrowSpacing" In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:65:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/DrawnB.h:32, from ComboBoxP.h:38, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmStrDefs.h:4527:0: note: this is the location of the previous definition #define XmNarrowSpacing ((char*)&_XmStrings[15391]) In file included from ComboBoxP.h:49:0, from ComboBox.c:60: ComboBox.h:42:0: warning: "XmNlist" redefined #define XmNlist "list" In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:65:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/DrawnB.h:32, from ComboBoxP.h:38, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmStrDefs.h:5289:0: note: this is the location of the previous definition #define XmNlist ((char*)&_XmStrings[19335]) In file included from ComboBoxP.h:49:0, from ComboBox.c:60: ComboBox.h:45:0: warning: "XmNselectedPosition" redefined #define XmNselectedPosition "selectedPosition" In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:65:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/DrawnB.h:32, from ComboBoxP.h:38, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmStrDefs.h:4524:0: note: this is the location of the previous definition #define XmNselectedPosition ((char*)&_XmStrings[15374]) In file included from ComboBoxP.h:49:0, from ComboBox.c:60: ComboBox.h:46:0: warning: "XmNselectedItem" redefined #define XmNselectedItem "selectedItem" In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:65:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/DrawnB.h:32, from ComboBoxP.h:38, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmStrDefs.h:3987:0: note: this is the location of the previous definition #define XmNselectedItem ((char*)&_XmStrings[12735]) In file included from ComboBoxP.h:49:0, from ComboBox.c:60: ComboBox.h:47:0: warning: "XmNtextField" redefined #define XmNtextField "textField" In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:65:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/DrawnB.h:32, from ComboBoxP.h:38, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmStrDefs.h:5202:0: note: this is the location of the previous definition #define XmNtextField ((char*)&_XmStrings[18880]) In file included from ComboBoxP.h:49:0, from ComboBox.c:60: ComboBox.h:51:0: warning: "XmCArrowSize" redefined #define XmCArrowSize "ArrowSize" In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:65:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/DrawnB.h:32, from ComboBoxP.h:38, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmStrDefs.h:4302:0: note: this is the location of the previous definition #define XmCArrowSize ((char*)&_XmStrings[14309]) In file included from ComboBoxP.h:49:0, from ComboBox.c:60: ComboBox.h:52:0: warning: "XmCArrowSpacing" redefined #define XmCArrowSpacing "ArrowSpacing" In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:65:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/DrawnB.h:32, from ComboBoxP.h:38, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmStrDefs.h:4530:0: note: this is the location of the previous definition #define XmCArrowSpacing ((char*)&_XmStrings[15404]) In file included from ComboBoxP.h:49:0, from ComboBox.c:60: ComboBox.h:55:0: warning: "XmCList" redefined #define XmCList "List" In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:65:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/DrawnB.h:32, from ComboBoxP.h:38, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmStrDefs.h:5292:0: note: this is the location of the previous definition #define XmCList ((char*)&_XmStrings[19340]) In file included from ComboBoxP.h:49:0, from ComboBox.c:60: ComboBox.h:58:0: warning: "XmCSelectedPosition" redefined #define XmCSelectedPosition "SelectedPosition" In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:65:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/DrawnB.h:32, from ComboBoxP.h:38, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmStrDefs.h:4539:0: note: this is the location of the previous definition #define XmCSelectedPosition ((char*)&_XmStrings[15444]) In file included from ComboBoxP.h:49:0, from ComboBox.c:60: ComboBox.h:59:0: warning: "XmCSelectedItem" redefined #define XmCSelectedItem "SelectedItem" In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:65:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/DrawnB.h:32, from ComboBoxP.h:38, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmStrDefs.h:3990:0: note: this is the location of the previous definition #define XmCSelectedItem ((char*)&_XmStrings[12748]) In file included from ComboBoxP.h:49:0, from ComboBox.c:60: ComboBox.h:61:0: warning: "XmCTextField" redefined #define XmCTextField "TextField" In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:65:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/DrawnB.h:32, from ComboBoxP.h:38, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmStrDefs.h:5205:0: note: this is the location of the previous definition #define XmCTextField ((char*)&_XmStrings[18890]) In file included from ComboBoxP.h:49:0, from ComboBox.c:60: ComboBox.h:81:0: warning: "XmNselectionCallback" redefined #define XmNselectionCallback "selectionCallback" In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:65:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/DrawnB.h:32, from ComboBoxP.h:38, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmStrDefs.h:3993:0: note: this is the location of the previous definition #define XmNselectionCallback ((char*)&_XmStrings[12761]) ComboBox.c: In function 'WidgetNavigable': ComboBox.c:637:8: warning: implicit declaration of function '_XmShellIsExclusive'; did you mean 'XtCallbackExclusive'? [-Wimplicit-function-declaration] !_XmShellIsExclusive((Widget)combo))) { ^~~~~~~~~~~~~~~~~~~ XtCallbackExclusive In file included from ComboBoxP.h:36:0, from ComboBox.c:60: ComboBox.c: In function 'DrawHighlight': ComboBox.c:686:22: warning: passing argument 1 of 'XtWindowOfObject' from incompatible pointer type [-Wincompatible-pointer-types] if (XtIsRealized(combo)) { ^ /tmp/graphics/Ngraph/work/.buildlink/include/X11/IntrinsicP.h:208:48: note: in definition of macro 'XtIsRealized' #define XtIsRealized(object) (XtWindowOfObject(object) != None) ^~~~~~ In file included from /tmp/graphics/Ngraph/work/.buildlink/include/X11/IntrinsicP.h:51:0, from ComboBoxP.h:36, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/X11/Intrinsic.h:1213:15: note: expected 'Widget {aka struct _WidgetRec *}' but argument is of type 'DtComboBoxWidget {aka struct _DtComboBoxRec *}' extern Window XtWindowOfObject( ^~~~~~~~~~~~~~~~ ComboBox.c: In function '_ComboBoxKbdCancel': ComboBox.c:763:5: warning: implicit declaration of function '_XmRemoveGrab'; did you mean 'XtRemoveGrab'? [-Wimplicit-function-declaration] _XmRemoveGrab(combo_p->shell); ^~~~~~~~~~~~~ XtRemoveGrab In file included from ComboBoxP.h:36:0, from ComboBox.c:60: ComboBox.c: In function 'ClearShadow': ComboBox.c:1412:38: warning: passing argument 1 of 'XtWindowOfObject' from incompatible pointer type [-Wincompatible-pointer-types] if ((shadow > 0) && XtIsRealized(w)) { ^ /tmp/graphics/Ngraph/work/.buildlink/include/X11/IntrinsicP.h:208:48: note: in definition of macro 'XtIsRealized' #define XtIsRealized(object) (XtWindowOfObject(object) != None) ^~~~~~ In file included from /tmp/graphics/Ngraph/work/.buildlink/include/X11/IntrinsicP.h:51:0, from ComboBoxP.h:36, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/X11/Intrinsic.h:1213:15: note: expected 'Widget {aka struct _WidgetRec *}' but argument is of type 'DtComboBoxWidget {aka struct _DtComboBoxRec *}' extern Window XtWindowOfObject( ^~~~~~~~~~~~~~~~ In file included from ComboBoxP.h:36:0, from ComboBox.c:60: ComboBox.c: In function 'DrawShadow': ComboBox.c:1447:38: warning: passing argument 1 of 'XtWindowOfObject' from incompatible pointer type [-Wincompatible-pointer-types] if ((shadow > 0) && XtIsRealized(w)) { ^ /tmp/graphics/Ngraph/work/.buildlink/include/X11/IntrinsicP.h:208:48: note: in definition of macro 'XtIsRealized' #define XtIsRealized(object) (XtWindowOfObject(object) != None) ^~~~~~ In file included from /tmp/graphics/Ngraph/work/.buildlink/include/X11/IntrinsicP.h:51:0, from ComboBoxP.h:36, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/X11/Intrinsic.h:1213:15: note: expected 'Widget {aka struct _WidgetRec *}' but argument is of type 'DtComboBoxWidget {aka struct _DtComboBoxRec *}' extern Window XtWindowOfObject( ^~~~~~~~~~~~~~~~ In file included from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/PrimitiveP.h:30:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/TextFP.h:26, from ComboBoxP.h:40, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmP.h:1377:26: warning: implicit declaration of function 'XmeDrawShadows'; did you mean '_XmDrawShadows'? [-Wimplicit-function-declaration] #define _XmDrawShadows XmeDrawShadows ^ ComboBox.c:1448:2: note: in expansion of macro '_XmDrawShadows' _XmDrawShadows(XtDisplayOfObject((Widget)w), ^~~~~~~~~~~~~~ ComboBox.c: In function 'list_event_handler': ComboBox.c:1745:6: warning: implicit declaration of function '_XmGrabKeyboard'; did you mean 'XtGrabKeyboard'? [-Wimplicit-function-declaration] _XmGrabKeyboard(widget, False, GrabModeAsync, GrabModeAsync, ^~~~~~~~~~~~~~~ XtGrabKeyboard ComboBox.c:1768:6: warning: implicit declaration of function '_XmGrabPointer'; did you mean 'XtGrabPointer'? [-Wimplicit-function-declaration] _XmGrabPointer(combo_p->shell, True, ButtonPressMask, ^~~~~~~~~~~~~~ XtGrabPointer ComboBox.c: In function 'TextFieldActivate': ComboBox.c:1828:17: warning: passing argument 1 of 'XtGetValues' from incompatible pointer type [-Wincompatible-pointer-types] XtGetValues(w, &arg, 1); ^ In file included from /tmp/graphics/Ngraph/work/.buildlink/include/X11/IntrinsicP.h:51:0, from ComboBoxP.h:36, from ComboBox.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/X11/Intrinsic.h:1606:13: note: expected 'Widget {aka struct _WidgetRec *}' but argument is of type 'XmTextFieldWidget {aka struct _XmTextFieldRec *}' extern void XtGetValues( ^~~~~~~~~~~ ComboBox.c: In function 'activate_cb': ComboBox.c:1949:5: warning: implicit declaration of function '_XmAddGrab'; did you mean 'XtAddGrab'? [-Wimplicit-function-declaration] _XmAddGrab(combo_p->shell, True, True); ^~~~~~~~~~ XtAddGrab (cd src; gmake kern.a) gmake[1]: Entering directory '/tmp/graphics/Ngraph/work/Ngraph-6.3.30-src/src' gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DMAINVERSION='"6.03"' -c -o object.o object.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DMAINVERSION='"6.03"' -c -o ioutil.o ioutil.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DMAINVERSION='"6.03"' -c -o mathcode.o mathcode.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DMAINVERSION='"6.03"' -c -o mathfn.o mathfn.c mathfn.c: In function 'nround': mathfn.c:90:26: warning: overflow in implicit constant conversion [-Woverflow] if (x>LONG_MAX) return LONG_MAX; ^~~~~~~~ mathfn.c:91:31: warning: overflow in implicit constant conversion [-Woverflow] else if (xkeycode,0); ^~~ In file included from /tmp/graphics/Ngraph/work/.buildlink/include/X11/Intrinsic.h:53:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:59, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmAll.h:27, from x11menu.c:57: /tmp/graphics/Ngraph/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ x11menu.c: In function 'CmWindowMenu': x11menu.c:1825:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -DGUIVERSION='".30"' -DPLATFORM='"for X11 [NetBSD + OpenMotif/LessTif]"' -c -o x11dialg.o x11dialg.c -I../src -I/usr/X11R7/include -I../combo gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -DGUIVERSION='".30"' -DPLATFORM='"for X11 [NetBSD + OpenMotif/LessTif]"' -c -o x11graph.o x11graph.c -I../src -I/usr/X11R7/include -I../combo gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -DGUIVERSION='".30"' -DPLATFORM='"for X11 [NetBSD + OpenMotif/LessTif]"' -c -o x11view.o x11view.c -I../src -I/usr/X11R7/include -I../combo x11graph.c: In function 'CmGraphNewMenu': x11graph.c:735:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sel=(int )client_data; ^ x11graph.c: In function 'CmGraphHistory': x11graph.c:879:64: warning: comparison between pointer and zero character constant [-Wpointer-compare] if ((fil>=0) && (fil=0) && (filkeycode,0); ^~~ In file included from /tmp/graphics/Ngraph/work/.buildlink/include/X11/Intrinsic.h:53:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:59, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmAll.h:27, from x11view.c:57: /tmp/graphics/Ngraph/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ x11view.c: In function 'ViewerEvKeyUp': x11view.c:2357:3: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] sym=XKeycodeToKeysym(Disp,e->keycode,0); ^~~ In file included from /tmp/graphics/Ngraph/work/.buildlink/include/X11/Intrinsic.h:53:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:59, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmAll.h:27, from x11view.c:57: /tmp/graphics/Ngraph/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ x11view.c: In function 'ViewerPopupMenu': x11view.c:3487:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11file.c: In function 'CmFileMenu': x11file.c:3114:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11file.c: In function 'FileWinPopupMenu': x11file.c:3960:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11file.c: In function 'FileWinEvKeyDown': x11file.c:4014:3: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] sym=XKeycodeToKeysym(e->display,e->keycode,0); ^~~ In file included from /tmp/graphics/Ngraph/work/.buildlink/include/X11/Intrinsic.h:53:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:59, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmAll.h:27, from x11file.c:75: /tmp/graphics/Ngraph/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -DGUIVERSION='".30"' -DPLATFORM='"for X11 [NetBSD + OpenMotif/LessTif]"' -c -o x11axis.o x11axis.c -I../src -I/usr/X11R7/include -I../combo x11axis.c: In function 'CmAxisAddMenu': x11axis.c:2492:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11axis.c: In function 'CmAxisMenu': x11axis.c:2618:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11axis.c: In function 'CmGridMenu': x11axis.c:2704:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11axis.c: In function 'AxisWinPopupMenu': x11axis.c:3181:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11axis.c: In function 'AxisWinEvKeyDown': x11axis.c:3223:3: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] sym=XKeycodeToKeysym(e->display,e->keycode,0); ^~~ In file included from /tmp/graphics/Ngraph/work/.buildlink/include/X11/Intrinsic.h:53:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:59, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmAll.h:27, from x11axis.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -DGUIVERSION='".30"' -DPLATFORM='"for X11 [NetBSD + OpenMotif/LessTif]"' -c -o x11lgnd.o x11lgnd.c -I../src -I/usr/X11R7/include -I../combo x11lgnd.c: In function 'CmLineMenu': x11lgnd.c:1812:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11lgnd.c: In function 'CmCurveMenu': x11lgnd.c:1874:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11lgnd.c: In function 'CmPolygonMenu': x11lgnd.c:1936:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11lgnd.c: In function 'CmRectangleMenu': x11lgnd.c:1998:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11lgnd.c: In function 'CmArcMenu': x11lgnd.c:2060:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11lgnd.c: In function 'CmMarkMenu': x11lgnd.c:2122:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11lgnd.c: In function 'CmTextMenu': x11lgnd.c:2184:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11lgnd.c: In function 'LegendWinPopupMenu': x11lgnd.c:2802:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11lgnd.c: In function 'LegendWinEvKeyDown': x11lgnd.c:2847:3: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] sym=XKeycodeToKeysym(e->display,e->keycode,0); ^~~ In file included from /tmp/graphics/Ngraph/work/.buildlink/include/X11/Intrinsic.h:53:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:59, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmAll.h:27, from x11lgnd.c:60: /tmp/graphics/Ngraph/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -DGUIVERSION='".30"' -DPLATFORM='"for X11 [NetBSD + OpenMotif/LessTif]"' -c -o x11lgndx.o x11lgndx.c -I../src -I/usr/X11R7/include -I../combo gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -DGUIVERSION='".30"' -DPLATFORM='"for X11 [NetBSD + OpenMotif/LessTif]"' -c -o x11merge.o x11merge.c -I../src -I/usr/X11R7/include -I../combo gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -DGUIVERSION='".30"' -DPLATFORM='"for X11 [NetBSD + OpenMotif/LessTif]"' -c -o x11cood.o x11cood.c -I../src -I/usr/X11R7/include -I../combo x11merge.c: In function 'CmMergeMenu': x11merge.c:266:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11merge.c: In function 'MergeWinPopupMenu': x11merge.c:662:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ x11merge.c: In function 'MergeWinEvKeyDown': x11merge.c:704:3: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] sym=XKeycodeToKeysym(e->display,e->keycode,0); ^~~ In file included from /tmp/graphics/Ngraph/work/.buildlink/include/X11/Intrinsic.h:53:0, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/Xm.h:59, from /tmp/graphics/Ngraph/work/.buildlink/include/Xm/XmAll.h:27, from x11merge.c:51: /tmp/graphics/Ngraph/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -DGUIVERSION='".30"' -DPLATFORM='"for X11 [NetBSD + OpenMotif/LessTif]"' -c -o x11info.o x11info.c -I../src -I/usr/X11R7/include -I../combo gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -DGUIVERSION='".30"' -DPLATFORM='"for X11 [NetBSD + OpenMotif/LessTif]"' -c -o x11scrip.o x11scrip.c -I../src -I/usr/X11R7/include -I../combo gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -DGUIVERSION='".30"' -DPLATFORM='"for X11 [NetBSD + OpenMotif/LessTif]"' -c -o x11print.o x11print.c -I../src -I/usr/X11R7/include -I../combo gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -DGUIVERSION='".30"' -DPLATFORM='"for X11 [NetBSD + OpenMotif/LessTif]"' -c -o x11opt.o x11opt.c -I../src -I/usr/X11R7/include -I../combo gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -DGUIVERSION='".30"' -DPLATFORM='"for X11 [NetBSD + OpenMotif/LessTif]"' -c -o ox11dlg.o ox11dlg.c -I../src -I/usr/X11R7/include -I../combo x11print.c: In function 'CmOutputMenu': x11print.c:726:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -DGUIVERSION='".30"' -DPLATFORM='"for X11 [NetBSD + OpenMotif/LessTif]"' -c -o ogra2x11.o ogra2x11.c -I../src -I/usr/X11R7/include -I../combo x11opt.c: In function 'CmOptionMenu': x11opt.c:1469:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int )client_data) { ^ ogra2x11.c: In function 'x11_redraw': ogra2x11.c:250:3: warning: implicit declaration of function 'x11flush'; did you mean 'fflush'? [-Wimplicit-function-declaration] x11flush(obj,inst,NULL,0,NULL); ^~~~~~~~ fflush ar rc x11.a x11commn.o ox11menu.o x11menu.o x11gui.o x11commn.o x11dialg.o x11graph.o x11view.o x11file.o x11axis.o x11lgnd.o x11lgndx.o x11merge.o x11cood.o x11info.o x11scrip.o x11print.o x11opt.o ox11dlg.o ogra2x11.o ranlib x11.a gmake[1]: Leaving directory '/tmp/graphics/Ngraph/work/Ngraph-6.3.30-src/x11' (gmake ngraph) gmake[1]: Entering directory '/tmp/graphics/Ngraph/work/Ngraph-6.3.30-src' gcc -o ngraph x11/main.o x11/x11.a src/kern.a ./combo/ComboBox.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lXm -lXft -lm -lXext -lXt -lXp -lX11 -lICE -lSM ld: src/kern.a(config.o): in function `replaceconfig': config.c:(.text+0x762): warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() strip ngraph gmake[1]: Leaving directory '/tmp/graphics/Ngraph/work/Ngraph-6.3.30-src' (cd x11drive; gmake gra2ps) gmake[1]: Entering directory '/tmp/graphics/Ngraph/work/Ngraph-6.3.30-src/x11drive' gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -c -o gra2ps.o gra2ps.c gcc -o gra2ps gra2ps.o -lm ld: gra2ps.o: in function `main': gra2ps.c:(.text.startup+0x8bf): warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() strip gra2ps gmake[1]: Leaving directory '/tmp/graphics/Ngraph/work/Ngraph-6.3.30-src/x11drive' (cd x11drive; gmake gra2wmf) gmake[1]: Entering directory '/tmp/graphics/Ngraph/work/Ngraph-6.3.30-src/x11drive' gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -c -o gra2wmf.o gra2wmf.c gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DLIBDIR='"/usr/pkg/libexec/Ngraph"' -c -o wmfapi.o wmfapi.c wmfapi.c: In function 'Polygon': wmfapi.c:97:3: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] write(hdc,&r,8); ^~~~~ fwrite wmfapi.c: In function 'CloseMetaFile': wmfapi.c:536:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(hdc); ^~~~~ pclose gcc -o gra2wmf gra2wmf.o wmfapi.o -lm ld: gra2wmf.o: in function `main': gra2wmf.c:(.text.startup+0x3c4): warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() strip gra2wmf gmake[1]: Leaving directory '/tmp/graphics/Ngraph/work/Ngraph-6.3.30-src/x11drive' (cd x11addin; gmake fft) gmake[1]: Entering directory '/tmp/graphics/Ngraph/work/Ngraph-6.3.30-src/x11addin' gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -c -o fft.o fft.c gcc -o fft fft.o -lm strip fft gmake[1]: Leaving directory '/tmp/graphics/Ngraph/work/Ngraph-6.3.30-src/x11addin' (gmake terminal) gmake[1]: Entering directory '/tmp/graphics/Ngraph/work/Ngraph-6.3.30-src' gcc -o terminal terminal.c terminal.c:7:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ gmake[1]: Leaving directory '/tmp/graphics/Ngraph/work/Ngraph-6.3.30-src'