[Bug 264700] www/elinks: build with SPIDERMONKEY fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 16 Jun 2022 00:31:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264700

            Bug ID: 264700
           Summary: www/elinks: build with SPIDERMONKEY fails
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
                CC: jailbird@fdf.net
             Flags: maintainer-feedback?(jailbird@fdf.net)
                CC: jailbird@fdf.net

After the update to 0.15.0, www/elinks fails to build if SPIDERMONKEY is on.

 .
 .
      [CC]   src/dialogs/download.o
      [CC]   src/dialogs/edit.o
      [CC]   src/dialogs/exmode.o
      [CC]   src/dialogs/info.o
In file included from info.c:22:
In file included from ../.././src/ecmascript/ecmascript.h:13:
In file included from /usr/local/include/js-1.7/jsapi.h:47:
In file included from /usr/local/include/js-1.7/jspubtd.h:45:
/usr/local/include/js-1.7/jstypes.h:248:6: error: "Must define one of XP_BEOS,
XP_OS2, XP_WIN or
      XP_UNIX"
#    error "Must define one of XP_BEOS, XP_OS2, XP_WIN or XP_UNIX"
     ^
/usr/local/include/js-1.7/jstypes.h:264:2: error: No suitable type for
JSInt8/JSUint8
#error No suitable type for JSInt8/JSUint8
 ^
/usr/local/include/js-1.7/jstypes.h:277:2: error: No suitable type for
JSInt16/JSUint16
#error No suitable type for JSInt16/JSUint16
 ^
/usr/local/include/js-1.7/jstypes.h:297:2: error: No suitable type for
JSInt32/JSUint32
#error No suitable type for JSInt32/JSUint32
 ^
/usr/local/include/js-1.7/jstypes.h:329:5: error: unknown type name 'JSUint32'
    JSUint32 hi, lo;
    ^
/usr/local/include/js-1.7/jstypes.h:348:2: error: 'sizeof(int)' not sufficient
for platform use
#error 'sizeof(int)' not sufficient for platform use
 ^
/usr/local/include/js-1.7/jstypes.h:393:9: error: unknown type name 'JSIntn';
did you mean
      'JSInt64'?
typedef JSIntn JSBool;
 .
 .

-- 
You are receiving this mail because:
You are the assignee for the bug.