Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2015 01:49:38 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r385438 - head/math/fityk/files
Message-ID:  <201505050149.t451ncjP038164@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue May  5 01:49:37 2015
New Revision: 385438
URL: https://svnweb.freebsd.org/changeset/ports/385438

Log:
  math/fityk: unbreak build on 8.x
  
  r385070 exposed another issue:
  
  In file included from ceria.cpp:4:0:
  ceria.h:52:23: error: 'FILE' was not declared in this scope
   CelFile read_cel_file(FILE* f);
                         ^
  ceria.h:52:29: error: 'f' was not declared in this scope
   CelFile read_cel_file(FILE* f);
                               ^
  ceria.h:53:41: error: 'FILE' has not been declared
   void write_cel_file(CelFile const& cel, FILE* f);
                                           ^
  ceria.cpp: In function 'CelFile read_cel_file(FILE*)':
  ceria.cpp:719:30: error: 'CelFile read_cel_file(FILE*)' redeclared as different kind of symbol
   CelFile read_cel_file(FILE *f)
                                ^
  In file included from ceria.cpp:4:0:
  ceria.h:52:9: error: previous declaration of 'CelFile read_cel_file'
   CelFile read_cel_file(FILE* f);
           ^
  
  Reported by:	pkg-fallout
  Approved by:	portmgr blanket

Added:
  head/math/fityk/files/patch-src__wxgui__ceria.h   (contents, props changed)

Added: head/math/fityk/files/patch-src__wxgui__ceria.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/fityk/files/patch-src__wxgui__ceria.h	Tue May  5 01:49:37 2015	(r385438)
@@ -0,0 +1,10 @@
+--- src/wxgui/ceria.h.orig	2011-06-03 17:15:42 UTC
++++ src/wxgui/ceria.h
+@@ -4,6 +4,7 @@
+ #ifndef FITYK_WX_CERIA_H_
+ #define FITYK_WX_CERIA_H_
+ 
++#include <stdio.h>
+ #include <vector>
+ #include <string>
+ #include "atomtables.h"



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