[117538] trunk/dports/net/FreeRDP
jeremyhu at macports.org
jeremyhu at macports.org
Mon Mar 3 00:00:20 PST 2014
Revision: 117538
https://trac.macports.org/changeset/117538
Author: jeremyhu at macports.org
Date: 2014-03-03 00:00:20 -0800 (Mon, 03 Mar 2014)
Log Message:
-----------
FreeRDP: Make some progress on Snow Leopard build failures
Modified Paths:
--------------
trunk/dports/net/FreeRDP/Portfile
trunk/dports/net/FreeRDP/files/patch-client_mac_mrdview.diff
Modified: trunk/dports/net/FreeRDP/Portfile
===================================================================
--- trunk/dports/net/FreeRDP/Portfile 2014-03-03 07:57:11 UTC (rev 117537)
+++ trunk/dports/net/FreeRDP/Portfile 2014-03-03 08:00:20 UTC (rev 117538)
@@ -44,3 +44,11 @@
patch-ffmpeg-2.0.diff \
patch-winpr-include-winpr-platform.h.diff \
patch-freerdp.pc.in.diff
+
+post-patch {
+ if {[string match "*gcc*" ${configure.compiler}]} {
+ reinplace "s:-fobjc-nonfragile-abi::" \
+ ${worksrcpath}/client/Mac/cli/CMakeLists.txt \
+ ${worksrcpath}/client/Mac/CMakeLists.txt
+ }
+}
Modified: trunk/dports/net/FreeRDP/files/patch-client_mac_mrdview.diff
===================================================================
--- trunk/dports/net/FreeRDP/files/patch-client_mac_mrdview.diff 2014-03-03 07:57:11 UTC (rev 117537)
+++ trunk/dports/net/FreeRDP/files/patch-client_mac_mrdview.diff 2014-03-03 08:00:20 UTC (rev 117538)
@@ -1,12 +1,12 @@
---- client/Mac/MRDPView.m.orig 2013-08-06 13:59:24.000000000 +0200
-+++ client/Mac/MRDPView.m 2013-08-06 14:08:26.000000000 +0200
-@@ -101,6 +101,9 @@
- void cliprdr_send_supported_format_list(freerdp* instance);
- int register_channel_fds(int* fds, int count, freerdp* instance);
+--- client/Mac/MRDPView.m.orig 2014-03-02 23:33:18.000000000 -0800
++++ client/Mac/MRDPView.m 2014-03-02 23:37:14.000000000 -0800
+@@ -68,6 +68,9 @@
+ Forward declarations
+ ******************************************/
++int mac_receive_channel_data(freerdp* instance, int chan_id, BYTE* data, int size, int flags, int total_size);
+void windows_to_apple_cords(MRDPView* view, NSRect* r);
+int register_channels_fds(freerdp* instance);
-+
- struct cursor
- {
- rdpPointer* pointer;
+
+ void mf_Pointer_New(rdpContext* context, rdpPointer* pointer);
+ void mf_Pointer_Free(rdpContext* context, rdpPointer* pointer);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140303/da2baeef/attachment-0001.html>
More information about the macports-changes
mailing list