blob: 6ad8a62c28fa6e21a49781affe5061d20e376056 [file] [log] [blame]
Andrew Geissler97771a32021-03-05 15:23:11 -06001From 0a9ab056ce7582033a21d6bc541ece520bf2b0b6 Mon Sep 17 00:00:00 2001
2From: Oleksiy Obitotskyy <oobitots@cisco.com>
3Date: Thu, 26 Nov 2020 05:38:31 -0800
4Subject: [PATCH] wireshark-src: improve reproducibility
5
6Cut absolute path for filename in generated code
7comments.
8
9Upstream-Status: Pending
10Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
11---
12 tools/make-plugin-reg.py | 2 +-
13 tools/ncp2222.py | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
Patrick Williamsb542dec2023-06-09 01:26:37 -050016Index: wireshark-4.0.6/tools/ncp2222.py
17===================================================================
18--- wireshark-4.0.6.orig/tools/ncp2222.py
19+++ wireshark-4.0.6/tools/ncp2222.py
20@@ -5891,7 +5891,7 @@ def produce_code():
Andrew Geissler97771a32021-03-05 15:23:11 -060021
22 print("/*")
23 print(" * Do not modify this file. Changes will be overwritten.")
24- print(" * Generated automatically from %s" % (sys.argv[0]))
25+ print(" * Generated automatically from %s" % (os.path.basename(sys.argv[0])))
26 print(" */\n")
27
28 print("""