!12 添加sw架构
From: @wuzx065891 Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
277bee4bfb
64
tix-Add-sw64-architecture.patch
Normal file
64
tix-Add-sw64-architecture.patch
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
From de5e0b32b18e261f11b79805ad46215dc2bf4213 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Wu Zixuan <wuzx1226@qq.com>
|
||||||
|
Date: Mon, 28 Nov 2022 16:41:47 +0800
|
||||||
|
Subject: [PATCH] Add sw64 architecture
|
||||||
|
|
||||||
|
Add sw64 architecture in file configure tclconfig/tcl.m4 to support sw64 architecture.
|
||||||
|
|
||||||
|
Signed-off-by: Wu Zixuan <wuzx1226@qq.com>
|
||||||
|
---
|
||||||
|
configure | 6 ++++++
|
||||||
|
tclconfig/tcl.m4 | 6 ++++++
|
||||||
|
2 files changed, 12 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/configure b/configure
|
||||||
|
index 55fafea..5aebb49 100755
|
||||||
|
--- a/configure
|
||||||
|
+++ b/configure
|
||||||
|
@@ -8935,6 +8935,9 @@ echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
|
||||||
|
if test "`uname -m`" = "alpha" ; then
|
||||||
|
CFLAGS="$CFLAGS -mieee"
|
||||||
|
fi
|
||||||
|
+ if test "`uname -m`" = "sw_64" ; then
|
||||||
|
+ CFLAGS="$CFLAGS -mieee"
|
||||||
|
+ fi
|
||||||
|
if test $do64bit = yes; then
|
||||||
|
echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
|
||||||
|
echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6
|
||||||
|
@@ -9026,6 +9029,9 @@ echo "${ECHO_T}$tcl_cv_cc_m64" >&6
|
||||||
|
if test "`uname -m`" = "alpha" ; then
|
||||||
|
CFLAGS="$CFLAGS -mieee"
|
||||||
|
fi
|
||||||
|
+ if test "`uname -m`" = "sw_64" ; then
|
||||||
|
+ CFLAGS="$CFLAGS -mieee"
|
||||||
|
+ fi
|
||||||
|
;;
|
||||||
|
Lynx*)
|
||||||
|
SHLIB_CFLAGS="-fPIC"
|
||||||
|
diff --git a/tclconfig/tcl.m4 b/tclconfig/tcl.m4
|
||||||
|
index b7d1c44..490bffc 100644
|
||||||
|
--- a/tclconfig/tcl.m4
|
||||||
|
+++ b/tclconfig/tcl.m4
|
||||||
|
@@ -1461,6 +1461,9 @@ dnl AC_CHECK_TOOL(AR, ar)
|
||||||
|
if test "`uname -m`" = "alpha" ; then
|
||||||
|
CFLAGS="$CFLAGS -mieee"
|
||||||
|
fi
|
||||||
|
+ if test "`uname -m`" = "sw_64" ; then
|
||||||
|
+ CFLAGS="$CFLAGS -mieee"
|
||||||
|
+ fi
|
||||||
|
if test $do64bit = yes; then
|
||||||
|
AC_CACHE_CHECK([if compiler accepts -m64 flag], tcl_cv_cc_m64, [
|
||||||
|
hold_cflags=$CFLAGS
|
||||||
|
@@ -1499,6 +1502,9 @@ dnl AC_CHECK_TOOL(AR, ar)
|
||||||
|
if test "`uname -m`" = "alpha" ; then
|
||||||
|
CFLAGS="$CFLAGS -mieee"
|
||||||
|
fi
|
||||||
|
+ if test "`uname -m`" = "sw_64" ; then
|
||||||
|
+ CFLAGS="$CFLAGS -mieee"
|
||||||
|
+ fi
|
||||||
|
;;
|
||||||
|
Lynx*)
|
||||||
|
SHLIB_CFLAGS="-fPIC"
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
8
tix.spec
8
tix.spec
@ -3,7 +3,7 @@ Name: tix
|
|||||||
Summary: the Tk Interface eXtension
|
Summary: the Tk Interface eXtension
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 8.4.3
|
Version: 8.4.3
|
||||||
Release: 26
|
Release: 27
|
||||||
License: TCL
|
License: TCL
|
||||||
URL: http://tix.sourceforge.net/
|
URL: http://tix.sourceforge.net/
|
||||||
Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/Tix%{version}-src.tar.gz
|
Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/Tix%{version}-src.tar.gz
|
||||||
@ -11,6 +11,7 @@ Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/Tix
|
|||||||
Patch0: tix-8.4.2-link.patch
|
Patch0: tix-8.4.2-link.patch
|
||||||
Patch1: tix-8.4.3-tcl86.patch
|
Patch1: tix-8.4.3-tcl86.patch
|
||||||
Patch2: tix-8.4.3-covscan-fixes.patch
|
Patch2: tix-8.4.3-covscan-fixes.patch
|
||||||
|
Patch3: tix-Add-sw64-architecture.patch
|
||||||
|
|
||||||
Buildrequires: tcl-devel >= 8.4.13 tk-devel >= 8.4.13 libX11-devel gcc
|
Buildrequires: tcl-devel >= 8.4.13 tk-devel >= 8.4.13 libX11-devel gcc
|
||||||
|
|
||||||
@ -90,5 +91,8 @@ find docs -name .cvsignore -exec rm '{}' ';'
|
|||||||
%doc *.txt *.html
|
%doc *.txt *.html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 29 2022 wuzx<wuzx1226@qq.com> - 1:8.4.3-27
|
||||||
|
- Add sw64 architecture
|
||||||
|
|
||||||
* Fri Dec 6 2019 caomeng<caomeng5@huawei.com> - 1:8.4.3-26
|
* Fri Dec 6 2019 caomeng<caomeng5@huawei.com> - 1:8.4.3-26
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user