Ai
1 Star 0 Fork 11

k4b00m/libvisual

forked from src-openEuler/libvisual
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libvisual-0.4.0-sw.patch 2.16 KB
一键复制 编辑 原始数据 按行查看 历史
user_5595483 提交于 2022-12-29 10:44 +08:00 . upgrade to 0.4.1
From c160e188dcd1bbce75f0385c1582ad1d385b8d03 Mon Sep 17 00:00:00 2001
From: licihua <licihua@huawei.com>
Date: Thu, 29 Dec 2022 11:39:30 +0800
Subject: [PATCH 3/3] libvisual-0.4.0-sw.patch
---
configure | 10 ++++++++++
configure.ac | 10 ++++++++++
2 files changed, 20 insertions(+)
diff --git a/configure b/configure
index bca4f47..fab6100 100755
--- a/configure
+++ b/configure
@@ -3985,6 +3985,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
@@ -3993,6 +3994,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;;
@@ -23091,6 +23093,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
@@ -24736,6 +24739,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_alpha = xyes ; then
cat >>$outfile <<_______EOF
diff --git a/configure.ac b/configure.ac
index 0253fdb..89fc4e5 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;;
@@ -585,6 +587,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_alpha = xyes ; then
cat >>$outfile <<_______EOF
@@ -801,6 +810,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.26.2
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/k4b00m/libvisual.git
git@gitee.com:k4b00m/libvisual.git
k4b00m
libvisual
libvisual
master

搜索帮助