summaryrefslogtreecommitdiff
path: root/pkg/netsurf/nsgenbind/patch/0001-Use-relative-include-paths.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/netsurf/nsgenbind/patch/0001-Use-relative-include-paths.patch')
-rw-r--r--pkg/netsurf/nsgenbind/patch/0001-Use-relative-include-paths.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/pkg/netsurf/nsgenbind/patch/0001-Use-relative-include-paths.patch b/pkg/netsurf/nsgenbind/patch/0001-Use-relative-include-paths.patch
deleted file mode 100644
index db7579c2..00000000
--- a/pkg/netsurf/nsgenbind/patch/0001-Use-relative-include-paths.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From bf6cb0cd861dd2cbfa6a2e4754b6dd278b89b1d9 Mon Sep 17 00:00:00 2001
-From: Michael Forney <mforney@mforney.org>
-Date: Fri, 23 Dec 2016 15:24:36 -0800
-Subject: [PATCH] Use relative include paths
-
----
- src/duk-libdom-common.c | 14 +++-----------
- 1 file changed, 3 insertions(+), 11 deletions(-)
-
-diff --git a/src/duk-libdom-common.c b/src/duk-libdom-common.c
-index 6111070..ff225b0 100644
---- a/src/duk-libdom-common.c
-+++ b/src/duk-libdom-common.c
-@@ -85,17 +85,9 @@ int output_tool_prologue(FILE* outf)
- {
- char *fpath;
-
-- fpath = genb_fpath("binding.h");
-- fprintf(outf, "\n#include \"%s\"\n", fpath);
-- free(fpath);
--
-- fpath = genb_fpath("private.h");
-- fprintf(outf, "#include \"%s\"\n", fpath);
-- free(fpath);
--
-- fpath = genb_fpath("prototype.h");
-- fprintf(outf, "#include \"%s\"\n", fpath);
-- free(fpath);
-+ fputs("\n#include \"binding.h\"\n", outf);
-+ fputs("#include \"private.h\"\n", outf);
-+ fputs("#include \"prototype.h\"\n", outf);
-
- return 0;
- }
---
-2.11.0
-