ports/misc/afbackup fails to build on 5.1 systems Fix: The below fix corrects this problem. Verified to compile on 5.1-RELEASE and 4.8-STABLE. #define NO_ERROR 0--q7Wus8GGj6ob3N1J2oBZBh3a8yX8u8sDVqIVCMcQG7ds0Dyi Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- utils.h.orig Sat Jun 28 02:00:49 2003 +++ utils.h Sat Jun 28 02:04:23 2003 @@ -10,6 +10,8 @@ #include <string.h> #include <math.h> #include <x_types.h> +#include <time.h> +#include <sys/types.h> How-To-Repeat: cube# make NO_GUI=yes ===> afbackup-3.3.5_2 is marked as broken: Does not compile. after commenting out th OSVERSION check in the makefile it starts to build, but bails out with some syntax errors in utils.h cube# make NO_GUI=yes ===> Building for afbackup-3.3.5_2 (cd intl; make all) ... SD_5 -DOSNAME=FreeBSD_5 -D_THREAD_SAFE -DHAVE_DES_ENCRYPTION -DUSE_ZLIB -DLOCALEDIR=\"/usr/local/share/afbackup/locale\" __numset.c In file included from __numset.c:2: utils.h:202: syntax error before "time_from_datestr" utils.h:202: warning: data definition has no type or storage class utils.h:203: syntax error before "strint2time" utils.h:203: warning: data definition has no type or storage class utils.h:219: syntax error before "UChar" utils.h:222: syntax error before "UChar" *** Error code 1 Stop in /usr/ports/misc/afbackup/work/afbackup-3.3.5. *** Error code 1 Stop in /usr/ports/misc/afbackup. cube#
Responsible Changed From-To: freebsd-ports-bugs->voland@catpipe.net Over to maintainer. Looks good for me, please approve or reject this patch.
State Changed From-To: open->closed Committed, thanks!