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




To: pkgsrc-bugs%netbsd.org@localhost

Subject: Boostrap error on OpenBSD 3.4 based system

From: Philip Reynolds <philip.reynolds%rfc-networks.ie@localhost>

Date: Fri, 13 Feb 2004 18:07:19 +0000


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


Follow-Ups:

Re: Boostrap error on OpenBSD 3.4 based system
From: Christos Zoulas

Re: Boostrap error on OpenBSD 3.4 based system
From: Philip Reynolds




Prev by Date: Re: MacOS-10.2.3 [ aka Darwin-7.2.0 ? ] vs. buildlink3

Next by Date: Re: Boostrap error on OpenBSD 3.4 based system

Previous by Thread: MacOS-10.2.3 [ aka Darwin-7.2.0 ? ] vs. buildlink3

Next by Thread: Re: Boostrap error on OpenBSD 3.4 based system

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index