Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=imgrebuild.git;a=commitdiff;h=af56272cfc60cebb6fabf81eb81c44017573adf7

commit af56272cfc60cebb6fabf81eb81c44017573adf7
Author: James Buren <r...@frugalware.org>
Date:   Sat May 15 00:52:49 2010 -0500

libclaw-1.5.4-2-i686
* patch for gcc

diff --git a/source/xlib-extra/libclaw/FrugalBuild 
b/source/xlib-extra/libclaw/FrugalBuild
index 499cd66..9f49fb1 100644
--- a/source/xlib-extra/libclaw/FrugalBuild
+++ b/source/xlib-extra/libclaw/FrugalBuild
@@ -8,7 +8,9 @@ pkgdesc="C++ Library Absolutely Wonderful"
depends=('libstdc++' 'libjpeg>=8a' 'libpng>=1.4.1')
groups=('xlib-extra')
Finclude sourceforge cmake
+source=(${sour...@]} $pkgname-$pkgver-gcc-4.5.patch)
archs=('i686' 'x86_64')
-sha1sums=('79fcd958f143232ae4ddd0fd8deeeb4c6d13ebbf')
+sha1sums=('79fcd958f143232ae4ddd0fd8deeeb4c6d13ebbf' \
+          '7ce188e8800ba275a82d9255122ddf52b4f30eb9')

# optimization OK
diff --git a/source/xlib-extra/libclaw/libclaw-1.5.4-gcc-4.5.patch 
b/source/xlib-extra/libclaw/libclaw-1.5.4-gcc-4.5.patch
new file mode 100644
index 0000000..9e99128
--- /dev/null
+++ b/source/xlib-extra/libclaw/libclaw-1.5.4-gcc-4.5.patch
@@ -0,0 +1,54 @@
+diff -aur libclaw-1.5.4/claw/code/basic_socket.cpp 
libclaw-1.5.4-2/claw/code/basic_socket.cpp
+--- libclaw-1.5.4/claw/code/basic_socket.cpp   2008-01-07 10:38:58.000000000 
-0600
++++ libclaw-1.5.4-2/claw/code/basic_socket.cpp 2010-05-15 00:45:20.000000000 
-0500
+@@ -45,7 +45,7 @@
+  * \brief Open the socket.
+  * \return this is everything works fine, NULL otherwise.
+  */
+-claw::net::basic_socket::basic_socket* claw::net::basic_socket::open()
++claw::net::basic_socket* claw::net::basic_socket::open()
+ {
+   basic_socket* result = NULL;
+
+@@ -62,7 +62,7 @@
+  * \brief Close the socket.
+  * \return this if everything works fine, NULL otherwise.
+  */
+-claw::net::basic_socket::basic_socket* claw::net::basic_socket::close()
++claw::net::basic_socket* claw::net::basic_socket::close()
+ {
+   basic_socket* result = this;
+
+diff -aur libclaw-1.5.4/claw/code/socket_server.cpp 
libclaw-1.5.4-2/claw/code/socket_server.cpp
+--- libclaw-1.5.4/claw/code/socket_server.cpp  2008-01-07 10:38:58.000000000 
-0600
++++ libclaw-1.5.4-2/claw/code/socket_server.cpp        2010-05-15 
00:48:49.000000000 -0500
+@@ -58,7 +58,7 @@
+  * \param queue_size The size of the waiting queue for incoming connections.
+  * \return this if everything works fine, NULL otherwise.
+  */
+-claw::net::socket_server::socket_server*
++claw::net::socket_server*
+ claw::net::socket_server::open( int port, unsigned int queue_size )
+ {
+   socket_server* result = NULL;
+@@ -78,7 +78,7 @@
+ /**
+  * \brief Close the socket.
+  */
+-claw::net::socket_server::socket_server* claw::net::socket_server::close()
++claw::net::socket_server* claw::net::socket_server::close()
+ {
+   if ( basic_socket::close() )
+     return this;
+diff -aur libclaw-1.5.4/claw/impl/logger.tpp 
libclaw-1.5.4-2/claw/impl/logger.tpp
+--- libclaw-1.5.4/claw/impl/logger.tpp 2008-01-07 10:38:58.000000000 -0600
++++ libclaw-1.5.4-2/claw/impl/logger.tpp       2010-05-15 00:38:44.000000000 
-0500
+@@ -36,7 +36,7 @@
+  * \remark T must support operator<<(std::ostream&, const T&);
+  */
+ template<class T>
+-claw::log_system::log_system& claw::log_system::operator<<( const T& t )
++claw::log_system& claw::log_system::operator<<( const T& t )
+ {
+   if (m_message_level <= m_log_level)
+     {
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to