Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 250499 | Differences between
and this patch

Collapse All | Expand All

(-)xrdp-0.4.0.orig/sesman/Makefile (-1 / +2 lines)
Lines 14-20 Link Here
14
14
15
DEFINES = -DSESMAN_CFG_FILE=\"$(CFGDIR)/sesman.ini\" \
15
DEFINES = -DSESMAN_CFG_FILE=\"$(CFGDIR)/sesman.ini\" \
16
	  -DSESMAN_PID_FILE=\"$(PIDDIR)/sesman.pid\" \
16
	  -DSESMAN_PID_FILE=\"$(PIDDIR)/sesman.pid\" \
17
	  -DSESMAN_SESSVC_FILE=\"sessvc\"
17
	  -DSESMAN_SESSVC_FILE=\"sessvc\" \
18
	  -DSESMAN_DESTDIR=\"$(DESTDIR)\"
18
19
19
CFLAGS = $(MYCFLAGS) -I../common -I/usr/include/nptl -I./libscp $(DEFINES)
20
CFLAGS = $(MYCFLAGS) -I../common -I/usr/include/nptl -I./libscp $(DEFINES)
20
LDFLAGS = -L/usr/gnu/lib -L/usr/lib/nptl -L./libscp -Wl,-rpath,. -lpthread -ldl -lscp
21
LDFLAGS = -L/usr/gnu/lib -L/usr/lib/nptl -L./libscp -Wl,-rpath,. -lpthread -ldl -lscp
(-)xrdp-0.3.1.orig/sesman/sesman.c (+2 lines)
Lines 137-142 Link Here
137
  int pid;
137
  int pid;
138
  char pid_s[8];
138
  char pid_s[8];
139
139
140
  chdir(SESMAN_DESTDIR);
141
140
  if (1 == argc)
142
  if (1 == argc)
141
  {
143
  {
142
    /* no options on command line. normal startup */
144
    /* no options on command line. normal startup */
(-)xrdp-0.3.1.orig/xrdp/Makefile (-1 / +2 lines)
Lines 12-18 Link Here
12
DOCDIR = /usr/doc/xrdp
12
DOCDIR = /usr/doc/xrdp
13
13
14
DEFINES = -DXRDP_CFG_FILE=\"$(CFGDIR)/xrdp.ini\" \
14
DEFINES = -DXRDP_CFG_FILE=\"$(CFGDIR)/xrdp.ini\" \
15
          -DXRDP_PID_FILE=\"$(PIDDIR)/xrdp.pid\"
15
          -DXRDP_PID_FILE=\"$(PIDDIR)/xrdp.pid\" \
16
          -DXRDP_DESTDIR=\"$(DESTDIR)\"
16
17
17
CFLAGS = $(MYCFLAGS) -I../common -I../libxrdp $(DEFINES)
18
CFLAGS = $(MYCFLAGS) -I../common -I../libxrdp $(DEFINES)
18
#CFLAGS += -DXRDP_DEBUG
19
#CFLAGS += -DXRDP_DEBUG
(-)xrdp-0.3.1.orig/xrdp/xrdp.c (+2 lines)
Lines 291-296 Link Here
291
  char text[32];
291
  char text[32];
292
#endif
292
#endif
293
293
294
  chdir(XRDP_DESTDIR);
295
294
  /* check compiled endian with actual endian */
296
  /* check compiled endian with actual endian */
295
  test = 1;
297
  test = 1;
296
  host_be = !((int)(*(unsigned char*)(&test)));
298
  host_be = !((int)(*(unsigned char*)(&test)));

Return to bug 250499