=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for openbsd-input-ws-1.2nb3
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in src
--- ws.lo ---
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I..   -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm   -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -fvisibility=hidden -I/usr/pkg/include/xorg -I/usr/pkg/include -I/usr/pkg/include/pixman-1 -I/usr/pkg/include   -I../src -MT ws.lo -MD -MP -MF ".deps/ws.Tpo" -c -o ws.lo ws.c;  then mv -f ".deps/ws.Tpo" ".deps/ws.Plo"; else rm -f ".deps/ws.Tpo"; exit 1; fi
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/scratch/x11/openbsd-input-ws/work/.buildlink/include -I/scratch/x11/openbsd-input-ws/work/.buildlink/include/libdrm -O2 -fvisibility=hidden -I/scratch/x11/openbsd-input-ws/work/.buildlink/include/xorg -I/scratch/x11/openbsd-input-ws/work/.buildlink/include/pixman-1 -I../src -MT ws.lo -MD -MP -MF .deps/ws.Tpo -c ws.c  -fPIC -DPIC -o .libs/ws.o
ws.c:68:47: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static InputInfoPtr wsPreInit(InputDriverPtr, IDevPtr, int);
                                              ^~~~~~~
ws.c:86:2: error: use of undeclared identifier 'XF86_VERSION_CURRENT'
        XF86_VERSION_CURRENT,
        ^
ws.c:127:1: error: unknown type name 'ModuleInfoRec'
ModuleInfoRec wsInfo = {
^
ws.c:140:2: warning: incompatible pointer types initializing 'int (*)(struct _InputDriverRec *, struct _InputInfoRec *, int)' with an expression of type 'InputInfoPtr (InputDriverPtr, int, int)' [-Wincompatible-pointer-types]
        wsPreInit,
        ^~~~~~~~~
ws.c:166:4: warning: implicit declaration of function 'xf86AddModuleInfo' is invalid in C99 [-Wimplicit-function-declaration]
                        xf86AddModuleInfo(&wsInfo, module);
                        ^
ws.c:187:31: error: unknown type name 'IDevPtr'; did you mean 'GDevPtr'?
wsPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
                              ^~~~~~~
                              GDevPtr
/scratch/x11/openbsd-input-ws/work/.buildlink/include/xorg/xf86str.h:403:13: note: 'GDevPtr' declared here
} GDevRec, *GDevPtr;
            ^
ws.c:187:1: error: conflicting types for 'wsPreInit'
wsPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
^
ws.c:68:21: note: previous declaration is here
static InputInfoPtr wsPreInit(InputDriverPtr, IDevPtr, int);
                    ^
ws.c:194:28: error: too many arguments to function call, expected 0, have 2
        pInfo = xf86AllocateInput(drv, 0);
                ~~~~~~~~~~~~~~~~~ ^~~~~~
/scratch/x11/openbsd-input-ws/work/.buildlink/include/xorg/xf86Xinput.h:175:1: note: 'xf86AllocateInput' declared here
InputInfoPtr xf86AllocateInput(void);
^
ws.c:198:22: warning: 'Xcalloc' is deprecated [-Wdeprecated-declarations]
        priv = (WSDevicePtr)xcalloc(1, sizeof(WSDeviceRec));
                            ^
/scratch/x11/openbsd-input-ws/work/.buildlink/include/xorg/os.h:75:30: note: expanded from macro 'xcalloc'
#define xcalloc(_num, _size) Xcalloc((unsigned long)(_num)*(unsigned long)(_size))
                             ^
/scratch/x11/openbsd-input-ws/work/.buildlink/include/xorg/os.h:220:1: note: 'Xcalloc' declared here
Xcalloc(unsigned long /*amount */ ) _X_DEPRECATED;
^
ws.c:201:17: error: use of undeclared identifier 'XI86_POINTER_CAPABLE'
        pInfo->flags = XI86_POINTER_CAPABLE | XI86_SEND_DRAG_EVENTS;
                       ^
ws.c:201:40: error: use of undeclared identifier 'XI86_SEND_DRAG_EVENTS'
        pInfo->flags = XI86_POINTER_CAPABLE | XI86_SEND_DRAG_EVENTS;
                                              ^
ws.c:202:9: error: no member named 'conf_idev' in 'struct _InputInfoRec'
        pInfo->conf_idev = dev;
        ~~~~~  ^
ws.c:206:39: error: too many arguments to function call, expected 2, have 3
        xf86CollectInputOptions(pInfo, NULL, NULL);
        ~~~~~~~~~~~~~~~~~~~~~~~              ^~~~
/usr/include/sys/null.h:13:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
/scratch/x11/openbsd-input-ws/work/.buildlink/include/xorg/xf86Xinput.h:198:1: note: 'xf86CollectInputOptions' declared here
extern _X_EXPORT void
^
ws.c:213:16: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        priv->devName = xf86FindOptionValue(pInfo->options, "Device");
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ws.c:308:4: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        s = xf86FindOptionValue(pInfo->options, "Rotate");
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ws.c:335:9: error: no member named 'conversion_proc' in 'struct _InputInfoRec'; did you mean 'control_proc'?
        pInfo->conversion_proc = wsConvert;
               ^~~~~~~~~~~~~~~
               control_proc
/scratch/x11/openbsd-input-ws/work/.buildlink/include/xorg/xf86Xinput.h:89:11: note: 'control_proc' declared here
    int (*control_proc) (struct _InputInfoRec * local, xDeviceCtl * control);
          ^
ws.c:335:25: warning: incompatible pointer types assigning to 'int (*)(struct _InputInfoRec *, xDeviceCtl *)' from 'Bool (InputInfoPtr, int, int, int, int, int, int, int, int, int *, int *)' [-Wincompatible-pointer-types]
        pInfo->conversion_proc = wsConvert;
                               ^ ~~~~~~~~~
ws.c:336:9: error: no member named 'reverse_conversion_proc' in 'struct _InputInfoRec'
        pInfo->reverse_conversion_proc = NULL;
        ~~~~~  ^
ws.c:339:9: error: no member named 'old_x' in 'struct _InputInfoRec'
        pInfo->old_x = -1;
        ~~~~~  ^
ws.c:340:9: error: no member named 'old_y' in 'struct _InputInfoRec'
        pInfo->old_y = -1;
        ~~~~~  ^
ws.c:344:18: error: use of undeclared identifier 'XI86_CONFIGURED'
        pInfo->flags |= XI86_CONFIGURED;
                        ^
ws.c:348:3: warning: 'Xfree' is deprecated [-Wdeprecated-declarations]
                xfree(priv);
                ^
/scratch/x11/openbsd-input-ws/work/.buildlink/include/xorg/os.h:77:20: note: expanded from macro 'xfree'
#define xfree(ptr) Xfree((pointer)(ptr))
                   ^
/scratch/x11/openbsd-input-ws/work/.buildlink/include/xorg/os.h:233:1: note: 'Xfree' declared here
Xfree(void * /*ptr */ )
^
ws.c:350:3: warning: 'Xfree' is deprecated [-Wdeprecated-declarations]
                xfree(pInfo);
                ^
/scratch/x11/openbsd-input-ws/work/.buildlink/include/xorg/os.h:77:20: note: expanded from macro 'xfree'
#define xfree(ptr) Xfree((pointer)(ptr))
                   ^
/scratch/x11/openbsd-input-ws/work/.buildlink/include/xorg/os.h:233:1: note: 'Xfree' declared here
Xfree(void * /*ptr */ )
^
ws.c:358:34: warning: implicit declaration of function 'XI_PRIVATE' is invalid in C99 [-Wimplicit-function-declaration]
        WSDevicePtr priv = (WSDevicePtr)XI_PRIVATE(pWS);
                                        ^
ws.c:358:21: warning: cast to 'WSDevicePtr' (aka 'struct WSDevice *') from smaller integer type 'int' [-Wint-to-pointer-cast]
        WSDevicePtr priv = (WSDevicePtr)XI_PRIVATE(pWS);
                           ^
ws.c:386:7: error: too few arguments to function call, expected 8, have 7
                    );
                    ^
/scratch/x11/openbsd-input-ws/work/.buildlink/include/xorg/input.h:370:1: note: 'InitPointerDeviceStruct' declared here
extern _X_EXPORT Bool InitPointerDeviceStruct(DevicePtr /*device */ ,
^
ws.c:387:52: error: too few arguments to function call, expected 9, have 7
                xf86InitValuatorAxisStruct(pWS, 0, 0, -1, 1, 0, 1);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~                       ^
/scratch/x11/openbsd-input-ws/work/.buildlink/include/xorg/xf86Xinput.h:162:1: note: 'xf86InitValuatorAxisStruct' declared here
extern _X_EXPORT Bool xf86InitValuatorAxisStruct(DeviceIntPtr dev, int axnum,
^
ws.c:390:52: error: too few arguments to function call, expected 9, have 7
                xf86InitValuatorAxisStruct(pWS, 1, 0, -1, 1, 0, 1);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~                       ^
/scratch/x11/openbsd-input-ws/work/.buildlink/include/xorg/xf86Xinput.h:162:1: note: 'xf86InitValuatorAxisStruct' declared here
extern _X_EXPORT Bool xf86InitValuatorAxisStruct(DeviceIntPtr dev, int axnum,
^
ws.c:393:33: error: no member named 'atom' in 'struct _InputInfoRec'
                AssignTypeAndName(pWS, pInfo->atom, pInfo->name);
                                       ~~~~~  ^
ws.c:692:2: warning: implicit declaration of function 'xf86XInputSetScreen' is invalid in C99 [-Wimplicit-function-declaration]
        xf86XInputSetScreen(pInfo, priv->screen_no, *x, *y);
        ^
12 warnings and 18 errors generated.
*** [ws.lo] Error code 1

make: stopped in /scratch/x11/openbsd-input-ws/work/openbsd-input-ws-1.2/src
1 error

make: stopped in /scratch/x11/openbsd-input-ws/work/openbsd-input-ws-1.2/src
*** [all-recursive] Error code 1

make: stopped in /scratch/x11/openbsd-input-ws/work/openbsd-input-ws-1.2
1 error

make: stopped in /scratch/x11/openbsd-input-ws/work/openbsd-input-ws-1.2
*** [all] Error code 2

make: stopped in /scratch/x11/openbsd-input-ws/work/openbsd-input-ws-1.2
1 error

make: stopped in /scratch/x11/openbsd-input-ws/work/openbsd-input-ws-1.2
*** Error code 2

Stop.
make: stopped in /data/pkgsrc/x11/openbsd-input-ws
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/x11/openbsd-input-ws
