File xjdic-powerpc.patch of Package xjdic
--- xjdic/xjdfrontend.c.~1~ Fri Sep 7 00:40:51 2001
+++ xjdic/xjdfrontend.c Fri Sep 7 00:42:48 2001
@@ -265,14 +265,20 @@
void cbreakoff()
{
+#if !defined(__powerpc__)
ioctlorig();
- /*system("stty -cbreak echo");*/
+#else
+ system("stty -cbreak echo");
+#endif
}
void cbreakon()
{
+#if !defined(__powerpc__)
ioctlraw();
- /*system("stty cbreak -echo");*/
+#else
+ system("stty cbreak -echo");
+#endif
}
int getcharxx()