Projects
openEuler:24.03:SP1:Everything
libvisual
_service:tar_scm:libvisual-0.4.2-sw.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:libvisual-0.4.2-sw.patch of Package libvisual
From b9a5b83804e13d2d18d805642bb71a28b75b1058 Mon Sep 17 00:00:00 2001 From: wangshuo <wangshuo@kylinos.cn> Date: Tue, 27 Feb 2024 08:22:48 +0000 Subject: [PATCH] libvisual-0.4.2-sw.patch --- configure | 10 ++++++++++ configure.ac | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/configure b/configure index 492545e..b35422b 100755 --- a/configure +++ b/configure @@ -3986,6 +3986,7 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac lv_mips=no lv_alpha=no +lv_sw_64=no lv_sparc=no lv_ix86=no lv_x86_64=no @@ -3994,6 +3995,7 @@ lv_powerpc=no case "$host_cpu" in mips) lv_mips=yes;; alpha) lv_alpha=yes;; + sw_64) lv_sw_64=yes;; sparc) lv_sparc=yes;; i*86) lv_ix86=yes;; x86_64*) lv_x86_64=yes;; @@ -22944,6 +22946,7 @@ fi lv_mips=$lv_mips lv_alpha=$lv_alpha + lv_sw_64=$lv_sw_64 lv_sparc=$lv_sparc lv_ix86=$lv_ix86 lv_x86_64=$lv_x86_64 @@ -24597,6 +24600,13 @@ _______EOF _______EOF fi + if test x$lv_sw_64 = xyes ; then + cat >>$outfile <<_______EOF + +#define VISUAL_ARCH_SW_64 +_______EOF + fi + if test x$lv_sparc = xyes ; then cat >>$outfile <<_______EOF diff --git a/configure.ac b/configure.ac index 75fb9ea..16c85c6 100644 --- a/configure.ac +++ b/configure.ac @@ -26,6 +26,7 @@ AC_CANONICAL_HOST lv_mips=no lv_alpha=no +lv_sw_64=no lv_sparc=no lv_ix86=no lv_x86_64=no @@ -34,6 +35,7 @@ lv_powerpc=no case "$host_cpu" in mips) lv_mips=yes;; alpha) lv_alpha=yes;; + sw_64) lv_sw_64=yes;; sparc) lv_sparc=yes;; i*86) lv_ix86=yes;; x86_64*) lv_x86_64=yes;; @@ -602,6 +604,13 @@ _______EOF _______EOF fi + if test x$lv_sw_64 = xyes ; then + cat >>$outfile <<_______EOF + +#define VISUAL_ARCH_SW_64 +_______EOF + fi + if test x$lv_sparc = xyes ; then cat >>$outfile <<_______EOF @@ -811,6 +820,7 @@ echo >>$outfile lv_mips=$lv_mips lv_alpha=$lv_alpha + lv_sw_64=$lv_sw_64 lv_sparc=$lv_sparc lv_ix86=$lv_ix86 lv_x86_64=$lv_x86_64 -- 2.27.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