pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Boostrap error on OpenBSD 3.4 based system



A tiny tiny patch for pkgsrc to build on openbsd 3.4 based systems
(the main problem is with the newer version of gcc afaics)

        gcc version 2.95.3 20010125 (prerelease, propolice)

FYI, the error was as follows:

        cc1: warnings being treated as errors
        job.c: In function `JobFinish':
        job.c:975: warning: `and' of mutually exclusive equal-tests is
        always 0
        

Compiling with NOGCCERROR=yes is a simple workaround.

Regards,
-- 
Philip Reynolds                      | RFC Networks Ltd.
philip.reynolds%rfc-networks.ie@localhost      | +353 (0)1 8832063
http://people.rfc-networks.ie/~phil/ | www.rfc-networks.ie
--- bmake/job.c.orig    Fri Feb 13 17:46:54 2004
+++ bmake/job.c Fri Feb 13 17:46:58 2004
@@ -972,7 +972,7 @@
 #endif
            (void) fflush(out);
            return;
-       } else if (WIFSTOPPED(status) &&  WTERMSIG(status) == SIGCONT) {
+       } else if ((WIFSTOPPED(status)) &&  WTERMSIG(status) == SIGCONT) {
            /*
             * If the beastie has continued, shift the Job from the stopped
             * list to the running one (or re-stop it if concurrency is

Attachment: pgpEpkszBqnfX.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index