[packages/lal-pulsar] - added build fix (mismatched function prototype)

qboosh qboosh at pld-linux.org
Sun Jun 9 21:41:36 CEST 2024


commit a6ef8294d93ca9e4fb4a02c290b632be0befa226
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 9 21:33:33 2024 +0200

    - added build fix (mismatched function prototype)

 lal-pulsar.spec       |  2 ++
 lalpulsar-build.patch | 11 +++++++++++
 2 files changed, 13 insertions(+)
---
diff --git a/lal-pulsar.spec b/lal-pulsar.spec
index 096e776..25c2711 100644
--- a/lal-pulsar.spec
+++ b/lal-pulsar.spec
@@ -14,6 +14,7 @@ Source0:	http://software.igwn.org/lscsoft/source/lalsuite/lalpulsar-%{version}.t
 Patch0:		lalpulsar-env.patch
 Patch1:		lalpulsar-format.patch
 Patch2:		lalpulsar-sse2.patch
+Patch3:		lalpulsar-build.patch
 URL:		https://wiki.ligo.org/Computing/LALSuite
 BuildRequires:	autoconf >= 2.63
 BuildRequires:	automake >= 1:1.11
@@ -121,6 +122,7 @@ Wiązania Pythona do biblioteki LAL Pulsar.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__libtoolize}
diff --git a/lalpulsar-build.patch b/lalpulsar-build.patch
new file mode 100644
index 0000000..593dd02
--- /dev/null
+++ b/lalpulsar-build.patch
@@ -0,0 +1,11 @@
+--- lalpulsar-6.1.0/bin/GCT/GCTtoplist.c.orig	2024-03-25 21:33:49.628409810 +0100
++++ lalpulsar-6.1.0/bin/GCT/GCTtoplist.c	2024-06-09 20:35:11.217249165 +0200
+@@ -242,7 +242,7 @@ static int gctFstat_final_qsort( const v
+ 
+ /* creates a toplist with length elements,
+    returns -1 on error (usually out of memory), else 0 */
+-int create_gctFstat_toplist( toplist_t **tl, UINT8 length, UINT4 whatToSortBy )
++int create_gctFstat_toplist( toplist_t **tl, UINT8 length, SortBy_t whatToSortBy )
+ {
+ #ifdef DEBUG_SORTING
+   if ( !debugfp ) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lal-pulsar.git/commitdiff/a6ef8294d93ca9e4fb4a02c290b632be0befa226



More information about the pld-cvs-commit mailing list