Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2019 01:44:31 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r498231 - in branches/2019Q2/x11/decurs: . files
Message-ID:  <201904070144.x371iVEI066694@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sun Apr  7 01:44:31 2019
New Revision: 498231
URL: https://svnweb.freebsd.org/changeset/ports/498231

Log:
  MFH: r498230
  
  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
  
  Approved by:	portmgr (tier-2 blanket)

Added:
  branches/2019Q2/x11/decurs/files/patch-src_cppstring.cc
     - copied unchanged from r498230, head/x11/decurs/files/patch-src_cppstring.cc
Modified:
  branches/2019Q2/x11/decurs/Makefile
Directory Properties:
  branches/2019Q2/   (props changed)

Modified: branches/2019Q2/x11/decurs/Makefile
==============================================================================
--- branches/2019Q2/x11/decurs/Makefile	Sun Apr  7 01:38:09 2019	(r498230)
+++ branches/2019Q2/x11/decurs/Makefile	Sun Apr  7 01:44:31 2019	(r498231)
@@ -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

Copied: branches/2019Q2/x11/decurs/files/patch-src_cppstring.cc (from r498230, head/x11/decurs/files/patch-src_cppstring.cc)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2019Q2/x11/decurs/files/patch-src_cppstring.cc	Sun Apr  7 01:44:31 2019	(r498231, copy of r498230, head/x11/decurs/files/patch-src_cppstring.cc)
@@ -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;}



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