aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-09 13:16:49 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-09 13:16:49 +0000
commit9d79e7b1469f6887d302e13ce7c67c54408a2453 (patch)
tree263754af5ddd95f1ad55b06c101378a0cf71009b /x11
parenta0e384abe8236d5d12c69354d90c0de5342f7efb (diff)
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-terminal/Makefile8
-rw-r--r--x11/gnome-terminal/files/extra-src_terminal-screen.c24
2 files changed, 0 insertions, 32 deletions
diff --git a/x11/gnome-terminal/Makefile b/x11/gnome-terminal/Makefile
index 78001eeb2410..773000b9f94d 100644
--- a/x11/gnome-terminal/Makefile
+++ b/x11/gnome-terminal/Makefile
@@ -43,17 +43,9 @@ MIGRATION_CONFIGURE_ENABLE= migration
MIGRATION_USE= GNOME=gconf2
MIGRATION_DESC= Profile migration to gsettings (pulls in gconf2)
-.include <bsd.port.options.mk>
-
post-patch:
@${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in \
${WRKSRC}/configure ${WRKSRC}/config.h.in
-.if ${OSVERSION} < 1000000
- @${REINPLACE_CMD} -e 's|-Wno-suggest-attribute=format||g ; \
- s|-Wno-unused-but-set-variable||g' \
- ${WRKSRC}/src/Makefile.in
-EXTRA_PATCHES+= ${FILESDIR}/extra-src_terminal-screen.c
-.endif
post-install:
.for i in ca cs de el es fi fr gl hu pt_BR ru
diff --git a/x11/gnome-terminal/files/extra-src_terminal-screen.c b/x11/gnome-terminal/files/extra-src_terminal-screen.c
deleted file mode 100644
index 3ea47ebc9a1d..000000000000
--- a/x11/gnome-terminal/files/extra-src_terminal-screen.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- src/terminal-screen.c.orig 2014-09-23 20:15:23.000000000 +0200
-+++ src/terminal-screen.c 2014-11-09 20:19:35.759291981 +0100
-@@ -1192,7 +1192,21 @@
- for (j = 0; j < n_fds; j++) {
- if (fds[j] == target_fd) {
- do {
-+#if defined(F_DUPFD_CLOEXEC)
- fd = fcntl (fds[j], F_DUPFD_CLOEXEC, 3);
-+#else
-+ fd = fcntl (fds[j], F_DUPFD, 3);
-+ int flags = fcntl (fd, F_GETFD);
-+ if (flags == -1)
-+ {
-+ //errror
-+ }
-+ flags |= FD_CLOEXEC;
-+ if (fcntl (fd, F_SETFD, FD_CLOEXEC) == -1)
-+ {
-+ //error
-+ }
-+#endif
- } while (fd == -1 && errno == EINTR);
- if (fd == -1)
- _exit (127);