Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2014 07:28:58 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368250 - head/textproc/zorba/files
Message-ID:  <201409150728.s8F7SwAC022494@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Mon Sep 15 07:28:58 2014
New Revision: 368250
URL: http://svnweb.freebsd.org/changeset/ports/368250
QAT: https://qat.redports.org/buildarchive/r368250/

Log:
  - Fix build on 9.x and above. 8.x needs some more investigation.

Added:
  head/textproc/zorba/files/patch-bin_zorbacmd.cpp   (contents, props changed)
Modified:
  head/textproc/zorba/files/patch-bin-debugger_main.cpp
  head/textproc/zorba/files/patch-src-util_string_util.cpp

Modified: head/textproc/zorba/files/patch-bin-debugger_main.cpp
==============================================================================
--- head/textproc/zorba/files/patch-bin-debugger_main.cpp	Mon Sep 15 07:28:46 2014	(r368249)
+++ head/textproc/zorba/files/patch-bin-debugger_main.cpp	Mon Sep 15 07:28:58 2014	(r368250)
@@ -1,10 +1,11 @@
---- bin/debugger/main.cpp.orig	2012-06-21 11:19:43.000000000 +0200
-+++ bin/debugger/main.cpp	2012-06-21 11:19:27.000000000 +0200
-@@ -22,6 +22,8 @@
+--- bin/debugger/main.cpp.orig	2012-10-04 00:35:17.000000000 +0200
++++ bin/debugger/main.cpp	2014-09-11 15:46:51.000000000 +0200
+@@ -22,6 +22,9 @@
  #include <unistd.h>
  #endif
  
 +#include <signal.h>
++#include <stdlib.h>
 +
  #include <vector>
  

Added: head/textproc/zorba/files/patch-bin_zorbacmd.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/zorba/files/patch-bin_zorbacmd.cpp	Mon Sep 15 07:28:58 2014	(r368250)
@@ -0,0 +1,11 @@
+--- bin/zorbacmd.cpp.orig	2014-09-12 09:26:04.000000000 +0200
++++ bin/zorbacmd.cpp	2014-09-12 09:26:23.000000000 +0200
+@@ -16,6 +16,8 @@
+ 
+ #include "zorbacmdproperties.h"
+ 
++#include <stdlib.h>
++
+ #include <memory>
+ #include <iostream>
+ #include <fstream>

Modified: head/textproc/zorba/files/patch-src-util_string_util.cpp
==============================================================================
--- head/textproc/zorba/files/patch-src-util_string_util.cpp	Mon Sep 15 07:28:46 2014	(r368249)
+++ head/textproc/zorba/files/patch-src-util_string_util.cpp	Mon Sep 15 07:28:58 2014	(r368250)
@@ -1,6 +1,16 @@
---- src/util/string_util.cpp.orig	2012-06-13 06:56:48.000000000 +0200
-+++ src/util/string_util.cpp	2012-06-21 09:49:48.000000000 +0200
-@@ -92,7 +92,11 @@
+--- src/util/string_util.cpp.orig	2012-10-04 00:35:16.000000000 +0200
++++ src/util/string_util.cpp	2014-09-12 11:43:08.000000000 +0200
+@@ -18,6 +18,9 @@
+ #include <cerrno>
+ #include <cstdlib>
+ 
++#include <stdlib.h>
++#include <limits.h>
++
+ #include "ascii_util.h"
+ #include "cxx_util.h"
+ #include "string_util.h"
+@@ -92,7 +95,11 @@
  float atof( char const *s ) {
    char *end;
    errno = 0;
@@ -12,7 +22,7 @@
    check_parse_number( s, end, &result );
    return result;
  }
-@@ -100,7 +104,11 @@
+@@ -100,7 +107,11 @@
  long long atoll( char const *s ) {
    char *end;
    errno = 0;
@@ -24,7 +34,7 @@
    check_parse_number( s, end, static_cast<long long*>( nullptr ) );
    return result;
  }
-@@ -114,7 +122,11 @@
+@@ -114,7 +125,11 @@
  
    char *end;
    errno = 0;



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