[packages/metaio] - public header is missing type defs, add them - rel 2

baggins baggins at pld-linux.org
Sun Nov 3 21:50:54 CET 2019


commit d10237465f15f3bab1e7e86108bef6095f7361dd
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Nov 3 21:49:14 2019 +0100

    - public header is missing type defs, add them
    - rel 2

 metaio.spec         |  4 +++-
 missing-types.patch | 10 ++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/metaio.spec b/metaio.spec
index 5780cc5..a950ae5 100644
--- a/metaio.spec
+++ b/metaio.spec
@@ -3,12 +3,13 @@ Summary:	Library for parsing LIGO_LW Table files
 Summary(pl.UTF-8):	Biblioteka do analizy plików tablic LIGO_LW
 Name:		metaio
 Version:	8.4.0
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Libraries
 Source0:	http://software.ligo.org/lscsoft/source/%{name}-%{version}.tar.gz
 # Source0-md5:	65661cfb47643623bc8cbe97ddbe7b91
 Patch0:		format-security.patch
+Patch1:		missing-types.patch
 URL:		https://www.lsc-group.phys.uwm.edu/daswg/projects/metaio.html
 BuildRequires:	autoconf >= 2.69
 BuildRequires:	automake
@@ -54,6 +55,7 @@ Statyczna biblioteka metaio.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/missing-types.patch b/missing-types.patch
new file mode 100644
index 0000000..a2a1af6
--- /dev/null
+++ b/missing-types.patch
@@ -0,0 +1,10 @@
+--- metaio-8.4.0/src/metaio.h~	2012-11-08 18:31:05.000000000 +0100
++++ metaio-8.4.0/src/metaio.h	2019-11-03 21:47:59.122233691 +0100
+@@ -73,6 +73,7 @@
+  *   file.
+  */
+ 
++#include <stdio.h>
+ #include <complex.h>
+ #include <setjmp.h>
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/metaio.git/commitdiff/d10237465f15f3bab1e7e86108bef6095f7361dd



More information about the pld-cvs-commit mailing list