[packages/mopac7] Rel 6
arekm
arekm at pld-linux.org
Fri May 8 22:21:21 CEST 2026
commit c68f64d5d547056f417c322b2e0564f133094a75
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri May 8 22:21:12 2026 +0200
Rel 6
mopac7-implicit-decl.patch | 11 +++++++++++
mopac7.spec | 6 ++++--
2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/mopac7.spec b/mopac7.spec
index 194027d..04bfea7 100644
--- a/mopac7.spec
+++ b/mopac7.spec
@@ -2,12 +2,13 @@ Summary: A library for semi-empirical QM calculations
Summary(pl.UTF-8): Biblioteka do semiempirycznych obliczeń z zakresu mechaniki kwantowej
Name: mopac7
Version: 1.15
-Release: 5
+Release: 6
License: Public Domain
Group: Libraries
Source0: http://bioinformatics.org/ghemical/download/current/%{name}-%{version}.tar.gz
# Source0-md5: 7e509fd03154b37cc682593365c233f4
Patch0: %{name}-paths.patch
+Patch1: %{name}-implicit-decl.patch
URL: http://sourceforge.net/projects/mopac7/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
@@ -48,6 +49,7 @@ Statyczna biblioteka MOPAC7.
%prep
%setup -q
%patch -P0 -p1
+%patch -P1 -p1
%build
%{__libtoolize}
@@ -55,7 +57,7 @@ Statyczna biblioteka MOPAC7.
%{__automake}
%{__autoconf}
%configure
-%{__make}
+%{__make} FFLAGS="%{rpmfflags} -fallow-argument-mismatch"
%install
rm -rf $RPM_BUILD_ROOT
diff --git a/mopac7-implicit-decl.patch b/mopac7-implicit-decl.patch
new file mode 100644
index 0000000..a92d77c
--- /dev/null
+++ b/mopac7-implicit-decl.patch
@@ -0,0 +1,11 @@
+--- mopac7-1.15/fortran/fdate.c~ 2009-10-17 12:39:39.000000000 +0200
++++ mopac7-1.15/fortran/fdate.c 2026-05-08 00:00:00.000000000 +0200
+@@ -21,6 +21,8 @@
+ #include <time.h>
+ #include <string.h>
+
++void s_copy(char *a, char *b, ftnlen la, ftnlen lb);
++
+ void fdate_(char *cht, ftnlen cht_len)
+ {
+ static time_t t;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mopac7.git/commitdiff/c68f64d5d547056f417c322b2e0564f133094a75
More information about the pld-cvs-commit
mailing list