[145276] users/devans/GNOME-3/stable/dports/gnome/vte
devans at macports.org
devans at macports.org
Sat Jan 30 13:42:21 PST 2016
Revision: 145276
https://trac.macports.org/changeset/145276
Author: devans at macports.org
Date: 2016-01-30 13:42:21 -0800 (Sat, 30 Jan 2016)
Log Message:
-----------
GNOME-3/stable: vte, workaround build failures by restricting version to 0.43.0 on platforms using libstdc++, increment revision on these platforms due to included fix for +glade configuration (#50492).
Modified Paths:
--------------
users/devans/GNOME-3/stable/dports/gnome/vte/Portfile
Added Paths:
-----------
users/devans/GNOME-3/stable/dports/gnome/vte/files/patch-src-Makefile.am-0.43.0.diff
users/devans/GNOME-3/stable/dports/gnome/vte/files/patch-src-pty.cc-0.43.0.diff
users/devans/GNOME-3/stable/dports/gnome/vte/files/patch-src-vteutils.cc-0.43.0.diff
Modified: users/devans/GNOME-3/stable/dports/gnome/vte/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/vte/Portfile 2016-01-30 18:54:44 UTC (rev 145275)
+++ users/devans/GNOME-3/stable/dports/gnome/vte/Portfile 2016-01-30 21:42:21 UTC (rev 145276)
@@ -80,4 +80,18 @@
}
}
-livecheck.type gnome-with-unstable
+platform darwin {
+ if {${configure.cxx_stdlib} eq "libstdc++"} {
+ # vte 0.43.1+ build fails on platforms supporting libstdc++ (#50492)
+ version 0.43.0
+ revision 1
+ checksums rmd160 d9a1eb6d6d5cbb39e04f625d22e43315500750b8 \
+ sha256 2f10ae4148633e9ee458639f72cf2929703d413b95eee416fd6f03db8c4d4ab9
+ patchfiles patch-src-Makefile.am-0.43.0.diff \
+ patch-src-pty.cc-0.43.0.diff \
+ patch-src-vteutils.cc-0.43.0.diff
+ livecheck.type none
+ } else {
+ livecheck.type gnome-with-unstable
+ }
+}
Added: users/devans/GNOME-3/stable/dports/gnome/vte/files/patch-src-Makefile.am-0.43.0.diff
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/vte/files/patch-src-Makefile.am-0.43.0.diff (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/vte/files/patch-src-Makefile.am-0.43.0.diff 2016-01-30 21:42:21 UTC (rev 145276)
@@ -0,0 +1,11 @@
+--- src/Makefile.am.orig 2014-11-24 13:16:30.000000000 -0800
++++ src/Makefile.am 2014-11-28 13:26:58.000000000 -0800
+@@ -293,8 +293,6 @@
+ $(NULL)
+
+ vte_ at VTE_API_MAJOR_VERSION@_ at VTE_API_MINOR_VERSION@_CFLAGS = \
+- -Wno-unused-variable \
+- -Wno-unused-but-set-variable \
+ $(VTE_CFLAGS) \
+ $(AM_CFLAGS) \
+ $(NULL)
Added: users/devans/GNOME-3/stable/dports/gnome/vte/files/patch-src-pty.cc-0.43.0.diff
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/vte/files/patch-src-pty.cc-0.43.0.diff (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/vte/files/patch-src-pty.cc-0.43.0.diff 2016-01-30 21:42:21 UTC (rev 145276)
@@ -0,0 +1,11 @@
+--- src/pty.cc.orig 2015-10-29 12:42:57.000000000 -0700
++++ src/pty.cc 2015-10-29 12:43:47.000000000 -0700
+@@ -748,7 +748,7 @@
+ /* Set it to blocking. */
+ /* FIXMEchpe: why?? vte_terminal_set_pty does the inverse... */
+ flags = rv & ~(O_NONBLOCK);
+- rv = fcntl(fd, F_SETFL, flags);
++// rv = fcntl(fd, F_SETFL, flags);
+ if (rv < 0) {
+ int errsv = errno;
+ g_set_error(error, VTE_PTY_ERROR,
Added: users/devans/GNOME-3/stable/dports/gnome/vte/files/patch-src-vteutils.cc-0.43.0.diff
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/vte/files/patch-src-vteutils.cc-0.43.0.diff (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/vte/files/patch-src-vteutils.cc-0.43.0.diff 2016-01-30 21:42:21 UTC (rev 145276)
@@ -0,0 +1,13 @@
+--- src/vteutils.cc.orig 2016-01-30 13:06:38.000000000 -0800
++++ src/vteutils.cc 2016-01-30 13:12:54.000000000 -0800
+@@ -45,6 +45,10 @@
+
+ #endif /* __linux__ */
+
++#ifndef O_CLOEXEC
++#define O_CLOEXEC 0
++#endif
++
+ int
+ _vte_mkstemp (void)
+ {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160130/7e8b3c39/attachment.html>
More information about the macports-changes
mailing list