Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 2015 22:14:35 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r400482 - head/graphics/luminance-qt5/files
Message-ID:  <201510292214.t9TMEZHR060366@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Thu Oct 29 22:14:35 2015
New Revision: 400482
URL: https://svnweb.freebsd.org/changeset/ports/400482

Log:
  Include header for stderr to allow the build with gcc 4.9.
  
  error: 'stderr' was not declared in this scope
  
  PR:		196712

Added:
  head/graphics/luminance-qt5/files/patch-src_Libpfs_maninp_projection.cpp   (contents, props changed)

Added: head/graphics/luminance-qt5/files/patch-src_Libpfs_maninp_projection.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/luminance-qt5/files/patch-src_Libpfs_maninp_projection.cpp	Thu Oct 29 22:14:35 2015	(r400482)
@@ -0,0 +1,12 @@
+Include cstdio for stderr, to fix the build with gcc 4.9
+
+--- src/Libpfs/manip/projection.cpp.orig	2015-10-29 16:26:58.000000000 +0100
++++ src/Libpfs/manip/projection.cpp	2015-10-29 16:27:41.000000000 +0100
+@@ -26,6 +26,7 @@
+ 
+ #include <cmath>
+ #include <cstring>
++#include <cstdio>
+ // #include <stdio.h>
+ // #include <stdlib.h>
+ 



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