Hi!

There is a bugreport on SourceForge, which includes a patch
(build fix).


Anyone here, who can test this patch and/or confirm that this patchis
correct? If yes, then I'll glad to commit it into CVS.


Here is it:
=================================================================

FreeBSD build fail

FreeBSD 4.1


FreeBSD does not define HALT or PDWN macros. To build libgii, the
following patch is needed

*** libgii/input/vgl/key2event.c.orig Fri Jul 6 07:35:59 2001
--- libgii/input/vgl/key2event.c Fri Jul 6 07:36:55 2001
*************** 
*** 265,273 ****
                        /* NON-LOCKING KEYS */
                        case SPSC: case RBT:  case SUSP: case STBY:
                        case DBG:  case NEXT: case PREV: case PNC:
!                       case HALT: case PDWN:
                                priv->kbd_accents = 0;
                                break;
                        case BTAB:
                                priv->kbd_accents = 0;
                                action |= BKEY;
--- 265,280 ----
                        /* NON-LOCKING KEYS */
                        case SPSC: case RBT:  case SUSP: case STBY:
                        case DBG:  case NEXT: case PREV: case PNC:
! #ifdef HALT
!                       case HALT:
! #endif
! #ifdef PDWN
!                       case PDWN:
! #endif
! #if defined(HALT) || defined(PDWN)
                                priv->kbd_accents = 0;
                                break;
+ #endif
                        case BTAB:
                                priv->kbd_accents = 0;
                                action |= BKEY; 
=================================================================



CU,

Christoph Egger
E-Mail: [EMAIL PROTECTED]



Reply via email to