Hi,

If it works for you - maintainer ok.

2017-08-10 19:10 GMT+03:00 Jeremie Courreges-Anglas <j...@wxcvbn.org>:

>
> Hi,
>
> kamailio doesn't build on sparc64, please see:
>
>   http://build-failures.rhaalovely.net//sparc64/2017-
> 07-24/telephony/kamailio.log
>
> I've already fixed this kind of issue in textproc/calibre earlier, the
> patch is patches/patch-src_duktape_duktape_duk_config_h.
>
> Test-built on amd64 only.  ok?
>
>
> Index: patches/patch-src_modules_app_jsdt_duk_config_h
> ===================================================================
> RCS file: patches/patch-src_modules_app_jsdt_duk_config_h
> diff -N patches/patch-src_modules_app_jsdt_duk_config_h
> --- /dev/null   1 Jan 1970 00:00:00 -0000
> +++ patches/patch-src_modules_app_jsdt_duk_config_h     10 Aug 2017
> 04:53:41 -0000
> @@ -0,0 +1,19 @@
> +$OpenBSD$
> +
> +We do have inttypes.h, but gcc-4.2.1 doesn't default to C99 and
> +thus doesn't #define __STDC_VERSION__ 199901L.
> +
> +Index: src/modules/app_jsdt/duk_config.h
> +--- src/modules/app_jsdt/duk_config.h.orig
> ++++ src/modules/app_jsdt/duk_config.h
> +@@ -1557,6 +1557,10 @@
> + #define DUK_F_HAVE_INTTYPES
> + #endif
> +
> ++#ifndef DUK_F_HAVE_INTTYPES
> ++#define DUK_F_HAVE_INTTYPES
> ++#endif
> ++
> + /* Basic integer typedefs and limits, preferably from inttypes.h,
> otherwise
> +  * through automatic detection.
> +  */
>
>
>
> --
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
>

Reply via email to