[csw-devel] SF.net SVN: gar:[20156] csw/mgar/pkg/freerdp/trunk

wilbury at users.sourceforge.net wilbury at users.sourceforge.net
Thu Jan 17 11:17:37 CET 2013


Revision: 20156
          http://gar.svn.sourceforge.net/gar/?rev=20156&view=rev
Author:   wilbury
Date:     2013-01-17 10:17:37 +0000 (Thu, 17 Jan 2013)
Log Message:
-----------
freerdp/trunk: Add -pthread to CFLAGS

Modified Paths:
--------------
    csw/mgar/pkg/freerdp/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/freerdp/trunk/files/0001-Use-pthreads-to-avoid-connect-errors.patch

Modified: csw/mgar/pkg/freerdp/trunk/Makefile
===================================================================
--- csw/mgar/pkg/freerdp/trunk/Makefile	2013-01-17 09:51:25 UTC (rev 20155)
+++ csw/mgar/pkg/freerdp/trunk/Makefile	2013-01-17 10:17:37 UTC (rev 20156)
@@ -15,6 +15,8 @@
 MASTER_SITES = http://github.com/downloads/FreeRDP/FreeRDP/
 DISTFILES += $(NAME)-$(VERSION).tar.gz
 
+PATCHFILES += 0001-Use-pthreads-to-avoid-connect-errors.patch
+
 BUILD_DEP_PKGS += CSWffmpeg-dev
 BUILD_DEP_PKGS += CSWxmlto
 

Added: csw/mgar/pkg/freerdp/trunk/files/0001-Use-pthreads-to-avoid-connect-errors.patch
===================================================================
--- csw/mgar/pkg/freerdp/trunk/files/0001-Use-pthreads-to-avoid-connect-errors.patch	                        (rev 0)
+++ csw/mgar/pkg/freerdp/trunk/files/0001-Use-pthreads-to-avoid-connect-errors.patch	2013-01-17 10:17:37 UTC (rev 20156)
@@ -0,0 +1,24 @@
+From 01234b6733a961d22f8d6894d618b31d8bcd4e3d Mon Sep 17 00:00:00 2001
+From: Juraj Lutter <wilbury at opencsw.org>
+Date: Thu, 17 Jan 2013 11:16:19 +0100
+Subject: [PATCH] Use -pthreads to avoid connect errors.
+
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5399db7..df47354 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -56,6 +56,7 @@ endif()
+ # Compiler-specific flags
+ if(CMAKE_COMPILER_IS_GNUCC)
+ 	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
++	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
+ 	CHECK_C_COMPILER_FLAG (-Wno-unused-result Wno-unused-result)
+ 	if(Wno-unused-result)
+ 		set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-result")
+-- 
+1.8.0
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list