Changeset 550 in ProjectBuilder for projects/afio/pbconf
- Timestamp:
- Sep 20, 2008, 1:20:52 AM (16 years ago)
- Location:
- projects/afio/pbconf/2.5
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
projects/afio/pbconf/2.5/afio/pbpatch/01-fedora-patches.all
r535 r550 7 7 else 8 8 - execlp (compressprog, compressprog, "-d", "-c", 0); 9 + execlp (compressprog, compressprog, "-d", "-c", NULL);9 + execlp (compressprog, compressprog, "-d", "-c", (char *)NULL); 10 10 fprintf (stderr, "Could not uncompress, errno %d\n", errno); 11 11 exit(1); … … 16 16 17 17 - execlp (controlscript, controlscript, label, 0); 18 + execlp (controlscript, controlscript, label, NULL);18 + execlp (controlscript, controlscript, label, (char *)NULL); 19 19 20 20 warnarch("Problems running control script:",(off_t)0); … … 25 25 else 26 26 - execlp (compressprog, compressprog, "-d", "-c", 0); 27 + execlp (compressprog, compressprog, "-d", "-c", NULL);27 + execlp (compressprog, compressprog, "-d", "-c", (char *)NULL); 28 28 fprintf (stderr, "Could not uncompress, errno %d\n", errno); 29 29 exit (1); … … 43 43 44 44 /* 45 diff -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 } -
projects/afio/pbconf/2.5/afio/rpm/afio.spec
r534 r550 13 13 Url: PBURL 14 14 Source: PBREPO/PBSRC 15 PBPATCHSRC 15 16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) 16 17 … … 28 29 %setup -q 29 30 31 PBPATCHCMD 32 30 33 %build 31 34 make %{?_smp_mflags} 35 chmod 644 script*/* 36 37 %check 38 make regtest 39 make regtest2gb 32 40 33 41 %install … … 35 43 mkdir -p $RPM_BUILD_ROOT%{_bindir} 36 44 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 37 install - m 755 afio $RPM_BUILD_ROOT%{_bindir}38 install - m 644 afio.1 $RPM_BUILD_ROOT%{_mandir}/man145 install -p -m 755 afio $RPM_BUILD_ROOT%{_bindir} 46 install -p -m 644 afio.1 $RPM_BUILD_ROOT%{_mandir}/man1 39 47 40 48 %clean -
projects/afio/pbconf/2.5/pbfilter/all.pbf
r542 r550 38 38 filter PBURL = http://freshmeat.net/redir/afio/144/url_tgz/afio-2.5.tgz 39 39 40 # License 40 41 filter PBLIC = LGPL 42 43 # Patch management 44 # PBPATCHSRC is replaced by the patches names if value is yes 45 filter PBPATCHSRC = yes 46 # PBPATCHCMD is replaced by the patches commands if value is yes 47 filter PBPATCHCMD = yes
Note:
See TracChangeset
for help on using the changeset viewer.