Projects
Mega:24.03
tix
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
_service:tar_scm:tix.spec
Changed
@@ -3,7 +3,7 @@ Summary: the Tk Interface eXtension Epoch: 1 Version: 8.4.3 -Release: 26 +Release: 27 License: TCL URL: http://tix.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/Tix%{version}-src.tar.gz @@ -11,6 +11,7 @@ Patch0: tix-8.4.2-link.patch Patch1: tix-8.4.3-tcl86.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 @@ -90,5 +91,8 @@ %doc *.txt *.html %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 -- Package init \ No newline at end of file +- Package init
View file
_service:tar_scm:tix-Add-sw64-architecture.patch
Added
@@ -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 +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2