gambas: update patch

Remove unneeded C++ libs check changes.
This commit is contained in:
François Revol
2015-05-01 19:59:59 +02:00
parent 6bffd4b86b
commit d5811e7ebc

View File

@@ -1,8 +1,8 @@
Index: acinclude.m4
===================================================================
--- acinclude.m4 (revision 7046)
--- acinclude.m4 (revision 7048)
+++ acinclude.m4 (working copy)
@@ -206,13 +206,15 @@
@@ -206,10 +206,9 @@
dnl AC_CHECK_LIB(m, main, echo)
dnl AC_CHECK_LIB(z, main, echo)
@@ -10,20 +10,12 @@ Index: acinclude.m4
+ GB_LIBC()
- AC_SUBST(C_LIB)
+ dnl ---- Check for C++ libraries
+ AC_CHECK_LIB(gcc_s, _Unwind_Resume, CXX_LIB="$CXX_LIB -lgcc_s")
+ AC_CHECK_LIB(stdc++, __cxa_throw, CXX_LIB="$CXX_LIB -lstdc++")
+ dnl ---- MinGW versions (static lib)
+ AC_CHECK_LIB(gcc, __Unwind_Resume, CXX_LIB="$CXX_LIB -lgcc")
+ AC_CHECK_LIB(stdc++, ___cxa_throw, CXX_LIB="$CXX_LIB -lstdc++")
- AC_CHECK_LIB(gcc_s, main, CXX_LIB="$CXX_LIB -lgcc_s")
- AC_CHECK_LIB(stdc++, main, CXX_LIB="$CXX_LIB -lstdc++")
-
AC_SUBST(CXX_LIB)
+ dnl ---- Check for C++ libraries
AC_CHECK_LIB(gcc_s, main, CXX_LIB="$CXX_LIB -lgcc_s")
AC_CHECK_LIB(stdc++, main, CXX_LIB="$CXX_LIB -lstdc++")
dnl ---- Check for shared library extension
@@ -370,6 +372,13 @@
@@ -370,6 +369,13 @@
GBX_THREAD_INC="-pthread -D_REENTRANT"
GBX_THREAD_LDFLAGS=""
;;
@@ -37,7 +29,7 @@ Index: acinclude.m4
*)
THREAD_LIB="-lpthread"
THREAD_INC="-D_REENTRANT"
@@ -393,6 +402,30 @@
@@ -393,6 +399,30 @@
## ---------------------------------------------------------------------------
@@ -68,7 +60,7 @@ Index: acinclude.m4
## GB_MATH
## Detect mathematic libraries
## ---------------------------------------------------------------------------
@@ -403,6 +436,9 @@
@@ -403,6 +433,9 @@
*-*-freebsd* )
MATH_LIB="-lm"
;;
@@ -78,7 +70,7 @@ Index: acinclude.m4
*)
MATH_LIB="-lm"
;;
@@ -521,6 +557,12 @@
@@ -521,6 +554,12 @@
AC_DEFINE(OS_HURD, 1, [Target system is Hurd])
AC_DEFINE(SYSTEM, "Hurd", [Operating system])
;;
@@ -91,7 +83,7 @@ Index: acinclude.m4
* )
SYSTEM=UNKNOWN
AC_DEFINE(SYSTEM, "unknown", [Operating system])
@@ -641,6 +683,18 @@
@@ -641,6 +680,18 @@
gb_sub_dir_list_64=`echo "$gb_sub_dir_list" | sed s/"lib"/"lib64"/g`
@@ -112,7 +104,7 @@ Index: acinclude.m4
if test "$gb_sub_dir_list_64" != "$gb_sub_dir_list"; then
Index: gb.net/src/CDnsClient.c
===================================================================
--- gb.net/src/CDnsClient.c (revision 7046)
--- gb.net/src/CDnsClient.c (revision 7048)
+++ gb.net/src/CDnsClient.c (working copy)
@@ -530,7 +530,7 @@
else
@@ -125,7 +117,7 @@ Index: gb.net/src/CDnsClient.c
stHost=gethostbyaddr(&addr,sizeof(addr),AF_INET);
Index: gb.net/src/CSerialPort.c
===================================================================
--- gb.net/src/CSerialPort.c (revision 7046)
--- gb.net/src/CSerialPort.c (revision 7048)
+++ gb.net/src/CSerialPort.c (working copy)
@@ -42,6 +42,10 @@
#define TIOCINQ FIONREAD
@@ -166,7 +158,7 @@ Index: gb.net/src/CSerialPort.c
GB.ReturnInteger(ret);
Index: gb.net/src/CSocket.c
===================================================================
--- gb.net/src/CSocket.c (revision 7046)
--- gb.net/src/CSocket.c (revision 7048)
+++ gb.net/src/CSocket.c (working copy)
@@ -32,6 +32,7 @@
#include <sys/socket.h>
@@ -178,7 +170,7 @@ Index: gb.net/src/CSocket.c
#include <arpa/inet.h>
Index: gb.xml/src/element.cpp
===================================================================
--- gb.xml/src/element.cpp (revision 7046)
--- gb.xml/src/element.cpp (revision 7048)
+++ gb.xml/src/element.cpp (working copy)
@@ -19,6 +19,7 @@
@@ -190,7 +182,7 @@ Index: gb.xml/src/element.cpp
#include "node.h"
Index: gb.xml/src/html/cssfilter.cpp
===================================================================
--- gb.xml/src/html/cssfilter.cpp (revision 7046)
--- gb.xml/src/html/cssfilter.cpp (revision 7048)
+++ gb.xml/src/html/cssfilter.cpp (working copy)
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE /* for memrchr() */
@@ -199,7 +191,7 @@ Index: gb.xml/src/html/cssfilter.cpp
#include "htmlelement.h"
Index: gb.xml/src/utils.cpp
===================================================================
--- gb.xml/src/utils.cpp (revision 7046)
--- gb.xml/src/utils.cpp (revision 7048)
+++ gb.xml/src/utils.cpp (working copy)
@@ -19,6 +19,7 @@
@@ -211,7 +203,7 @@ Index: gb.xml/src/utils.cpp
#include "../gb_common.h"
Index: main/configure.ac
===================================================================
--- main/configure.ac (revision 7046)
--- main/configure.ac (revision 7048)
+++ main/configure.ac (working copy)
@@ -9,6 +9,14 @@
LT_INIT
@@ -239,7 +231,7 @@ Index: main/configure.ac
DL_LIB=""
Index: main/gbc/gbi.c
===================================================================
--- main/gbc/gbi.c (revision 7046)
--- main/gbc/gbi.c (revision 7048)
+++ main/gbc/gbi.c (working copy)
@@ -45,7 +45,7 @@
@@ -252,7 +244,7 @@ Index: main/gbc/gbi.c
#define lt_dlopenext(_path) dlopen(_path, RTLD_LAZY)
Index: main/gbx/gbx_c_application.c
===================================================================
--- main/gbx/gbx_c_application.c (revision 7046)
--- main/gbx/gbx_c_application.c (revision 7048)
+++ main/gbx/gbx_c_application.c (working copy)
@@ -238,8 +238,12 @@
if (!_daemon && VPROP(GB_BOOLEAN))
@@ -300,7 +292,7 @@ Index: main/gbx/gbx_c_application.c
END_PROPERTY
Index: main/gbx/gbx_c_process.c
===================================================================
--- main/gbx/gbx_c_process.c (revision 7046)
--- main/gbx/gbx_c_process.c (revision 7048)
+++ main/gbx/gbx_c_process.c (working copy)
@@ -834,7 +834,11 @@
{
@@ -316,7 +308,7 @@ Index: main/gbx/gbx_c_process.c
_last_status = status;
Index: main/gbx/gbx_c_task.c
===================================================================
--- main/gbx/gbx_c_task.c (revision 7046)
--- main/gbx/gbx_c_task.c (revision 7048)
+++ main/gbx/gbx_c_task.c (working copy)
@@ -120,7 +120,11 @@
while (_object)
@@ -332,7 +324,7 @@ Index: main/gbx/gbx_c_task.c
stop_task(THIS);
Index: main/lib/signal/csignal.c
===================================================================
--- main/lib/signal/csignal.c (revision 7046)
--- main/lib/signal/csignal.c (revision 7048)
+++ main/lib/signal/csignal.c (working copy)
@@ -42,7 +42,11 @@
#define SIGPWR -1
@@ -349,7 +341,7 @@ Index: main/lib/signal/csignal.c
Index: main/share/gb_file_temp.h
===================================================================
--- main/share/gb_file_temp.h (revision 7046)
--- main/share/gb_file_temp.h (revision 7048)
+++ main/share/gb_file_temp.h (working copy)
@@ -38,7 +38,9 @@