svn commit: r498230 - in head/x11/decurs: . files

Mark Linimon linimon at FreeBSD.org
Sun Apr 7 01:38:11 UTC 2019


Author: linimon
Date: Sun Apr  7 01:38:09 2019
New Revision: 498230
URL: https://svnweb.freebsd.org/changeset/ports/498230

Log:
  Include stdarg.h in src/cppstring.cpp to fix build with GCC-based
  architectures:
  
    /usr/local/include/gtkmm-2.0/glibmm/thread.h: In function 'void Glib::thread_init(GThreadFunctions*)':
  
  Also add USES=dos2unix (to fix patching cppstring.cpp) gnome.
  
  PR:		237040
  Submitted by:	Piotr Kubaj

Added:
  head/x11/decurs/files/patch-src_cppstring.cc   (contents, props changed)
Modified:
  head/x11/decurs/Makefile

Modified: head/x11/decurs/Makefile
==============================================================================
--- head/x11/decurs/Makefile	Sun Apr  7 01:34:37 2019	(r498229)
+++ head/x11/decurs/Makefile	Sun Apr  7 01:38:09 2019	(r498230)
@@ -17,7 +17,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	danfe
 GH_TAGNAME=	10c5691
 
-USES=		pkgconfig
+USES=		compiler:c++11-lang dos2unix gnome pkgconfig
+DOS2UNIX_FILES=	src/cppstring.cc
 GNU_CONFIGURE=	yes
 USE_XORG=	x11
 USE_GNOME=	gtk20

Added: head/x11/decurs/files/patch-src_cppstring.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/decurs/files/patch-src_cppstring.cc	Sun Apr  7 01:38:09 2019	(r498230)
@@ -0,0 +1,10 @@
+--- src/cppstring.cc.orig	2019-04-05 11:08:03 UTC
++++ src/cppstring.cc
+@@ -4,6 +4,7 @@
+ #include "cppstring.hh"
+ #include "idefs.h"
+ #include <iostream>
++#include <stdarg.h>
+ // #include <except.h>
+ #define DEF_BUFFER_SIZE     512
+ #define CPPSTRING_ERROR(obj,msg,retval) {obj<<"*** ERROR *** : "<<msg<<std::endl;return retval;}


More information about the svn-ports-all mailing list