[kde-freebsd] Re: 9-CURRENT: ports/net/kdenetwork3 does not compile

2010-11-02 Thread Ed Schouten
tings, -- Ed Schouten WWW: http://80386.nl/ --- ktalkd/ktalkd/find_user.cpp +++ ktalkd/ktalkd/find_user.cpp @@ -339,34 +339,33 @@ #else /*not PROC_FIND_USER*/ +#include + int find_user(char *name, char *tty, char *disp) { -struct utmp ubuf; +struct utmpx *ubuf; int status; -

[kde-freebsd] Re: Patch for kdenetwork3's ktalkd to make it build on FreeBSD HEAD

2010-11-02 Thread Ed Schouten
Right after I sent my message I noticed this line of C code: * Ed Schouten , 20101102 19:20: > if (!(statb.st_mode & 020)) /* ?character device? */ This should of course be rewritten to something like: if (!S_ISCHR(statb.st_mode)) -- Ed S

[kde-freebsd] Patch for kdenetwork3's ktalkd to make it build on FreeBSD HEAD

2010-11-02 Thread Ed Schouten
code should be fixed. Greetings, -- Ed Schouten WWW: http://80386.nl/ --- ktalkd/ktalkd/find_user.cpp +++ ktalkd/ktalkd/find_user.cpp @@ -339,34 +339,33 @@ #else /*not PROC_FIND_USER*/ +#include + int find_user(char *name, char *tty, char *disp) { -struct utmp ubuf; +struct

Re: [kde-freebsd] 8-current/kde3 stty defaults incorrect under konsole

2008-06-27 Thread Ed Schouten
the Ports tree. Thanks! -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://80386.nl/ pgpJ8C9bpm3C0.pgp Description: PGP signature ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd

Re: [kde-freebsd] 8-current/kde3 stty defaults incorrect under konsole

2008-06-26 Thread Ed Schouten
* Ed Schouten <[EMAIL PROTECTED]> wrote: > An even better approach would be to use CKILL/CQUIT/etc. There are > non-standard either, but it's better than using the CTRL() macro > directly. I'll come up with a patch soonish. :) Something like this? %%% --- kdecore/kpty

Re: [kde-freebsd] 8-current/kde3 stty defaults incorrect under konsole

2008-06-26 Thread Ed Schouten
* Tilman Linneweh <[EMAIL PROTECTED]> wrote: > > On Jun 25, 2008, at 22:15, Ed Schouten wrote: >> Would you mind if I add this patch to the kdelibs3 port? It is needed >> to >> make control characters work with konsole, which seems to be broken on >> -CURREN

Re: [kde-freebsd] 8-current/kde3 stty defaults incorrect under konsole

2008-06-25 Thread Ed Schouten
* Andy Fawcett <[EMAIL PROTECTED]> wrote: > What's the effect of the patch on 6-STABLE and 7-STABLE? If it doesn't cause > problems there, you can add it. It will not cause any changes on the other branches. I'll commit this patch when I arrive at the office. Thanks

Re: [kde-freebsd] 8-current/kde3 stty defaults incorrect under konsole

2008-06-25 Thread Ed Schouten
KDE folks, * Mark Atkinson <[EMAIL PROTECTED]> wrote: > Ed Schouten wrote: > > > Hello Mark, > > > > * Mark Atkinson <[EMAIL PROTECTED]> wrote: > >> Hi, > >> > >> Is anyone else running freebsd-current with kde3 (and has rebui

Re: [kde-freebsd] 8-current/kde3 stty defaults incorrect under konsole

2008-06-25 Thread Ed Schouten
elibs3 port and see what happens? Thanks! :) %%% --- kdecore/kpty.cpp +++ kdecore/kpty.cpp @@ -128,9 +128,8 @@ #include // locate // not defined on HP-UX for example -#ifndef CTRL -# define CTRL(x) ((x) & 037) -#endif +#undef CTRL +#define CTRL(x) ((x) & 037) #define TTY_GROU