Created
February 6, 2023 01:17
-
-
Save fathonix/bf65844cf5df145ae92903c1147fc425 to your computer and use it in GitHub Desktop.
Debian GPSim Patch to Remove config.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From c39da3038d9456663b17faa1606e87c5b16711ca Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <[email protected]> | |
Date: Sun, 8 Sep 2019 16:38:35 +0200 | |
Subject: [PATCH] Remove the config.h header, which is generated and valid | |
during build from the source code, from the breakpoints.h header that is part | |
of the public API. | |
MIME-Version: 1.0 | |
Content-Type: text/plain; charset=UTF-8 | |
Content-Transfer-Encoding: 8bit | |
This resolves Debian Bug #939338. | |
Signed-off-by: Slávek Banko <[email protected]> | |
--- | |
cli/cmd_break.cc | 1 + | |
cli/socket.cc | 1 + | |
src/14bit-registers.cc | 2 ++ | |
src/breakpoints.h | 2 -- | |
src/trigger.cc | 1 + | |
5 files changed, 5 insertions(+), 2 deletions(-) | |
diff --git a/cli/cmd_break.cc b/cli/cmd_break.cc | |
index 8cd8a48..40ec32f 100644 | |
--- a/cli/cmd_break.cc | |
+++ b/cli/cmd_break.cc | |
@@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA. */ | |
#include "misc.h" | |
#include "cmd_break.h" | |
+#include "../config.h" | |
#include "../src/breakpoints.h" | |
#include "../src/expr.h" | |
#include "../src/gpsim_object.h" | |
diff --git a/cli/socket.cc b/cli/socket.cc | |
index 81c5663..5594376 100644 | |
--- a/cli/socket.cc | |
+++ b/cli/socket.cc | |
@@ -32,6 +32,7 @@ Boston, MA 02111-1307, USA. */ | |
#include <unistd.h> | |
#include <sys/types.h> | |
+#include "../config.h" | |
//#include "../src/processor.h" | |
#include "../src/symbol.h" | |
#include "../src/protocol.h" | |
diff --git a/src/14bit-registers.cc b/src/14bit-registers.cc | |
index e967425..2b09e9c 100644 | |
--- a/src/14bit-registers.cc | |
+++ b/src/14bit-registers.cc | |
@@ -26,6 +26,8 @@ License along with this library; if not, see | |
#include <string> | |
#include <assert.h> | |
+#include "../config.h" | |
+ | |
#include "14bit-processors.h" | |
#include "14bit-registers.h" | |
#include "14bit-tmrs.h" | |
diff --git a/src/breakpoints.h b/src/breakpoints.h | |
index f784fc4..93d1172 100644 | |
--- a/src/breakpoints.h | |
+++ b/src/breakpoints.h | |
@@ -22,8 +22,6 @@ License along with this library; if not, see | |
#ifndef SRC_BREAKPOINTS_H_ | |
#define SRC_BREAKPOINTS_H_ | |
-#include "../config.h" | |
- | |
#include <glib.h> | |
#include <string> | |
#include "exports.h" | |
diff --git a/src/trigger.cc b/src/trigger.cc | |
index a5eb8a1..0d7ed0e 100644 | |
--- a/src/trigger.cc | |
+++ b/src/trigger.cc | |
@@ -19,6 +19,7 @@ License along with this library; if not, see | |
*/ | |
+#include "../config.h" | |
#include "trigger.h" | |
#include "value.h" | |
#include "expr.h" | |
-- | |
2.11.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment