Projects
openEuler:Mainline
erlang-lfe
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
_service:tar_scm:erlang-lfe.spec
Changed
@@ -7,12 +7,13 @@ %endif Name: erlang-%{realname} Version: 2.1.1 -Release: 1 +Release: 2 Summary: Lisp Flavoured Erlang License: BSD URL: https://github.com/%{upstream}/%{realname} VCS: scm:git:https://github.com/%{upstream}/%{realname}.git Source0: https://github.com/%{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz +Patch0: 0001-fix-build-error-for-loongarch64.patch %if 0%{?need_bootstrap} BuildRequires: erlang-erts erlang-rpm-macros @@ -31,6 +32,9 @@ %prep %setup -q -n %{realname}-%{version} +%ifarch loongarch64 +%patch0 -p1 +%endif %build %if 0%{?need_bootstrap} @@ -85,6 +89,9 @@ %{_emacs_sitestartdir}/lfe-start.el %changelog +* Mon May 8 2023 Wenlong Zhang <zhangwenlong@loongson.cn> - 2.1.1-2 +- fix build error for loongarch64 + * Tue Feb 28 2023 lilong <lilong@kylinos.cn> - 2.1.1-1 - Upgrade to 2.1.1
View file
_service:tar_scm:0001-fix-build-error-for-loongarch64.patch
Added
@@ -0,0 +1,22 @@ +From f00d7dd15dceadb2441f163d70bbe03bd4cbc7ae Mon Sep 17 00:00:00 2001 +From: Wenlong Zhang <zhangwenlong@loongson.cn> +Date: Fri, 19 May 2023 09:04:07 +0000 +Subject: PATCH fix build error for loongarch64 + +--- + rebar.config | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/rebar.config b/rebar.config +index 1204a6f..a732d89 100644 +--- a/rebar.config ++++ b/rebar.config +@@ -36,3 +36,5 @@ + "bin/lfescript bin/lfec -o $REBAR_DEPS_DIR/lfe/ebin src/*.lfe"} + %% TODO: equivalent win32 hook + }. ++{port_env, {"DRV_LDFLAGS", "-shared -L/usr/lib64/erlang/lib/erl_interface-4.0.3.1/lib -lei"}}. ++ +-- +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