Scott Bradnick
38cbaa23f2
- Adding wayland-protocols-1.32.diff patch to account for 'compiler crashes' from wayland-protocols-devel update (#6422) * This is patched upstream via 95d1564 and 7d2dc25 - Removing -Wno-error=switch flag as this was a workaround to deal with scenario from above - Renaming the following files: * fix-librsync-leap.{.patch -> .diff} * optional-disable-docs.{.patch -> diff} - Set -Wno-error=switch flag to prevent compiler crashes for RISCV and ARM - Cleaning up "wayland-devel obsoletes libwayland-egl-devel" - Adding 'Recommends: python3-importlib_resources' - Use python3.11 on Leap 15.5 * python3.11 is the only python3 > 3.6 version would be shipped in Leap 15.5 OBS-URL: https://build.opensuse.org/request/show/1097531 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=119
12 lines
561 B
Diff
12 lines
561 B
Diff
--- setup.py 2023-04-21 03:40:01.000000000 -0400
|
|
+++ setup.py.smb 2023-06-29 16:46:28.129796837 -0400
|
|
@@ -914,7 +914,7 @@
|
|
raise SystemExit(f'The version of go on this system ({current_go_version}) is too old. go >= {required_go_version} is needed')
|
|
if not for_platform:
|
|
update_go_generated_files(args, os.path.join(launcher_dir, appname))
|
|
- cmd = [go, 'build', '-v']
|
|
+ cmd = [go, 'build', '-buildmode=pie', '-v']
|
|
vcs_rev = args.vcs_rev or get_vcs_rev()
|
|
ld_flags = [f"-X 'kitty.VCSRevision={vcs_rev}'"]
|
|
if for_freeze:
|