summaryrefslogblamecommitdiff
path: root/user/free42/patch.patch
blob: a56b426b386d441d894a5dc629e9a2059b9faa20 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13

                                                                                   










                                                                                  
                                                   









                                                                        


                                                                                                    





































                                                                                                                 

                                                                                   














                                                                                                   
--- free42/gtk/intel-lib-linux.patch.old	2019-01-13 14:52:39.000000000 +0000
+++ free42/gtk/intel-lib-linux.patch	2019-01-17 01:27:01.470000000 +0000
@@ -1668,3 +1668,62 @@
   }
   
 + #endif /* FREE42_FPTEST */
+--- LIBRARY/makefile.iml_head.old	2011-07-12 15:26:21.000000000 +0000
++++ LIBRARY/makefile.iml_head	2019-01-17 01:25:09.210000000 +0000
+@@ -177,7 +177,7 @@
+ # returned
+ # ==============================================================================
+ 
+-__INDICES__ = 1 2 3 4 5 6 7 8 9 10 11
++__INDICES__ = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
+ 
+ GetIndex = $(strip $(word 1,$(if $(word $(words $(__INDICES__)),$2), \
+                $(error "List too large. Adjust __INDICES__"), \
+@@ -344,9 +344,9 @@
+     endif
+ endif
+ 
+-ARCH_ALIAS := x86  ia64 EM64T x86_64 i686 amd64 Intel64 sun4u
+-ARCH_LIST  := IA32 IA64 EFI2  EFI2   IA32 EFI2  EFI2    EFI2
+-ARCH_TYPE  := IA32 IA64 EFI2  EFI2   IA32 EFI2  EFI2    EFI2
++ARCH_ALIAS := x86  ia64 EM64T x86_64 i686 amd64 Intel64 sun4u ppc64 ppc  armel aarch64 armv7l i586
++ARCH_LIST  := IA32 IA64 EFI2  EFI2   IA32 EFI2  EFI2    EFI2  EFI2  EFI2 EFI2  EFI2    EFI2   IA32
++ARCH_TYPE  := IA32 IA64 EFI2  EFI2   IA32 EFI2  EFI2    EFI2  EFI2  EFI2 EFI2  EFI2    EFI2   IA32
+ ARCH_TYPES := IA32 IA64 EFI2
+ 
+ UARCH_LIST := SSE GSSE LRB LRB2
+@@ -363,6 +363,16 @@
+     $(error Invalid host architecture $(IML_HOST_ARCH))
+ endif
+ 
++ifeq ($(_HOST_ARCH),ppc)
++    BID_BIG_ENDIAN ?= true
++    BID_BIG_ENDIAN := $(BID_BIG_ENDIAN)
++endif
++
++ifeq ($(_HOST_ARCH),ppc64)
++    BID_BIG_ENDIAN ?= true
++    BID_BIG_ENDIAN := $(BID_BIG_ENDIAN)
++endif
++
+ IML_HOST_ARCH_TYPE   ?= $(word $(HOST_ARCH_LIST_INDEX),$(ARCH_TYPE))
+ IML_HOST_ARCH_TYPE   := $(IML_HOST_ARCH_TYPE)
+ HOST_ARCH_TYPE_INDEX := $(call GetIndex,$(IML_HOST_ARCH_TYPE),$(ARCH_TYPES))
+@@ -492,7 +502,7 @@
+ RM         := $(call CselOs, RM,       $(_OS_CHOICE),   rm -f, del        )
+ AR_CMD     := $(call CselOsName,AR_CMD,$(_OS_CHOICE),   ar rv, ar rv, libtool, lib -nologo)
+ AR_OUT     := $(call CselOsName,AR_OUT,$(_OS_CHOICE),        ,      ,      -o, /out:)$($(IML_TARGET_OS)__space)
+-LD_CMD     := $(call CselOsName,LD_CMD,$(_OS_CHOICE),icc,icc,libtool,link /nologo)
++LD_CMD     := $(call CselOsName,LD_CMD,$(_OS_CHOICE),gcc,icc,libtool,link /nologo)
+ LD_OUT     := $(call CselOs, LD_OUT,   $(_OS_CHOICE),      -o,       /out:)$($(IML_TARGET_OS)__space)
+ LD_FLAGS   := $(call CselOs, LD_FLAGS, $(_OS_CHOICE),   -shared -nostdlib,)
+ RC         := $(call CselOs, RC,       $(_OS_CHOICE), RC_not_to_be_used_with_linux,rc)
+@@ -515,7 +525,7 @@
+ 
+ ifeq ($(origin CC_NAME),undefined)
+     ifeq ($(origin CC),default)
+-        CC_NAME := $(call $(_OS_CHOICE)OsTypeSelect, icc, icl)
++        CC_NAME := $(call $(_OS_CHOICE)OsTypeSelect, gcc, icl)
+     else
+         __TMP   := $(strip $(subst /, ,$(firstword $(CC))))
+         CC_NAME := $(word $(words $(__TMP)), $(__TMP))
--- free42/gtk/intel-lib-linux.patch.old	2019-01-23 03:43:48.830000000 +0000
+++ free42/gtk/intel-lib-linux.patch	2019-01-23 03:46:18.170000000 +0000
@@ -1727,3 +1727,14 @@
      else
          __TMP   := $(strip $(subst /, ,$(firstword $(CC))))
          CC_NAME := $(word $(words $(__TMP)), $(__TMP))
+--- LIBRARY/src/bid_functions.h.old	2011-07-12 05:30:53.000000000 +0000
++++ LIBRARY/src/bid_functions.h	2019-01-23 03:45:35.660000000 +0000
+@@ -42,7 +42,7 @@
+ #include <ctype.h>
+ 
+ // Fix system header issue on Sun solaris and define required type by ourselves
+-#if !defined(_WCHAR_T) && !defined(_WCHAR_T_DEFINED) && !defined(__QNX__)
++#if !defined(_WCHAR_T) && !defined(_WCHAR_T_DEFINED) && !defined(__QNX__) && !defined(WCHAR_MAX)
+ typedef int   wchar_t;
+ #endif
+