Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2013 21:20:29 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r326548 - head/x11-toolkits/nucleo/files
Message-ID:  <201309062120.r86LKT7l094234@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Sep  6 21:20:28 2013
New Revision: 326548
URL: http://svnweb.freebsd.org/changeset/ports/326548

Log:
  Fix build with libc++

Added:
  head/x11-toolkits/nucleo/files/patch-nucleo__helpers__Phone.cxx   (contents, props changed)
  head/x11-toolkits/nucleo/files/patch-nucleo__image__encoding__PNGenc.cxx   (contents, props changed)
  head/x11-toolkits/nucleo/files/patch-nucleo__image__sink__bufferedImageSink.cxx   (contents, props changed)
  head/x11-toolkits/nucleo/files/patch-nucleo__image__sink__novImageSink.cxx   (contents, props changed)
  head/x11-toolkits/nucleo/files/patch-nucleo__image__sink__nserverImageSink.H   (contents, props changed)
  head/x11-toolkits/nucleo/files/patch-nucleo__image__sink__nudppImageSink.cxx   (contents, props changed)
  head/x11-toolkits/nucleo/files/patch-nucleo__network__NetworkUtils.cxx   (contents, props changed)
  head/x11-toolkits/nucleo/files/patch-nucleo__network__udp__UdpSocket.cxx   (contents, props changed)
  head/x11-toolkits/nucleo/files/patch-nucleo__utils__AppUtils.cxx   (contents, props changed)
  head/x11-toolkits/nucleo/files/patch-tests__test-Base64.cxx   (contents, props changed)
  head/x11-toolkits/nucleo/files/patch-tests__test-MD5.cxx   (contents, props changed)

Added: head/x11-toolkits/nucleo/files/patch-nucleo__helpers__Phone.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/nucleo/files/patch-nucleo__helpers__Phone.cxx	Fri Sep  6 21:20:28 2013	(r326548)
@@ -0,0 +1,10 @@
+--- ./nucleo/helpers/Phone.cxx.orig	2009-06-11 10:48:06.000000000 +0200
++++ ./nucleo/helpers/Phone.cxx	2013-09-06 23:16:41.291467318 +0200
+@@ -18,6 +18,7 @@
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+ #include <errno.h>
++#include <unistd.h>
+ 
+ #include <iostream>
+ #include <sstream>

Added: head/x11-toolkits/nucleo/files/patch-nucleo__image__encoding__PNGenc.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/nucleo/files/patch-nucleo__image__encoding__PNGenc.cxx	Fri Sep  6 21:20:28 2013	(r326548)
@@ -0,0 +1,19 @@
+--- ./nucleo/image/encoding/PNGenc.cxx.orig	2008-06-05 14:52:33.000000000 +0200
++++ ./nucleo/image/encoding/PNGenc.cxx	2013-09-06 23:12:11.842483995 +0200
+@@ -16,6 +16,7 @@
+ #include <nucleo/image/encoding/PNGenc.H>
+ 
+ #include <png.h>
++#include <pngpriv.h>
+ 
+ namespace nucleo {
+ 
+@@ -170,7 +171,7 @@
+ 			  &compression_type, &filter_type) ;
+ 
+     if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
+-	 png_set_gray_1_2_4_to_8(png_ptr);
++	 png_set_expand_gray_1_2_4_to_8(png_ptr);
+ 
+     if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS))
+ 	 png_set_tRNS_to_alpha(png_ptr);

Added: head/x11-toolkits/nucleo/files/patch-nucleo__image__sink__bufferedImageSink.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/nucleo/files/patch-nucleo__image__sink__bufferedImageSink.cxx	Fri Sep  6 21:20:28 2013	(r326548)
@@ -0,0 +1,10 @@
+--- ./nucleo/image/sink/bufferedImageSink.cxx.orig	2008-06-05 14:52:33.000000000 +0200
++++ ./nucleo/image/sink/bufferedImageSink.cxx	2013-09-06 23:16:07.949467532 +0200
+@@ -10,6 +10,7 @@
+  */
+ 
+ #include <nucleo/image/sink/bufferedImageSink.H>
++#include <unistd.h>
+ 
+ #define DEBUG_LEVEL 1
+ 

Added: head/x11-toolkits/nucleo/files/patch-nucleo__image__sink__novImageSink.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/nucleo/files/patch-nucleo__image__sink__novImageSink.cxx	Fri Sep  6 21:20:28 2013	(r326548)
@@ -0,0 +1,10 @@
+--- ./nucleo/image/sink/novImageSink.cxx.orig	2008-06-05 14:52:33.000000000 +0200
++++ ./nucleo/image/sink/novImageSink.cxx	2013-09-06 23:15:36.719237812 +0200
+@@ -18,6 +18,7 @@
+ #include <nucleo/image/encoding/Conversion.H>
+ 
+ #include <sys/uio.h>
++#include <unistd.h>
+ 
+ #include <stdexcept>
+ 

Added: head/x11-toolkits/nucleo/files/patch-nucleo__image__sink__nserverImageSink.H
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/nucleo/files/patch-nucleo__image__sink__nserverImageSink.H	Fri Sep  6 21:20:28 2013	(r326548)
@@ -0,0 +1,10 @@
+--- ./nucleo/image/sink/nserverImageSink.H.orig	2008-06-05 14:52:33.000000000 +0200
++++ ./nucleo/image/sink/nserverImageSink.H	2013-09-06 23:18:00.405460374 +0200
+@@ -24,6 +24,7 @@
+ #include <stdexcept>
+ 
+ #include <sys/socket.h>
++#include <unistd.h>
+ 
+ namespace nucleo {
+ 

Added: head/x11-toolkits/nucleo/files/patch-nucleo__image__sink__nudppImageSink.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/nucleo/files/patch-nucleo__image__sink__nudppImageSink.cxx	Fri Sep  6 21:20:28 2013	(r326548)
@@ -0,0 +1,12 @@
+--- ./nucleo/image/sink/nudppImageSink.cxx.orig	2008-07-21 13:47:54.000000000 +0200
++++ ./nucleo/image/sink/nudppImageSink.cxx	2013-09-06 23:12:11.854095550 +0200
+@@ -18,6 +18,9 @@
+ #include <unistd.h>
+ #include <sys/socket.h>
+ #include <sys/uio.h>
++#if defined(__FreeBSD__) && __FreeBSD_version < 701104
++#  include <netinet/in_systm.h>
++#endif
+ #include <netinet/ip.h>
+ 
+ #include <stdexcept>

Added: head/x11-toolkits/nucleo/files/patch-nucleo__network__NetworkUtils.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/nucleo/files/patch-nucleo__network__NetworkUtils.cxx	Fri Sep  6 21:20:28 2013	(r326548)
@@ -0,0 +1,10 @@
+--- ./nucleo/network/NetworkUtils.cxx.orig	2008-06-05 14:52:33.000000000 +0200
++++ ./nucleo/network/NetworkUtils.cxx	2013-09-06 23:14:48.950072240 +0200
+@@ -15,6 +15,7 @@
+ 
+ #include <arpa/inet.h>
+ #include <netdb.h>
++#include <unistd.h>
+ 
+ #include <iostream>
+ #include <string>

Added: head/x11-toolkits/nucleo/files/patch-nucleo__network__udp__UdpSocket.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/nucleo/files/patch-nucleo__network__udp__UdpSocket.cxx	Fri Sep  6 21:20:28 2013	(r326548)
@@ -0,0 +1,10 @@
+--- ./nucleo/network/udp/UdpSocket.cxx.orig	2009-06-11 10:48:06.000000000 +0200
++++ ./nucleo/network/udp/UdpSocket.cxx	2013-09-06 23:14:02.591758270 +0200
+@@ -16,6 +16,7 @@
+ #include <sys/socket.h>
+ #include <netdb.h>
+ #include <sys/errno.h>
++#include <unistd.h>
+ 
+ #include <stdexcept>
+ #include <iostream>

Added: head/x11-toolkits/nucleo/files/patch-nucleo__utils__AppUtils.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/nucleo/files/patch-nucleo__utils__AppUtils.cxx	Fri Sep  6 21:20:28 2013	(r326548)
@@ -0,0 +1,10 @@
+--- ./nucleo/utils/AppUtils.cxx.orig	2008-06-09 14:09:05.000000000 +0200
++++ ./nucleo/utils/AppUtils.cxx	2013-09-06 23:13:03.857491952 +0200
+@@ -20,6 +20,7 @@
+ #include <stdexcept>
+ #include <cstdlib>
+ #include <cstring>
++#include <unistd.h>
+ 
+ extern char* optarg ;
+ extern int optind ;

Added: head/x11-toolkits/nucleo/files/patch-tests__test-Base64.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/nucleo/files/patch-tests__test-Base64.cxx	Fri Sep  6 21:20:28 2013	(r326548)
@@ -0,0 +1,10 @@
+--- ./tests/test-Base64.cxx.orig	2008-06-09 15:21:20.000000000 +0200
++++ ./tests/test-Base64.cxx	2013-09-06 23:18:36.765608410 +0200
+@@ -11,6 +11,7 @@
+ 
+ #include <nucleo/utils/AppUtils.H>
+ #include <nucleo/utils/Base64.H>
++#include <unistd.h>
+ 
+ #include <iostream>
+ #include <cstdlib>

Added: head/x11-toolkits/nucleo/files/patch-tests__test-MD5.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/nucleo/files/patch-tests__test-MD5.cxx	Fri Sep  6 21:20:28 2013	(r326548)
@@ -0,0 +1,10 @@
+--- ./tests/test-MD5.cxx.orig	2008-06-05 14:52:33.000000000 +0200
++++ ./tests/test-MD5.cxx	2013-09-06 23:19:05.863746755 +0200
+@@ -10,6 +10,7 @@
+  */
+ 
+ #include <nucleo/utils/MD5.H>
++#include <unistd.h>
+ 
+ #include <iostream>
+ 



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