diff options
| author | Michael Forney <mforney@mforney.org> | 2019-06-05 23:09:06 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-06-05 23:09:06 -0700 |
| commit | 49f60b7f236dbd4fc4839a1c17632ddafb91c001 (patch) | |
| tree | cfa66a5bfb2e89294f09fb98abef33e4a7e974cb /pkg/netsurf/nsgenbind/patch | |
| parent | 10e71a69a346c6137d3483ad544fefb0ca6ef3e2 (diff) | |
netsurf: Disable javascript support
It is not that useful in its current form, and this save quite a
bit in executable size.
Diffstat (limited to 'pkg/netsurf/nsgenbind/patch')
| -rw-r--r-- | pkg/netsurf/nsgenbind/patch/0001-Use-relative-include-paths.patch | 37 |
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 - |
