Skip to content

Commit fb067a2

Browse files
committed
Update magic to include the header defining CPPFunction
1 parent 840d249 commit fb067a2

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

dependency_support/com_opencircuitdesign_magic/com_opencircuitdesign_magic.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@ def com_opencircuitdesign_magic():
3030
patches = [
3131
Label("@rules_hdl//dependency_support/com_opencircuitdesign_magic:magic_wrapper.patch"),
3232
Label("@rules_hdl//dependency_support/com_opencircuitdesign_magic:use_bash.patch"),
33+
Label("@rules_hdl//dependency_support/com_opencircuitdesign_magic:rltypedefs.patch"),
3334
],
3435
)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
--- textio/txMain.c 2020-08-11 22:50:26.000000000 +0200
2+
+++ textio/txMain.c 2025-07-15 09:55:07.836553930 +0200
3+
@@ -46,9 +46,11 @@
4+
#ifdef HAVE_READLINE
5+
#include <readline/readline.h>
6+
#include <readline/history.h>
7+
+#include <readline/rltypedefs.h>
8+
#else
9+
#include "readline/readline.h"
10+
#include "readline/history.h"
11+
+#include "readline/rltypedefs.h"
12+
#endif
13+
14+
int TxPrefix(void);

0 commit comments

Comments
 (0)