janus-gateway: make echo test plugin optional
[buildroot-gz.git] / package / libart / 0001-art-config-cross.patch
bloba54f26a2358cad4f8799e5ac1c78cfa0bf372a77
1 diff -Nura libart_lgpl-2.3.21.orig/Makefile.am libart_lgpl-2.3.21/Makefile.am
2 --- libart_lgpl-2.3.21.orig/Makefile.am 2011-02-01 10:07:39.687545397 -0300
3 +++ libart_lgpl-2.3.21/Makefile.am 2011-02-01 10:08:48.320545396 -0300
4 @@ -5,11 +5,6 @@
6 noinst_SCRIPTS = gen_art_config.sh
8 -BUILT_SOURCES = art_config.h
10 -art_config.h:
11 - ./gen_art_config.sh > art_config.h
13 EXTRA_DIST = \
14 libart.def \
15 libart-config.in \
16 diff -Nura libart_lgpl-2.3.21.orig/art_config.h libart_lgpl-2.3.21/art_config.h
17 --- libart_lgpl-2.3.21.orig/art_config.h 2011-02-01 10:07:39.688545397 -0300
18 +++ libart_lgpl-2.3.21/art_config.h 2011-02-01 10:08:27.315545395 -0300
19 @@ -1,9 +1,15 @@
20 /* Automatically generated by gen_art_config */
22 +#include <limits.h>
24 #define ART_SIZEOF_CHAR 1
25 #define ART_SIZEOF_SHORT 2
26 #define ART_SIZEOF_INT 4
27 +#if LONG_MAX == 2147483647L
28 #define ART_SIZEOF_LONG 4
29 +#else
30 +#define ART_SIZEOF_LONG 8
31 +#endif
33 typedef unsigned char art_u8;
34 typedef unsigned short art_u16;