Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202177 - ia64 keyword request + pseudo-bugfix for app-misc/splitvt
Summary: ia64 keyword request + pseudo-bugfix for app-misc/splitvt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: IA64 Linux
: High enhancement (vote)
Assignee: IA-64 team
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks:
 
Reported: 2007-12-13 19:34 UTC by Ben
Modified: 2007-12-17 17:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben 2007-12-13 19:34:01 UTC
I got splitvt to work on ia64 with a patch.  As-is with just keyword override, it will segfault upon running.  With this patch:

diff -ur splitvt-1.6.5-6.orig/utmp.c splitvt-1.6.5-6/utmp.c
--- splitvt-1.6.5-6.orig/utmp.c 2007-12-13 12:10:12.000000000 -0700
+++ splitvt-1.6.5-6/utmp.c      2007-12-13 11:02:07.000000000 -0700
@@ -1,6 +1,7 @@

 /*  utmp.c    Shareware Copyright by Sam Lantinga      10/6/93 */

+#include       <unistd.h>
 #include       <sys/types.h>
 #include       <sys/stat.h>
 #include       <fcntl.h>

which I think (is safe and) should be applied to ALL architectures as part of the gcc4 fixes, but at minimal will allow ia64 to build and run this application.  This patch is to properly prototype the function ttyname() that's used in utmp.c .


Reproducible: Always

Steps to Reproduce:
1. emerge app-misc/splitvt on ia64
2. splitvt
3. 

Actual Results:  
It segfaults and dies.

Expected Results:  
Two windows should appear, top and bottom of screen, control-w to switch between them.

As far as I can tell, the patch should be benign to all architectures and should be considered for architectures not just ia64.
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2007-12-17 17:11:34 UTC
Fixed in 1.6.6.