mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
18f8296fb9
Without the change build on toolchain with `-fno-common` default fails as: $ nix build --impure --expr 'with import ./. {}; cdrkit.override { stdenv = clang12Stdenv; }' -L ... cdrkit> ld: CMakeFiles/genisoimage.dir/apple.o:(.bss+0x2040): multiple definition of `outfile'; CMakeFiles/genisoimage.dir/genisoimage.o:(.bss+0x280): first defined here
12 lines
366 B
Diff
12 lines
366 B
Diff
--- a/genisoimage/genisoimage.h
|
|
+++ b/genisoimage/genisoimage.h
|
|
@@ -377,7 +377,7 @@ extern int use_fileversion;
|
|
extern int split_SL_component;
|
|
extern int split_SL_field;
|
|
extern char *trans_tbl;
|
|
-char *outfile;
|
|
+extern char *outfile;
|
|
|
|
#define JMAX 64 /* maximum Joliet file name length (spec) */
|
|
#define JLONGMAX 103 /* out of spec Joliet file name length */
|