Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 174841 Details for
Bug 250499
net-misc/xrdp-0.4.1 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix the current directory, copied from xrdp-0.3.1
xrdp-0.4.1-curdir.patch (text/plain), 1.83 KB, created by
Theunis
on 2008-12-10 10:25:26 UTC
(
hide
)
Description:
patch to fix the current directory, copied from xrdp-0.3.1
Filename:
MIME Type:
Creator:
Theunis
Created:
2008-12-10 10:25:26 UTC
Size:
1.83 KB
patch
obsolete
>diff -ur xrdp-0.4.0.orig/sesman/Makefile xrdp-0.4.0/sesman/Makefile >--- xrdp-0.4.0.orig/sesman/Makefile 2008-04-02 15:43:01.000000000 +0200 >+++ xrdp-0.4.0/sesman/Makefile 2008-04-02 16:08:34.000000000 +0200 >@@ -14,7 +14,8 @@ > > DEFINES = -DSESMAN_CFG_FILE=\"$(CFGDIR)/sesman.ini\" \ > -DSESMAN_PID_FILE=\"$(PIDDIR)/sesman.pid\" \ >- -DSESMAN_SESSVC_FILE=\"sessvc\" >+ -DSESMAN_SESSVC_FILE=\"sessvc\" \ >+ -DSESMAN_DESTDIR=\"$(DESTDIR)\" > > CFLAGS = $(MYCFLAGS) -I../common -I/usr/include/nptl -I./libscp $(DEFINES) > LDFLAGS = -L/usr/gnu/lib -L/usr/lib/nptl -L./libscp -Wl,-rpath,. -lpthread -ldl -lscp >diff -ur xrdp-0.3.1.orig/sesman/sesman.c xrdp-0.3.1/sesman/sesman.c >--- xrdp-0.3.1.orig/sesman/sesman.c 2006-08-01 19:35:48.000000000 -0400 >+++ xrdp-0.3.1/sesman/sesman.c 2006-08-01 20:48:15.000000000 -0400 >@@ -137,6 +137,8 @@ > int pid; > char pid_s[8]; > >+ chdir(SESMAN_DESTDIR); >+ > if (1 == argc) > { > /* no options on command line. normal startup */ >diff -ur xrdp-0.3.1.orig/xrdp/Makefile xrdp-0.3.1/xrdp/Makefile >--- xrdp-0.3.1.orig/xrdp/Makefile 2006-08-01 19:35:48.000000000 -0400 >+++ xrdp-0.3.1/xrdp/Makefile 2006-08-01 19:56:15.000000000 -0400 >@@ -12,7 +12,8 @@ > DOCDIR = /usr/doc/xrdp > > DEFINES = -DXRDP_CFG_FILE=\"$(CFGDIR)/xrdp.ini\" \ >- -DXRDP_PID_FILE=\"$(PIDDIR)/xrdp.pid\" >+ -DXRDP_PID_FILE=\"$(PIDDIR)/xrdp.pid\" \ >+ -DXRDP_DESTDIR=\"$(DESTDIR)\" > > CFLAGS = $(MYCFLAGS) -I../common -I../libxrdp $(DEFINES) > #CFLAGS += -DXRDP_DEBUG >diff -ur xrdp-0.3.1.orig/xrdp/xrdp.c xrdp-0.3.1/xrdp/xrdp.c >--- xrdp-0.3.1.orig/xrdp/xrdp.c 2006-08-01 19:35:48.000000000 -0400 >+++ xrdp-0.3.1/xrdp/xrdp.c 2006-08-01 19:55:45.000000000 -0400 >@@ -291,6 +291,8 @@ > char text[32]; > #endif > >+ chdir(XRDP_DESTDIR); >+ > /* check compiled endian with actual endian */ > test = 1; > host_be = !((int)(*(unsigned char*)(&test)));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 250499
:
174839
| 174841 |
174842
|
174844
|
174846
|
174847