1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/x11/kdebase11/files/patch-aq
Stefan Eßer 8f11472006 Upgrade to the first pre-release of KDE 1.1.
This port requireat least s version 1.41 of the Qt library.
There will be an error reported by configure, if only an earlier
version is found, but no automatic port dependency exists (i.e.
the x11-toolkits/qt141 port has to be manually built and installed).

There may still be a problem with a missing -lXext in the kdesupport
port. This will be taken care of during the next few days, if the
problem still exists ...
1999-01-07 00:52:05 +00:00

32 lines
1.1 KiB
Plaintext

*** kdm/kdmconfig.cpp~ Sat Dec 19 22:05:02 1998
--- kdm/kdmconfig.cpp Tue Dec 29 00:38:07 1998
***************
*** 65,68 ****
--- 65,79 ----
QString nu = kc->readEntry( "NoUsers");
QStrList no_users;
+ #ifdef HAVE_GETUSERSHELL
+ QStrList valid_shells;
+ QString shell;
+ setusershell();
+ for( shell = getusershell(); shell.isEmpty() == 0; ) {
+ if( valid_shells.contains( shell) == 0)
+ valid_shells.append( shell);
+ shell = getusershell();
+ }
+ endusershell();
+ #endif
semsplit( nu, no_users);
struct passwd *ps;
***************
*** 72,75 ****
--- 83,90 ----
if( CHECK_STRING(ps->pw_dir) &&
CHECK_STRING(ps->pw_shell) &&
+ #ifdef HAVE_GETUSERSHELL
+ ( valid_shells.isEmpty() ||
+ ( valid_shells.contains( ps->pw_shell) != 0)) &&
+ #endif
//CHECK_STRING(ps->pw_gecos) && // many users didn't want this check (tanghus)
( no_users.contains( ps->pw_name) == 0)){