Changeset 550 in ProjectBuilder for projects/afio/pbconf/2.5/afio/pbpatch


Ignore:
Timestamp:
Sep 20, 2008, 1:20:52 AM (16 years ago)
Author:
Bruno Cornec
Message:

Fixes for correct Fedora build according to https://bugzilla.redhat.com/show_bug.cgi?id=449037

File:
1 edited

Legend:

Unmodified
Added
Removed
  • projects/afio/pbconf/2.5/afio/pbpatch/01-fedora-patches.all

    r535 r550  
    77    else
    88-       execlp (compressprog, compressprog, "-d", "-c", 0);
    9 +       execlp (compressprog, compressprog, "-d", "-c", NULL);
     9+       execlp (compressprog, compressprog, "-d", "-c", (char *)NULL);
    1010    fprintf (stderr, "Could not uncompress, errno %d\n", errno);
    1111    exit(1);
     
    1616   
    1717-        execlp (controlscript, controlscript, label, 0);
    18 +        execlp (controlscript, controlscript, label, NULL);
     18+        execlp (controlscript, controlscript, label, (char *)NULL);
    1919 
    2020    warnarch("Problems running control script:",(off_t)0);         
     
    2525          else
    2626-             execlp (compressprog, compressprog, "-d", "-c", 0);
    27 +             execlp (compressprog, compressprog, "-d", "-c", NULL);
     27+             execlp (compressprog, compressprog, "-d", "-c", (char *)NULL);
    2828          fprintf (stderr, "Could not uncompress, errno %d\n", errno);
    2929          exit (1);
     
    4343 
    4444 /*
     45diff -urNp afio-2.5.orig/compfile.c afio-2.5/compfile.c
     46--- afio-2.5.orig/compfile.c    2008-09-20 00:36:18.000000000 +0200
     47+++ afio-2.5/compfile.c 2008-09-20 00:36:49.000000000 +0200
     48@@ -179,7 +179,7 @@ int setupgzip(char *name)
     49       if (open (name, O_RDONLY) >= 0)
     50       {
     51      if(! compressargs)
     52-         execlp (compressprog, compressprog, "-c", farg, 0);
     53+         execlp (compressprog, compressprog, "-c", farg, (char *)NULL);
     54      else
     55          execvp (compressprog, compress_arg_list);
     56       }
Note: See TracChangeset for help on using the changeset viewer.