Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=be7b6393e917c1ae661d37b9f0d5173198e19638
commit be7b6393e917c1ae661d37b9f0d5173198e19638 Author: Elentir <[email protected]> Date: Sun May 6 11:33:11 2012 +0200 libclaw-1.7.0-2-x86_64 * add libclaw-1.7.0-gcc47.patch * rebuild with to fix wrong headers diff --git a/source/xlib-extra/libclaw/FrugalBuild b/source/xlib-extra/libclaw/FrugalBuild index 8dc590c..c586f1e 100644 --- a/source/xlib-extra/libclaw/FrugalBuild +++ b/source/xlib-extra/libclaw/FrugalBuild @@ -3,13 +3,15 @@ pkgname=libclaw pkgver=1.7.0 -pkgrel=1 +pkgrel=2 pkgdesc="C++ Library Absolutely Wonderful" depends=('libstdc++' 'libjpeg>=8a' 'libpng>=1.4.1') makedepends=('boost') groups=('xlib-extra') Finclude sourceforge cmake +source=(${source[@]} libclaw-1.7.0-gcc47.patch) archs=('i686' 'x86_64') -sha1sums=('abbfeb6bd75d3c1c77621b745264ff09ce83acee') +sha1sums=('abbfeb6bd75d3c1c77621b745264ff09ce83acee' \ + '076f4ba57469ba114b42e70207fbd9655ebb52bf') # optimization OK diff --git a/source/xlib-extra/libclaw/libclaw-1.7.0-gcc47.patch b/source/xlib-extra/libclaw/libclaw-1.7.0-gcc47.patch new file mode 100644 index 0000000..157e8b5 --- /dev/null +++ b/source/xlib-extra/libclaw/libclaw-1.7.0-gcc47.patch @@ -0,0 +1,81 @@ +diff -Naur libclaw-1.7.0/claw/graph.hpp libclaw-1.7.0new/claw/graph.hpp +--- libclaw-1.7.0/claw/graph.hpp 2011-06-12 12:01:53.000000000 +0200 ++++ libclaw-1.7.0new/claw/graph.hpp 2012-05-06 11:18:27.701908599 +0200 +@@ -39,6 +39,8 @@ + #include <iterator> + #include <utility> + ++#include <cstddef> ++ + namespace claw + { + +diff -Naur libclaw-1.7.0/claw/impl/basic_socketbuf.tpp libclaw-1.7.0new/claw/impl/basic_socketbuf.tpp +--- libclaw-1.7.0/claw/impl/basic_socketbuf.tpp 2011-06-12 12:01:53.000000000 +0200 ++++ libclaw-1.7.0new/claw/impl/basic_socketbuf.tpp 2012-05-06 11:19:47.730079768 +0200 +@@ -178,7 +178,7 @@ + length, 0 ); + + if ( write_count >= 0 ) +- setp( m_output_buffer, m_output_buffer + m_output_buffer_size ); ++ this->setp( m_output_buffer, m_output_buffer + m_output_buffer_size ); + else + result = -1; + +@@ -214,11 +214,11 @@ + + if ( read_count > 0 ) + { +- setg( m_input_buffer, m_input_buffer, m_input_buffer + read_count); ++ this->setg( m_input_buffer, m_input_buffer, m_input_buffer + read_count); + result = this->sgetc(); + } + else +- setg( m_input_buffer, m_input_buffer + m_input_buffer_size, ++ this->setg( m_input_buffer, m_input_buffer + m_input_buffer_size, + m_input_buffer + m_input_buffer_size ); + + return result; +@@ -243,7 +243,7 @@ + result = traits_type::not_eof(c); + + if ( !traits_type::eq_int_type(c, traits_type::eof()) ) +- sputc(c); ++ this->sputc(c); + } + + return result; +diff -Naur libclaw-1.7.0/claw/impl/binary_node.tpp libclaw-1.7.0new/claw/impl/binary_node.tpp +--- libclaw-1.7.0/claw/impl/binary_node.tpp 2011-06-12 12:01:53.000000000 +0200 ++++ libclaw-1.7.0new/claw/impl/binary_node.tpp 2012-05-06 11:20:06.311441363 +0200 +@@ -22,6 +22,9 @@ + + contact: [email protected] + */ ++ ++#include <cstddef> ++ + /** + * \file binary_node.tpp + * \brief The binary_node class implementation. +diff -Naur libclaw-1.7.0/claw/impl/socket_stream.tpp libclaw-1.7.0new/claw/impl/socket_stream.tpp +--- libclaw-1.7.0/claw/impl/socket_stream.tpp 2011-06-12 12:01:53.000000000 +0200 ++++ libclaw-1.7.0new/claw/impl/socket_stream.tpp 2012-05-06 11:20:33.015835356 +0200 +@@ -39,7 +39,7 @@ + ( int read_delay ) + : m_buffer(read_delay) + { +- init(&m_buffer); ++ this->init(&m_buffer); + } // basic_socket_stream::basic_socket_stream() + + /*----------------------------------------------------------------------------*/ +@@ -55,7 +55,7 @@ + ( const char* address, int port, int read_delay ) + : m_buffer(read_delay) + { +- init(&m_buffer); ++ this->init(&m_buffer); + open(address, port); + } // basic_socket_stream::basic_socket_stream() + \ No newline at end of file _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
