mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtlogin: Enable XDM authentication on FreeBSD
This commit is contained in:
parent
ff7c7d72cf
commit
7cddb0d165
4 changed files with 5 additions and 2 deletions
|
@ -20,6 +20,7 @@ XCOMM operating system: OSName (OSMajorVersion/**/./**/OSMinorVersion/**/./**/O
|
||||||
#define HasPutenv YES
|
#define HasPutenv YES
|
||||||
#define HasBSD44Sockets YES
|
#define HasBSD44Sockets YES
|
||||||
#define HasZlib YES
|
#define HasZlib YES
|
||||||
|
#define HasXdmAuth YES
|
||||||
|
|
||||||
#if OSMajorVersion >= 10 && defined(UseGcc)
|
#if OSMajorVersion >= 10 && defined(UseGcc)
|
||||||
USE_GCC = UseGcc
|
USE_GCC = UseGcc
|
||||||
|
|
|
@ -244,6 +244,8 @@ INCLUDES = -I$(XPROJECTROOT)/include/freetype2
|
||||||
DEFINES = $(DTDEFINES) -DXDMCP
|
DEFINES = $(DTDEFINES) -DXDMCP
|
||||||
#elif defined (OpenBSDArchitecture)
|
#elif defined (OpenBSDArchitecture)
|
||||||
DEFINES = $(DTDEFINES) -DXDMCP
|
DEFINES = $(DTDEFINES) -DXDMCP
|
||||||
|
#elif defined (FreeBSDArchitecture)
|
||||||
|
DEFINES = $(DTDEFINES) -DXDMCP
|
||||||
#else
|
#else
|
||||||
DEFINES = $(DTDEFINES) -D_NO_PROTO
|
DEFINES = $(DTDEFINES) -D_NO_PROTO
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1007,7 +1007,7 @@ extern Xauth * XdmGetAuth(
|
||||||
#endif /* NeedWidePrototypes */
|
#endif /* NeedWidePrototypes */
|
||||||
char *name) ;
|
char *name) ;
|
||||||
|
|
||||||
extern int XdmGetXdmcpAuth(
|
extern void XdmGetXdmcpAuth(
|
||||||
struct protoDisplay *pdpy,
|
struct protoDisplay *pdpy,
|
||||||
#if NeedWidePrototypes
|
#if NeedWidePrototypes
|
||||||
unsigned int authorizationNameLen,
|
unsigned int authorizationNameLen,
|
||||||
|
|
|
@ -208,7 +208,7 @@ XdmGetAuth (namelen, name)
|
||||||
|
|
||||||
#ifdef XDMCP
|
#ifdef XDMCP
|
||||||
|
|
||||||
XdmGetXdmcpAuth (pdpy,authorizationNameLen, authorizationName)
|
void XdmGetXdmcpAuth (pdpy,authorizationNameLen, authorizationName)
|
||||||
struct protoDisplay *pdpy;
|
struct protoDisplay *pdpy;
|
||||||
#if NeedWidePrototypes
|
#if NeedWidePrototypes
|
||||||
unsigned int authorizationNameLen;
|
unsigned int authorizationNameLen;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue