[153238] trunk/dports/gnome/gtk3
devans at macports.org
devans at macports.org
Tue Sep 27 11:40:04 PDT 2016
Revision: 153238
https://trac.macports.org/changeset/153238
Author: devans at macports.org
Date: 2016-09-27 11:40:03 -0700 (Tue, 27 Sep 2016)
Log Message:
-----------
gtk3: another 10.6 build fix, O_CLOEXEC not available.
Modified Paths:
--------------
trunk/dports/gnome/gtk3/Portfile
Added Paths:
-----------
trunk/dports/gnome/gtk3/files/O_CLOEXEC-10.6-and-earlier.patch
Modified: trunk/dports/gnome/gtk3/Portfile
===================================================================
--- trunk/dports/gnome/gtk3/Portfile 2016-09-27 17:25:36 UTC (rev 153237)
+++ trunk/dports/gnome/gtk3/Portfile 2016-09-27 18:40:03 UTC (rev 153238)
@@ -48,7 +48,8 @@
port:hicolor-icon-theme
patchfiles nawk.patch \
- bz765649-get-style-earlier.patch
+ bz765649-get-style-earlier.patch \
+ O_CLOEXEC-10.6-and-earlier.patch
# gtk3 +quartz uses instancetype which is not available
# before approximately Xcode 4.6 (#49391)
Added: trunk/dports/gnome/gtk3/files/O_CLOEXEC-10.6-and-earlier.patch
===================================================================
--- trunk/dports/gnome/gtk3/files/O_CLOEXEC-10.6-and-earlier.patch (rev 0)
+++ trunk/dports/gnome/gtk3/files/O_CLOEXEC-10.6-and-earlier.patch 2016-09-27 18:40:03 UTC (rev 153238)
@@ -0,0 +1,12 @@
+--- gtk/gtkprintoperation-portal.c.orig 2016-09-27 11:33:01.000000000 -0700
++++ gtk/gtkprintoperation-portal.c 2016-09-27 11:34:22.000000000 -0700
+@@ -38,6 +38,9 @@
+ #include "gtkintl.h"
+ #include "gtkwindowprivate.h"
+
++#ifndef O_CLOEXEC
++#define O_CLOEXEC 0
++#endif
+
+ typedef struct {
+ GtkPrintOperation *op;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160927/d4de0927/attachment.html>
More information about the macports-changes
mailing list