summaryrefslogtreecommitdiff
path: root/sysutils/py-pywatchman/files/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/py-pywatchman/files/patch-setup.py')
-rw-r--r--sysutils/py-pywatchman/files/patch-setup.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/py-pywatchman/files/patch-setup.py b/sysutils/py-pywatchman/files/patch-setup.py
new file mode 100644
index 000000000000..0d9c752979a4
--- /dev/null
+++ b/sysutils/py-pywatchman/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2023-04-24 22:23:26 UTC
++++ setup.py
+@@ -22,7 +22,7 @@ if watchman_src_dir is None:
+ # files. Otherwise it is impossible to obtain a relative path across different
+ # drives. However this has an implication that we will not be able to build this
+ # package outside the repository. Not great but it works.
+-py_dir = os.path.join(watchman_src_dir, "watchman", "python")
++py_dir = os.path.join(watchman_src_dir, "python")
+ if os.name == "nt":
+ os.chdir(py_dir)
+ py_dir = os.path.relpath(py_dir)