File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
pkgs/by-name/vi/visual-hexdiff Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -26,15 +26,17 @@ stdenv.mkDerivation {
2626 } )
2727 ] ;
2828
29- postPatch = ''
30- # Fix compiler error that wants a string literal as format string for `wprintw`
31- substituteInPlace sel_file.c \
32- --replace-fail 'wprintw(win, txt_aide_fs[foo]);' 'wprintw(win, "%s", txt_aide_fs[foo]);'
33- '' + lib . optionalString stdenv . hostPlatform . isDarwin ''
34- # Fix compiler error on Darwin: conflicting types for 'strdup'
35- substituteInPlace sel_file.c \
36- --replace-fail 'char *strdup(char *);' ' '
37- '' ;
29+ postPatch =
30+ ''
31+ # Fix compiler error that wants a string literal as format string for `wprintw`
32+ substituteInPlace sel_file.c \
33+ --replace-fail 'wprintw(win, txt_aide_fs[foo]);' 'wprintw(win, "%s", txt_aide_fs[foo]);'
34+ ''
35+ + lib . optionalString stdenv . hostPlatform . isDarwin ''
36+ # Fix compiler error on Darwin: conflicting types for 'strdup'
37+ substituteInPlace sel_file.c \
38+ --replace-fail 'char *strdup(char *);' ' '
39+ '' ;
3840
3941 buildInputs = [ ncurses ] ;
4042
You can’t perform that action at this time.
0 commit comments