void-packages/srcpkgs/electron19/files/patches/chromium-fix-nasm-musl-config.patch
Đoàn Trần Công Danh 116661dd4b Revert "electron19: drop package"
Rocket.Chat-Desktop still uses electron19.
electron19 still in the repo.

This reverts commit c4d86008da.
2024-03-31 16:18:02 +07:00

12 lines
372 B
Diff

--- a/third_party/nasm/config/config-linux.h
+++ b/third_party/nasm/config/config-linux.h
@@ -139,7 +139,9 @@
#define HAVE_ACCESS 1
/* Define to 1 if you have the `canonicalize_file_name' function. */
+#ifdef __GLIBC__
#define HAVE_CANONICALIZE_FILE_NAME 1
+#endif
/* Define to 1 if you have the `cpu_to_le16' intrinsic function. */
/* #undef HAVE_CPU_TO_LE16 */