File 1016-scripts-diffable-Include-the-hipe-application.patch of Package erlang

From a8ede33f9a51c1566ccb38df0056c3e1f092b970 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Mon, 30 Apr 2018 08:24:42 +0200
Subject: [PATCH] scripts/diffable: Include the hipe application

---
 scripts/diffable | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/scripts/diffable b/scripts/diffable
index f22194e99f..08d2d5cb35 100755
--- a/scripts/diffable
+++ b/scripts/diffable
@@ -60,6 +60,7 @@ do_compile(OutDir, Opts0) ->
             "asn1",
             "stdlib",
 	    "kernel",
+            "hipe",
 	    "reltool",
 	    "runtime_tools",
 	    "xmerl",
@@ -129,6 +130,10 @@ add_opts([], _Opts) ->
 get_src(["preloaded"|Apps]) ->
     WC = filename:join(code:root_dir(), "erts/preloaded/src/*.erl"),
     filelib:wildcard(WC) ++ get_src(Apps);
+get_src(["hipe"|Apps]) ->
+    LibDir = code:lib_dir(hipe),
+    WC = filename:join(LibDir, "*/*.erl"),
+    filelib:wildcard(WC) ++ get_src(Apps);
 get_src(["inets"|Apps]) ->
     LibDir = code:lib_dir(inets),
     WC = filename:join(LibDir, "src/*/*.erl"),
-- 
2.16.3