aboutsummaryrefslogtreecommitdiffstats
path: root/irc/scrollz
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-07-13 20:53:08 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-07-13 20:53:08 +0800
commit3cef54c7411c24e7f25643f78ce1825339323e00 (patch)
tree83280b8d4f0bbc6a301c3e5f43e55a31b4ae0bfc /irc/scrollz
parent19b58018032a35f22a2e84dbf77d7549645ac4e1 (diff)
downloadfreebsd-ports-gnome-3cef54c7411c24e7f25643f78ce1825339323e00.tar.gz
freebsd-ports-gnome-3cef54c7411c24e7f25643f78ce1825339323e00.tar.zst
freebsd-ports-gnome-3cef54c7411c24e7f25643f78ce1825339323e00.zip
- Fix build with clang due to missing return value
Submitted by: M. de Vries <mdv@unsavoury.net> (maintainer via email) Obtained from: https://github.com/ScrollZ/ScrollZ/commit/125c00412258054e3e4501f2e7a4e32e3e372227
Diffstat (limited to 'irc/scrollz')
-rw-r--r--irc/scrollz/files/patch-source-screen.c22
1 files changed, 17 insertions, 5 deletions
diff --git a/irc/scrollz/files/patch-source-screen.c b/irc/scrollz/files/patch-source-screen.c
index d0687dc01040..9aa9c4d29ad1 100644
--- a/irc/scrollz/files/patch-source-screen.c
+++ b/irc/scrollz/files/patch-source-screen.c
@@ -1,6 +1,18 @@
---- source/screen.c.orig 2011-04-29 17:21:18.000000000 +0900
-+++ source/screen.c 2013-03-12 00:08:32.423090823 +0900
-@@ -2416,6 +2416,10 @@
+--- ./source/screen.c.orig 2011-04-29 03:21:18.000000000 -0500
++++ ./source/screen.c 2013-07-13 07:45:53.092133202 -0500
+@@ -2000,7 +2000,10 @@
+ {
+ puts(incoming);
+ fflush(stdout);
+- return;
++/**************************** PATCHED by Flier ******************************/
++ /*return;*/
++ return NULL;
++/****************************************************************************/
+ }
+ /* Handles output redirection first */
+ if (!in_redirect && current_screen->redirect_name &&
+@@ -2416,6 +2419,10 @@
{
screen_type = ST_SCREEN;
}
@@ -11,7 +23,7 @@
else if ((char *) 0 != (displayvar = getenv("DISPLAY")))
{
if ((char *) 0 == (termvar = getenv("TERM")))
-@@ -2454,6 +2458,7 @@
+@@ -2454,6 +2461,7 @@
say("Opening new %s...",
screen_type == ST_XTERM ? "window" :
screen_type == ST_SCREEN ? "screen" :
@@ -19,7 +31,7 @@
"wound" );
snprintf(sock.sun_path, sizeof sock.sun_path, "/tmp/irc_%08d_%x", (int) pid, mycycle);
sock.sun_family = AF_UNIX;
-@@ -2569,6 +2574,22 @@
+@@ -2569,6 +2577,22 @@
args[i] = NULL;
execvp(xterm, args);
}