From 58663c587e3fcd00e1da610c787814fb124c07d3 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 29 Jan 2023 09:54:23 -0500 Subject: [PATCH] Fix missing header for GCC 13 --- 1817.patch | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++ libindi.spec | 4 +++ 2 files changed, 92 insertions(+) create mode 100644 1817.patch diff --git a/1817.patch b/1817.patch new file mode 100644 index 0000000..a2b8077 --- /dev/null +++ b/1817.patch @@ -0,0 +1,88 @@ +From 40dda2d1e85baaf55e91b51909797b7f6b20da9c Mon Sep 17 00:00:00 2001 +From: Jim Howard +Date: Mon, 23 Jan 2023 13:47:25 -0600 +Subject: [PATCH 1/4] rawhideFix: add missing header complained about with + Fedora38/rawhide + +--- + libs/indibase/connectionplugins/connectionserial.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libs/indibase/connectionplugins/connectionserial.h b/libs/indibase/connectionplugins/connectionserial.h +index da92c2d4d0..112f5b0048 100644 +--- a/libs/indibase/connectionplugins/connectionserial.h ++++ b/libs/indibase/connectionplugins/connectionserial.h +@@ -24,6 +24,7 @@ + + #include + #include ++#include + + namespace Connection + { + +From 396082d0df8531011d0b42d8fba14dd96c249b8b Mon Sep 17 00:00:00 2001 +From: Jim Howard +Date: Mon, 23 Jan 2023 14:23:52 -0600 +Subject: [PATCH 2/4] rawhideFix: missing include for rawhide + +--- + libs/indibase/dsp/dspinterface.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libs/indibase/dsp/dspinterface.h b/libs/indibase/dsp/dspinterface.h +index 5e0c580209..4524e08431 100644 +--- a/libs/indibase/dsp/dspinterface.h ++++ b/libs/indibase/dsp/dspinterface.h +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + + namespace INDI + { + +From 2761ca28f46b4cc4dece97169c4663e64be806ef Mon Sep 17 00:00:00 2001 +From: Jim Howard +Date: Mon, 23 Jan 2023 14:29:10 -0600 +Subject: [PATCH 3/4] rawhideFix: add missing header + +--- + drivers/telescope/ieqdriverbase.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/telescope/ieqdriverbase.h b/drivers/telescope/ieqdriverbase.h +index 030e48f5ba..e2a35e209e 100644 +--- a/drivers/telescope/ieqdriverbase.h ++++ b/drivers/telescope/ieqdriverbase.h +@@ -22,6 +22,7 @@ + + #include + #include ++#include + + namespace iEQ + { + +From 2b2b33a582cb8f48fef68f74a943d6ca56f31e0e Mon Sep 17 00:00:00 2001 +From: Jim Howard +Date: Mon, 23 Jan 2023 14:36:12 -0600 +Subject: [PATCH 4/4] rawhideFix: add missing header file + +--- + drivers/telescope/ieqprolegacydriver.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/telescope/ieqprolegacydriver.h b/drivers/telescope/ieqprolegacydriver.h +index 960e0fdb16..926b8ebc9b 100644 +--- a/drivers/telescope/ieqprolegacydriver.h ++++ b/drivers/telescope/ieqprolegacydriver.h +@@ -21,6 +21,7 @@ + #pragma once + + #include ++#include + + typedef enum { GPS_OFF, GPS_ON, GPS_DATA_OK } IEQ_GPS_STATUS; + typedef enum diff --git a/libindi.spec b/libindi.spec index b44d5a4..0f99e89 100644 --- a/libindi.spec +++ b/libindi.spec @@ -22,6 +22,10 @@ License: LGPLv2+ and GPLv2+ URL: http://www.indilib.org Source0: https://github.com/indilib/indi/archive/v%{version}/indi-%{version}.tar.gz +# rawhideFix: add missing header complained about with Fedora38/rawhide +# https://github.com/indilib/indi/pull/1817 +Patch: https://github.com/indilib/indi/pull/1817.patch + BuildRequires: cmake BuildRequires: libev-devel BuildRequires: libogg-devel