Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 2010 20:59:58 GMT
From:      Andreas Tobler <andreast-list@fgznet.ch>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/146023: [patch] make orc build on powerpc
Message-ID:  <201004242059.o3OKxw2O076547@www.freebsd.org>
Resent-Message-ID: <201004242100.o3OL0EA2053010@freefall.freebsd.org>

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

>Number:         146023
>Category:       ports
>Synopsis:       [patch] make orc build on powerpc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 24 21:00:14 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Tobler
>Release:        -CURRENT
>Organization:
none
>Environment:
FreeBSD wolfram.andreas.nets 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r206757M: Mon Apr 19 19:38:56 CEST 2010     root@wolfram.andreas.nets:/usr/obj/export/devel/fbsd/src/sys/ANDREAST_ppc_pb  powerpc

>Description:
The attached patch makes the orc port build on powerpc.
>How-To-Repeat:

>Fix:
See the patch. Create a files directory in the orc ports dir and add the file w/o the .txt extension.

Patch attached with submission follows:

--- orc/orccpu-powerpc.c.orig	2010-04-24 22:48:59.000000000 +0200
+++ orc/orccpu-powerpc.c	2010-04-24 22:49:17.000000000 +0200
@@ -46,6 +46,7 @@
 #endif
 
 #if defined(__FreeBSD__) || defined(__APPLE__)
+#include <stdio.h>
 #include <sys/types.h>
 #include <sys/sysctl.h>
 #endif


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



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