Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2014 07:56:14 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364155 - head/devel/ddd/files
Message-ID:  <53e1df9e.5f22.2a678a3@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Aug  6 07:56:13 2014
New Revision: 364155
URL: http://svnweb.freebsd.org/changeset/ports/364155
QAT: https://qat.redports.org/buildarchive/r364155/

Log:
  Fix build with clang and newer texinfo
  
  Phabric:	D478
  Submitted by:	kan
  Reviewed by:	bapt and i

Added:
  head/devel/ddd/files/patch-ddd-ddd.texi   (contents, props changed)
  head/devel/ddd/files/patch-ddd-strclass.h   (contents, props changed)

Added: head/devel/ddd/files/patch-ddd-ddd.texi
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ddd/files/patch-ddd-ddd.texi	Wed Aug  6 07:56:13 2014	(r364155)
@@ -0,0 +1,34 @@
+--- ddd/ddd.texi.orig	2009-02-11 17:25:07 +0000
++++ ddd/ddd.texi
+@@ -1,4 +1,4 @@
+-\def\postscript{}\input texinfo @c -*- texinfo -*-
++\def\postscript\input texinfo @c -*- texinfo -*-
+ @c $Id$
+ @c DDD Manual
+ 
+@@ -154,7 +154,7 @@
+ @c The title page.
+ @ifnothtml
+ @titlepage
+-@sp -7
++@sp 7
+ @ifnottex
+ @title Debugging with @value{DDD}
+ @subtitle User's Guide and Reference Manual
+--- ddd/ddd-themes.texi.orig	2009-02-11 17:25:07 +0000
++++ ddd/ddd-themes.texi
+@@ -1,4 +1,4 @@
+-\def\postscript{}\input texinfo @c -*- texinfo -*-
++\def\postscript\input texinfo @c -*- texinfo -*-
+ @c $Id$
+ @c Writing DDD Themes
+ 
+@@ -136,7 +136,7 @@
+ @c The title page.
+ @ifnothtml
+ @titlepage
+-@sp -7
++@sp 7
+ @ifnottex
+ @title Writing @value{DDD} Themes
+ @subtitle User's Guide and Reference Manual

Added: head/devel/ddd/files/patch-ddd-strclass.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ddd/files/patch-ddd-strclass.h	Wed Aug  6 07:56:13 2014	(r364155)
@@ -0,0 +1,41 @@
+--- ddd/strclass.h.orig	2009-02-11 17:25:06 +0000
++++ ddd/strclass.h
+@@ -811,9 +811,9 @@
+ 		     const regex& sep);
+ 
+     friend string common_prefix(const string& x, const string& y, 
+-				int startpos = 0);
++				int startpos);
+     friend string common_suffix(const string& x, const string& y, 
+-				int startpos = -1);
++				int startpos);
+     friend string replicate(char c, int n);
+     friend string replicate(const string& y, int n);
+     friend string join(const string *src, int n, const string& sep);
+@@ -864,8 +864,8 @@
+     friend std::istream& operator>>(std::istream& s, string& x);
+ 
+     friend int readline(std::istream& s, string& x, 
+-			char terminator = '\n',
+-			int discard_terminator = 1);
++			char terminator,
++			int discard_terminator);
+ 
+     // Status
+     unsigned int length() const;
+@@ -892,6 +892,15 @@
+ typedef string strTmp; // for backward compatibility
+ #endif
+ 
++string common_prefix(const string& x, const string& y, 
++				int startpos = 0);
++string common_suffix(const string& x, const string& y, 
++				int startpos = -1);
++
++int readline(std::istream& s, string& x, 
++	char terminator = '\n',
++	int discard_terminator = 1);
++
+ // Other externs
+ 
+ int compare(const string& x,    const string& y);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e1df9e.5f22.2a678a3>