Created attachment 316408 [details] testcase
Created attachment 316409 [details] updated testcase
Since this started as a report that the check for bug 185240 fails in a strange way on ppc, here is a hack that fills the gap in sys/ioctl.ph # redefine broken _IOC_TYPECHECK macro sub _IOC_TYPECHECK { $sizeof{$_[0]} or do { # can't die because we're being eval-ed by _IOR or _IOW print STDERR "invalid size argument for IOC: \%sizeof contains no '$_[0]' ke exit 1; } } # define a sizeof hash %sizeof = ( int => 4, 'unsigned int' => 4, 'struct winsize' => 8, )
I forgot to give proper credit; the workaroud presented in comment #6 comes from a comment by Kevin Buhr: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=190887#15