[MPlayer-users] arrows keys do not work under Solaris
Kostas Peoulodis
asyropoulos123 at hotmail.com
Tue Dec 16 14:35:17 CET 2008
Hello,
I have just compiled MPlayer from svn sources and while everything
works as expected, when I press the arrow keys it stalls. However,
when I use a much older version (dev-SVN-r26107-3.4.6) I can
use the arrow keys just fine. Can someone advice me what to look
for in order to solve this problem. Also, could you please consider
including the following Solaris-specfic patches:
1)
--- mplayer.old/loader/ldt_keeper.c 2008-12-16 14:28:52.635783108 +0200
+++ mplayer/loader/ldt_keeper.c 2008-12-07 19:32:33.000000000 +0200
@@ -68,7 +68,6 @@
#endif
#ifdef __svr4__
-#include <sys/segments.h>
#include <sys/segment.h>
#include <sys/sysi86.h>
@@ -84,7 +83,7 @@
#endif
#ifndef NUMSYSLDTS /* SunOS 2.5.1 does not define NUMSYSLDTS */
-#define NUMSYSLDTS LDT_UDBASE+1
+#define NUMSYSLDTS 6 /* Let's hope the SunOS 5.8 value is OK */
#endif
#define TEB_SEL_IDX NUMSYSLDTS
2)
--- mplayer.old/configure 2008-12-16 14:18:25.667247272 +0200
+++ mplayer/configure 2008-12-16 14:14:30.000000000 +0200
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
#
# Original version (C) 2000 Pontscho/fresh!mindworkz
# pontscho at makacs.poliod.hu
@@ -8170,11 +8170,6 @@
#ifndef MPLAYER_CONFIG_H
#define MPLAYER_CONFIG_H
-/* Solaris specific definitions */
-#define u_int64_t uint64_t
-#define u_int32_t uint32_t
-#define u_int16_t uint16_t
-#define u_int8_t uint8_t
/* Undefine this if you do not want to select mono audio (left or right)
with a stereo MPEG layer 2/3 audio stream. The command line option
All Linux systems do use bash as sh is a symbolic link to bash. Nevertheless,
under Solaris/OpenSolaris bash and sh are different shells. So it would be
much better to replace sh with bash.
Kind regards,
Apostolos Syropoulos
_________________________________________________________________
Η διατήρηση επαφής είναι τώρα πιο εύκολη - Προσκαλέστε τους φίλους σας από το Facebook και το Hotmail friends στον Messenger τώρα!
www.invite2messenger.net
More information about the MPlayer-users
mailing list