Fix implicit declarations.

This commit is contained in:
Bojan Smojver 2014-04-01 19:14:30 +11:00
parent e71625c8d1
commit 48ba45452b
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,22 @@
diff -ruN xrdp-v0.6.1-orig/sesman/chansrv/clipboard.c xrdp-v0.6.1/sesman/chansrv/clipboard.c
--- xrdp-v0.6.1-orig/sesman/chansrv/clipboard.c 2013-11-10 07:11:15.000000000 +1100
+++ xrdp-v0.6.1/sesman/chansrv/clipboard.c 2014-04-01 19:12:32.513364604 +1100
@@ -29,6 +29,7 @@
#include "parse.h"
#include "os_calls.h"
#include "chansrv.h"
+#include "clipboard.h"
static Atom g_clipboard_atom = 0;
static Atom g_clip_property_atom = 0;
diff -ruN xrdp-v0.6.1-orig/xrdp/xrdp_mm.c xrdp-v0.6.1/xrdp/xrdp_mm.c
--- xrdp-v0.6.1-orig/xrdp/xrdp_mm.c 2013-11-10 07:11:15.000000000 +1100
+++ xrdp-v0.6.1/xrdp/xrdp_mm.c 2014-04-01 19:11:19.743442077 +1100
@@ -21,6 +21,7 @@
*/
#include "xrdp.h"
+#include <string.h>
/*****************************************************************************/
struct xrdp_mm* APP_CC

View File

@ -15,6 +15,7 @@ Patch2: xrdp-pam_session.patch
Patch3: xrdp-endian.patch
Patch4: xrdp-0.6.1-syslog-format.patch
Patch5: xrdp-0.6.1-memset.patch
Patch6: xrdp-0.6.1-implicit-decl.patch
Source1: xrdp.service
Source2: xrdp-sesman.service
@ -52,6 +53,7 @@ terminal server / remote desktop clients.
%patch3 -p1 -b .endian
%patch4 -p1 -b .syslog-format
%patch5 -p1 -b .memset
%patch6 -p1 -b .implicit-decl
# remove unused modules from xrdp login combobox
%{__sed} -i -e '/\[xrdp2\]/,$d' xrdp/xrdp.ini
@ -196,6 +198,7 @@ fi
- try a bump to official 0.6.1
- provide format for syslog() call
- fix memset() call
- fix implicit declarations
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-0.8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild