svn commit: r400482 - head/graphics/luminance-qt5/files

Koop Mast kwm at FreeBSD.org
Thu Oct 29 22:14:36 UTC 2015


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>
+ 


More information about the svn-ports-head mailing list