File xterm-sigwinch.patch of Package xterm

diff --git a/screen.c b/screen.c
--- a/screen.c
+++ b/screen.c
@@ -2230,17 +2230,17 @@ ScreenResize(XtermWidget xw,
 	XConfigureWindow(XtDisplay(xw), screen->iconVwin.window,
 			 CWWidth | CWHeight | CWBorderWidth, &changes);
     }
 #endif /* NO_ACTIVE_ICON */
 
 #ifdef TTYSIZE_STRUCT
     update_winsize(screen->respond, rows, cols, height, width);
 
-#if defined(SIGWINCH) && defined(TIOCGPGRP)
+#if defined(SIGWINCH) && (defined(TIOCGPGRP) || defined(linux))
     if (screen->pid > 1) {
 	int pgrp;
 
 	TRACE(("getting process-group\n"));
 	if (ioctl(screen->respond, TIOCGPGRP, &pgrp) != -1) {
 	    TRACE(("sending SIGWINCH to process group %d\n", pgrp));
 	    kill_process_group(pgrp, SIGWINCH);
 	}
openSUSE Build Service is sponsored by