Compare commits
1 Commits
rawhide
...
f38-riscv6
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | 032e5894e9 |
|
@ -1,36 +0,0 @@
|
|||
Avoid implicit function declarations: Declare lsame_ and
|
||||
xerbla_. Include <slu_ddefs.h> for dCreate_CompCol_Matrix,
|
||||
dCreate_Dense_Matrix, dgssv. Prevents build failures with future
|
||||
compilers.
|
||||
|
||||
Submitted upstream: <https://github.com/fangq/meshfix/pull/1>
|
||||
|
||||
diff -ur iso2mesh-1.9.6.orig/tools/meshfix/contrib/OpenNL3.2.1/src/nl_single_file.c iso2mesh-1.9.6/tools/meshfix/contrib/OpenNL3.2.1/src/nl_single_file.c
|
||||
--- iso2mesh-1.9.6.orig/tools/meshfix/contrib/OpenNL3.2.1/src/nl_single_file.c 2020-06-20 18:44:57.000000000 +0200
|
||||
+++ iso2mesh-1.9.6/tools/meshfix/contrib/OpenNL3.2.1/src/nl_single_file.c 2023-04-14 09:02:52.027673795 +0200
|
||||
@@ -1480,6 +1480,8 @@
|
||||
typedef NLboolean logical ;
|
||||
typedef NLint ftnlen ;
|
||||
|
||||
+int NL_FORTRAN_WRAP(lsame)(char *ca, char *cb);
|
||||
+int NL_FORTRAN_WRAP(xerbla)(char *srname, int *info);
|
||||
|
||||
#ifndef max
|
||||
#define max(x,y) ((x) > (y) ? (x) : (y))
|
||||
@@ -3437,6 +3439,16 @@
|
||||
|
||||
/* SuperLU includes */
|
||||
#include <slu_cdefs.h>
|
||||
+
|
||||
+/* Hide the dgemv, gemv_ prototypes because the local definition is
|
||||
+ different (the n, m arguments are integers, not pointers to
|
||||
+ integers here). */
|
||||
+#define dgemv dgemv_hidden
|
||||
+#define dgemv_ dgemv__hidden
|
||||
+#include <slu_ddefs.h>
|
||||
+#undef dgemv
|
||||
+#undef dgemv_
|
||||
+
|
||||
#include <supermatrix.h>
|
||||
|
||||
/* Note: SuperLU is difficult to call, but it is worth it. */
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: octave-%{octpkg}
|
||||
Version: 1.9.6
|
||||
Release: 11%{?dist}
|
||||
Release: 8.rvre0%{?dist}
|
||||
Summary: A 3D surface and volumetric mesh generator for MATLAB/Octave
|
||||
# Main package: GPLv3+
|
||||
# Meshfix: GPLv2+
|
||||
|
@ -25,7 +25,6 @@ Patch0: iso2mesh-1.9.6-CMakeCMP0064.patch
|
|||
# Fix the incorrect detection of Boost version
|
||||
# > -- NOTICE: This program requires Boost >= 1.34.1, and will not be compiled.
|
||||
Patch1: iso2mesh-1.9.6-recent_Boost_version.patch
|
||||
Patch2: octave-iso2mesh-c99.patch
|
||||
|
||||
ExcludeArch: armv7hl
|
||||
BuildRequires: make
|
||||
|
@ -75,7 +74,6 @@ rm -rf tools/tetgen
|
|||
mv ../cork-0.9.1 tools/cork
|
||||
mv ../meshfix-1.2.2 tools/meshfix
|
||||
mv ../tetgen1.5.1 tools/tetgen
|
||||
%patch -P 2 -p1
|
||||
rm -rf bin/*.mex* bin/*.exe bin/*.dll
|
||||
|
||||
cp COPYING.txt COPYING
|
||||
|
@ -106,10 +104,6 @@ sed -e "s|^\(CXXFLAGS = \).*|\1%{optflags} $RPM_LD_FLAGS|" \
|
|||
|
||||
%build
|
||||
%set_build_flags
|
||||
%if 0%{?__isa_bits} == 32
|
||||
# Reduce the debuginfo level to avoid virtual memory exhaustion
|
||||
CXXFLAGS="${CXXFLAGS-} -g1"
|
||||
%endif
|
||||
pushd tools
|
||||
# can't use make_build macro below because parallel make with CGAL exhausts
|
||||
# vm's memory and crash the building process, use sequential make instead
|
||||
|
@ -167,14 +161,8 @@ install -m 0755 -vp bin/* %{buildroot}%{_libexecdir}/%{octpkg}/
|
|||
%doc sample
|
||||
|
||||
%changelog
|
||||
* Fri Apr 14 2023 Florian Weimer <fweimer@redhat.com> - 1.9.6-11
|
||||
- Port to C99
|
||||
|
||||
* Sun Apr 09 2023 Orion Poplawski <orion@nwra.com> - 1.9.6-10
|
||||
- Rebuild for octave 8.1.0
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.6-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
* Wed May 10 2023 David Abdurachmanov <davidlt@rivosinc.com> - 1.9.6-8.rvre0
|
||||
- Rebuilt for Fedora/RISCV (riscv64)
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.6-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
|
Loading…
Reference in New Issue