summaryrefslogblamecommitdiff
path: root/user/free42/patch.patch
blob: 03e73a5f3625e843c015925832d8cbed8a48f989 (plain) (tree)
































































                                                                                                                 
--- gtk/intel-lib-linux.patch.old	2019-01-13 14:52:39.000000000 +0000
+++ 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
+ 
+ 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
++ARCH_LIST  := IA32 IA64 EFI2  EFI2   IA32 EFI2  EFI2    EFI2  EFI2  EFI2 EFI2  EFI2
++ARCH_TYPE  := IA32 IA64 EFI2  EFI2   IA32 EFI2  EFI2    EFI2  EFI2  EFI2 EFI2  EFI2
+ 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))