forked from pool/nodejs-electron
- New upstream release 21.3.2 * Updated Chromium to 106.0.5249.199 - Drop common.gypi-cpp-version.patch applied upstream - Use gcc12 also on Leap as it's available now. * that way we use the same compiler version everywhere - correct optflags not being applied for assembler files compiled wih gcc * add gcc-asmflags.patch - correct a compiler warning in system-libbsd.patch - remove more dead code OBS-URL: https://build.opensuse.org/request/show/1039925 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=51
25 lines
689 B
Diff
25 lines
689 B
Diff
This source file was copied from libbsd, use the system library instead
|
|
|
|
--- a/third_party/libsync/BUILD.gn 2022-06-21 21:52:53.867987945 +0200
|
|
+++ a/third_party/libsync/BUILD.gn 2022-06-28 17:30:45.327377489 +0200
|
|
@@ -21,9 +21,8 @@
|
|
]
|
|
}
|
|
|
|
- config("libsync_private_config") {
|
|
- # To suppress the warning caused by strlcpy.
|
|
- cflags = [ "-Wno-implicit-function-declaration" ]
|
|
+ pkg_config("libsync_private_config") {
|
|
+ packages = [ "libbsd-overlay" ]
|
|
}
|
|
|
|
source_set("libsync") {
|
|
@@ -31,7 +30,6 @@
|
|
"src/include/sync/sync.h",
|
|
"src/sw_sync.h",
|
|
"src/sync.c",
|
|
- "strlcpy.c",
|
|
]
|
|
|
|
configs -= [ "//build/config/compiler:chromium_code" ]
|