summaryrefslogtreecommitdiff
path: root/user/free42/patch.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-17 01:42:34 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-17 03:52:26 +0000
commit7830162aa19cde34e97a2157d7fb9790d29bf467 (patch)
tree25203ddf34d7975eeea7730382b1d51d00990b61 /user/free42/patch.patch
parent29e461bdbc94c8a93a929c49e286aacf75fd1e23 (diff)
downloadpackages-7830162aa19cde34e97a2157d7fb9790d29bf467.tar.gz
packages-7830162aa19cde34e97a2157d7fb9790d29bf467.tar.bz2
packages-7830162aa19cde34e97a2157d7fb9790d29bf467.tar.xz
packages-7830162aa19cde34e97a2157d7fb9790d29bf467.zip
user/free42: new package, new port to PPC
Diffstat (limited to 'user/free42/patch.patch')
-rw-r--r--user/free42/patch.patch65
1 files changed, 65 insertions, 0 deletions
diff --git a/user/free42/patch.patch b/user/free42/patch.patch
new file mode 100644
index 000000000..03e73a5f3
--- /dev/null
+++ b/user/free42/patch.patch
@@ -0,0 +1,65 @@
+--- 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))