]> git.pld-linux.org Git - packages/cdrkit.git/blob - cdrkit-1.1.11-handler.patch
debian patch to fix build with gcc 10
[packages/cdrkit.git] / cdrkit-1.1.11-handler.patch
1 diff -up cdrkit-1.1.11/icedax/icedax.c.handler cdrkit-1.1.11/icedax/icedax.c
2 --- cdrkit-1.1.11/icedax/icedax.c.handler       2011-06-02 16:37:02.446206285 +0200
3 +++ cdrkit-1.1.11/icedax/icedax.c       2011-06-02 16:37:25.444206279 +0200
4 @@ -1054,7 +1054,7 @@ static void exit_wrapper(int status)
5  
6         if (child_pid != 0) {
7                 SCSI *usalp = get_scsi_p();
8 -               if (usalp->running) {
9 +               if (usalp && usalp->running) {
10                         usalp->cb_fun = on_exitscsi;
11                         usalp->cb_arg = (void *) (uintptr_t) status;
12                 } else {
This page took 0.057063 seconds and 3 git commands to generate.