This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Port of xlockmore-5.01.2 to latest Cygwin port of X11


I had to kludge it in order to make it compile
correctly on Cygwin (on win2k).
However, cygwin still does not properly support
passwords, so xlock is unable to verify
the password. This problem affects other programs that
require password verification as well.

Hopefully, xlockmore's maintaner will fix the configure
script to recognize cygwin and generate the 
right #define's and #include's


In particular, the files I had
to change are:


modes/dclock.c
903c903
<       extern long timezone;
---
>       // extern long timezone;
due to confilict with timezone def in time.h


/modes/solitare.cc  Changed every  occurance of round(..
to myround(...

because it was confilicting with round declaration in math.h



xlock/logout.c
34a35
> #include <signal.h>


./xlock/xlock.c
180a181,182
> #define       CYGWIN
>
2697c2699
< #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 )
---
> #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) || defined( CYGWIN )
2744c2746
< #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 )
---
> #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) || defined( CYGWIN )
3640c3642
< #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 )
---
> #if defined( SYSV ) || defined( SVR4 ) || ( __VMS_VER >= 70000000 ) || defined( CYGWIN )
3708a3711
>


xmlock/Makefile
95c95
< XMLOCKLIBS = -L/usr/X11R6/lib  -L/usr/X11R6/lib -L/usr/X11R6/lib
-L/usr/X11R6/lib -lXpm -lXmu -lXm -lXt  -lX11
---
> XMLOCKLIBS = -L/usr/X11R6/lib -lXpm -lXmu -lXm -lXt  -lX11 -lSM -lICE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]