Commit 39620852 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Peter Korsgaard
Browse files

thirft: new package

parent cad53d81
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -657,6 +657,7 @@ source "package/openpgm/Config.in"
source "package/ortp/Config.in"
source "package/slirp/Config.in"
source "package/snmppp/Config.in"
source "package/thrift/Config.in"
source "package/usbredir/Config.in"
source "package/wvstreams/Config.in"
source "package/zeromq/Config.in"
+23 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_THRIFT
	bool "thrift"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_WCHAR
	depends on BR2_LARGEFILE
	depends on BR2_TOOLCHAIN_HAS_THREADS
	select BR2_PACKAGE_BOOST
	select BR2_PACKAGE_LIBEVENT
	select BR2_PACKAGE_OPENSSL
	select BR2_PACKAGE_ZLIB
	help
	  The Apache Thrift software framework, for scalable cross-language
	  services development, combines a software stack with a
	  code generation engine to build services that work
	  efficiently and seamlessly between C++, Java, Python, PHP, Ruby,
	  Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk,
	  OCaml and Delphi and other languages.

	  http://thrift.apache.org/

comment "thrift needs a toolchain w/ C++, largefile, wchar, threads"
	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || \
		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
+16 −0
Original line number Diff line number Diff line
Make it cross-compile happy the hard way, there's no clean way.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

diff -Nura thrift-0.9.1.orig/aclocal/ax_lib_event.m4 thrift-0.9.1/aclocal/ax_lib_event.m4
--- thrift-0.9.1.orig/aclocal/ax_lib_event.m4	2013-08-15 11:04:29.000000000 -0300
+++ thrift-0.9.1/aclocal/ax_lib_event.m4	2013-10-07 20:40:44.076435613 -0300
@@ -75,7 +75,7 @@
           AC_LANG_PUSH([C])
           dnl This can be changed to AC_LINK_IFELSE if you are cross-compiling,
           dnl but then the version cannot be checked.
-          AC_RUN_IFELSE([AC_LANG_PROGRAM([[
+          AC_LINK_IFELSE([AC_LANG_PROGRAM([[
           #include <sys/types.h>
           #include <event.h>
           ]], [[
+22 −0
Original line number Diff line number Diff line
Fillers to make autoreconf (automake) happy.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

diff -Nura thrift-0.9.1.orig/AUTHORS thrift-0.9.1/AUTHORS
--- thrift-0.9.1.orig/AUTHORS	1969-12-31 21:00:00.000000000 -0300
+++ thrift-0.9.1/AUTHORS	2013-10-07 20:45:15.745315148 -0300
@@ -0,0 +1,2 @@
+
+
diff -Nura thrift-0.9.1.orig/ChangeLog thrift-0.9.1/ChangeLog
--- thrift-0.9.1.orig/ChangeLog	1969-12-31 21:00:00.000000000 -0300
+++ thrift-0.9.1/ChangeLog	2013-10-07 20:45:23.078554836 -0300
@@ -0,0 +1,2 @@
+
+
diff -Nura thrift-0.9.1.orig/NEWS thrift-0.9.1/NEWS
--- thrift-0.9.1.orig/NEWS	1969-12-31 21:00:00.000000000 -0300
+++ thrift-0.9.1/NEWS	2013-10-07 20:45:20.351465699 -0300
@@ -0,0 +1,2 @@
+
+
+16 −0
Original line number Diff line number Diff line
Make zlib version detection cross-compile happy.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

diff -Nura thrift-0.9.1.orig/aclocal/ax_lib_zlib.m4 thrift-0.9.1/aclocal/ax_lib_zlib.m4
--- thrift-0.9.1.orig/aclocal/ax_lib_zlib.m4	2013-08-15 11:04:29.000000000 -0300
+++ thrift-0.9.1/aclocal/ax_lib_zlib.m4	2013-10-07 20:47:44.523177973 -0300
@@ -73,7 +73,7 @@
           #   (defined in the library).
           AC_LANG_PUSH([C])
           dnl This can be changed to AC_LINK_IFELSE if you are cross-compiling.
-          AC_RUN_IFELSE([AC_LANG_PROGRAM([[
+          AC_LINK_IFELSE([AC_LANG_PROGRAM([[
           #include <zlib.h>
           #if ZLIB_VERNUM >= 0x$WANT_ZLIB_VERSION
           #else
Loading