summary refs log tree commit diff
path: root/gnu/packages/patches/e9patch-plugin-api-headers.patch
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2024-08-07 13:18:46 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2024-11-18 17:19:20 +0900
commit3e4807dad3008fd8afc4759f57ecdb5cf9b1ed2e (patch)
tree6e549d36aa7da32c46f83c7d4e803c51d7d6490d /gnu/packages/patches/e9patch-plugin-api-headers.patch
parentb0416b8503e38746717a2d1167f9d1410634981e (diff)
downloadguix-3e4807dad3008fd8afc4759f57ecdb5cf9b1ed2e.tar.gz
gnu: Add e9patch. e9patch
* gnu/packages/engineering.scm (e9patch): New variable.
* gnu/packages/patches/e9patch-check-intel-format.patch: Add file.
* gnu/packages/patches/e9patch-check-mode.patch: Add file.
* gnu/packages/patches/e9patch-check-mov-imm.patch: Add file.
* gnu/packages/patches/e9patch-check-rflags.patch: Add file.
* gnu/packages/patches/e9patch-check-same_op_2.patch: Add file.
* gnu/packages/patches/e9patch-check.patch: Add file.
* gnu/packages/patches/e9patch-devendor.patch: Add file.
* gnu/packages/patches/e9patch-plugin-api-headers.patch: Add file.
* gnu/local.mk (dist_patch_DATA): Register patches.

Change-Id: I8da4e76043bf6d577e8d14a89cc7bc35caa3933f
Diffstat (limited to 'gnu/packages/patches/e9patch-plugin-api-headers.patch')
-rw-r--r--gnu/packages/patches/e9patch-plugin-api-headers.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/patches/e9patch-plugin-api-headers.patch b/gnu/packages/patches/e9patch-plugin-api-headers.patch
new file mode 100644
index 0000000000..f24f80d677
--- /dev/null
+++ b/gnu/packages/patches/e9patch-plugin-api-headers.patch
@@ -0,0 +1,25 @@
+From 13ddf96e29edfea8e6af5d3a3dfea8d1315fa761 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= <cnx@loang.net>
+Date: Mon, 18 Nov 2024 16:40:56 +0900
+Subject: [PATCH] Install plugin API headers to C_INCLUDE_PATH
+
+---
+ Makefile | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 1218c65..20c5584 100644
+--- a/Makefile
++++ b/Makefile
+@@ -110,9 +110,8 @@ install: all
+         doc/e9tool-user-guide.md | markdown > \
+         "$(DESTDIR)/usr/share/doc/e9tool/e9tool-user-guide.html"
+ 	install -m 444 LICENSE "$(DESTDIR)/usr/share/doc/e9tool/LICENSE"
+-	install -d "$(DESTDIR)/usr/share/e9tool/include/"
+-	install -m 444 src/e9tool/e9tool.h "$(DESTDIR)/usr/share/e9tool/include/e9tool.h"
+-	install -m 444 src/e9tool/e9plugin.h "$(DESTDIR)/usr/share/e9tool/include/e9plugin.h"
++	install -Dm 444 src/e9tool/e9tool.h "$(DESTDIR)/usr/include/e9tool/e9tool.h"
++	install -Dm 444 src/e9tool/e9plugin.h "$(DESTDIR)/usr/include/e9tool/e9plugin.h"
+ 	install -d "$(DESTDIR)/usr/share/e9tool/examples/"
+ 	install -m 444 examples/bounds.c "$(DESTDIR)/usr/share/e9tool/examples/bounds.c"
+ 	sed \