Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 2010 11:05:38 GMT
From:      Igor Soumenkov <igor@soumenkov.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/153482: mingw32-gcc is broken - does not build
Message-ID:  <201012281105.oBSB5cE0079600@red.freebsd.org>
Resent-Message-ID: <201012281110.oBSBA8EC050795@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         153482
>Category:       ports
>Synopsis:       mingw32-gcc is broken - does not build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 28 11:10:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Igor Soumenkov
>Release:        8.2-PRERELEASE
>Organization:
>Environment:
FreeBSD igosha2 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #3: Tue Dec 14 12:35:00 MSK 2010     root@igosha2:/usr/obj/usr/src/sys/IGOSHA-WORK-8  amd64

>Description:
The port is marked broken; seems that nobody even tried to fix it and nobody cares.
>How-To-Repeat:
cd /usr/ports/devel/mingw32-gcc
make install
>Fix:
Patch one buggy include (attached).
I don't care if you don't like the patch - it just works and gcc installs. 
I can't even understand how people can update the port and then just mark it broken - what is the reason of keeping broken ports when the previous version was working??? Who has given them these rights?

Patch attached with submission follows:

--- work/gcc-4.5.0/libiberty/physmem.c.orig	2010-12-28 13:54:28.000000000 +0300
+++ work/gcc-4.5.0/libiberty/physmem.c	2010-12-28 13:51:13.000000000 +0300
@@ -49,7 +49,7 @@
 #endif
 
 #if HAVE_SYS_SYSCTL_H
-# include <sys/sysctl.h>
+// # include <sys/sysctl.h>
 #endif
 
 #if HAVE_SYS_SYSTEMCFG_H


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012281105.oBSB5cE0079600>