Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  7 Dec 2013 17:47:43 +0100 (CET)
From:      Christoph Moench-Tegeder <cmt@burggraben.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/184567: devel/freeocl
Message-ID:  <20131207164743.7A7BA31016@elch.exwg.net>
Resent-Message-ID: <201312071650.rB7Go1EM028438@freefall.freebsd.org>

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

>Number:         184567
>Category:       ports
>Synopsis:       devel/freeocl
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 07 16:50:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Christoph Moench-Tegeder
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD elch.exwg.net 9.2-RELEASE FreeBSD 9.2-RELEASE #11 r255911: Fri Sep 27 17:09:40 CEST 2013 cmt@elch.exwg.net:/usr/obj/usr/src/sys/ELCH amd64

lang/gcc47		gcc47-4.7.4.20131130
devel/freeocl	freeocl-0.3.6_1

	
>Description:
Hi,

in an effort towards upgrading lang/gcc to gcc 4.7, I'm helping gerald@
in making ports gcc47-safe.
Please consider the following patch to your port. If you approve of the
patch, gerald@ has offered his help in commiting it.
If you're commiting yourself or have someone else commit this (or
another patch to the same effect), can you please add an additional
reference to ports/183342 in the commit message?
In my test environment, the port built successfully with lang/gcc47.

>How-To-Repeat:

>Fix:

GCC 4.7 does not include as many files on it's own as previous versions
of gcc, so sys/types.h has to be pulled in explicitly.

# add sys/types.h
$ svn status
A       files/patch-src_freeocl.h

Index: files/patch-src_freeocl.h
===================================================================
--- files/patch-src_freeocl.h	(revision 0)
+++ files/patch-src_freeocl.h	(working copy)
@@ -0,0 +1,10 @@
+--- src/freeocl.h.orig	2013-11-15 21:18:17.000000000 +0100
++++ src/freeocl.h	2013-11-15 21:24:32.000000000 +0100
+@@ -26,6 +26,7 @@
+ #include "dispatch.h"
+ #include <iostream>
+ #include <deque>
++#include <sys/types.h>
+ 
+ #ifdef DEBUG_UTILS
+ #define MSG(X)	std::cout << #X << std::endl


Regards,
Christoph
>Release-Note:
>Audit-Trail:
>Unformatted:



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