[pkg-remote-commits] [xrdp] 01/04: Enable Large File Support, thanks lintian!

Thorsten Glaser tg at moszumanska.debian.org
Wed Jan 25 16:13:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

tg pushed a commit to branch master
in repository xrdp.

commit 33cf0bb33091c83c61c79395aa57c03b35657c6e
Author: mirabilos <t.glaser at tarent.de>
Date:   Wed Jan 25 13:42:28 2017 +0100

    Enable Large File Support, thanks lintian!
---
 debian/changelog        |   3 +-
 debian/patches/lfs.diff | 139 ++++++++++++++++++++++++++++++++++++++++++++++++
 debian/patches/series   |   1 +
 3 files changed, 142 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 86d1619..69e7610 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,9 @@ xrdp (0.9.1-4) unstable; urgency=high
   * Add GNU/kFreeBSD support to NASM format detection autoconfigury.
   * Remove patch to make stack not executable in *.asm files; upstrem
     fixed this already.
+  * Enable Large File Support, as pointed out by lintian.
 
- -- Thorsten Glaser <tg at mirbsd.de>  Wed, 25 Jan 2017 13:30:59 +0100
+ -- Thorsten Glaser <tg at mirbsd.de>  Wed, 25 Jan 2017 13:42:12 +0100
 
 xrdp (0.9.1-3) unstable; urgency=medium
 
diff --git a/debian/patches/lfs.diff b/debian/patches/lfs.diff
new file mode 100644
index 0000000..dbb76ac
--- /dev/null
+++ b/debian/patches/lfs.diff
@@ -0,0 +1,139 @@
+From: Thorsten Glaser <tg at mirbsd.org>
+Subject: Enable Large File Support on (at least) 32-bit Linux
+
+--- a/common/pixman-region.c
++++ b/common/pixman-region.c
+@@ -63,6 +63,8 @@
+  * PERFORMANCE OF THIS SOFTWARE.
+  */
+ 
++#include "arch.h"
++
+ #define PIXREGION_NIL(reg) ((reg)->data && !(reg)->data->numRects)
+ /* not a region */
+ #define PIXREGION_NAR(reg)      ((reg)->data == pixman_broken_data)
+--- a/configure.ac
++++ b/configure.ac
+@@ -6,6 +6,8 @@ AC_CONFIG_HEADERS(config_ac.h:config_ac-
+ AM_INIT_AUTOMAKE([1.7.2 foreign])
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_PROG_CC
++AC_SYS_LARGEFILE
++AC_FUNC_FSEEKO
+ AC_C_CONST
+ AC_PROG_LIBTOOL
+ PKG_PROG_PKG_CONFIG
+--- a/genkeymap/evdev-map.c
++++ b/genkeymap/evdev-map.c
+@@ -22,6 +22,8 @@
+  * xfree86(base)->evdev keycode mapping
+  */
+ 
++#include "arch.h"
++
+ int xfree86_to_evdev[137-8+1] = {
+     /* MDSW */ 203,
+     /* ESC */ 9,
+--- a/genkeymap/genkeymap.c
++++ b/genkeymap/genkeymap.c
+@@ -39,6 +39,7 @@
+ #include <X11/Xutil.h>
+ #include <X11/XKBlib.h>
+ #include <locale.h>
++#include "arch.h"
+ 
+ extern int xfree86_to_evdev[137-8];
+ 
+--- a/libpainter/configure.ac
++++ b/libpainter/configure.ac
+@@ -6,6 +6,8 @@ AC_CONFIG_HEADERS(config_ac.h:config_ac-
+ AM_INIT_AUTOMAKE([1.6 foreign])
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_PROG_CC
++AC_SYS_LARGEFILE
++AC_FUNC_FSEEKO
+ AC_C_CONST
+ AC_PROG_LIBTOOL
+ PKG_INSTALLDIR
+--- a/librfxcodec/configure.ac
++++ b/librfxcodec/configure.ac
+@@ -7,6 +7,8 @@ AM_INIT_AUTOMAKE([1.6 foreign])
+ AC_CONFIG_MACRO_DIR([m4])
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
+ AC_PROG_CC
++AC_SYS_LARGEFILE
++AC_FUNC_FSEEKO
+ AC_C_CONST
+ AC_PROG_LIBTOOL
+ PKG_INSTALLDIR
+--- a/sesman/chansrv/pcsc/xrdp_pcsc.c
++++ b/sesman/chansrv/pcsc/xrdp_pcsc.c
+@@ -10,6 +10,7 @@
+ #include <sys/socket.h>
+ #include <sys/un.h>
+ #include <sys/stat.h>
++#include "arch.h"
+ 
+ #define PCSC_API
+ 
+--- a/sesman/tools/dis.c
++++ b/sesman/tools/dis.c
+@@ -22,6 +22,7 @@
+ #include <unistd.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
++#include "arch.h"
+ 
+ int main(int argc, char **argv)
+ {
+--- a/sesman/tools/xcon.c
++++ b/sesman/tools/xcon.c
+@@ -22,6 +22,7 @@
+ #include <unistd.h>
+ #include <sys/types.h>
+ #include <X11/Xlib.h>
++#include "arch.h"
+ 
+ Display *g_display = 0;
+ int g_x_socket = 0;
+--- a/xorgxrdp/configure.ac
++++ b/xorgxrdp/configure.ac
+@@ -6,6 +6,8 @@ AC_CONFIG_HEADERS(config_ac.h:config_ac-
+ AM_INIT_AUTOMAKE([1.11 foreign parallel-tests])
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+ AC_PROG_CC
++AC_SYS_LARGEFILE
++AC_FUNC_FSEEKO
+ AC_C_CONST
+ AC_PROG_LIBTOOL
+ 
+--- a/xorgxrdp/module/rdp.h
++++ b/xorgxrdp/module/rdp.h
+@@ -30,6 +30,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE
+ #include <gcstruct.h>
+ #include <mipointer.h>
+ #include <randrstr.h>
++#include <config_ac.h>
+ 
+ #include "rdpPri.h"
+ 
+--- a/xorgxrdp/module/rdpReg.c
++++ b/xorgxrdp/module/rdpReg.c
+@@ -33,6 +33,7 @@ to deal with regions changing in xorg ve
+ #include <xf86.h>
+ #include <xf86_OSproc.h>
+ 
++#include <config_ac.h>
+ #include "rdpReg.h"
+ 
+ /*
+--- a/xrdpvr/xrdpvr.c
++++ b/xrdpvr/xrdpvr.c
+@@ -21,6 +21,7 @@
+  *
+  */
+ 
++#include "arch.h"
+ #include "xrdpvr.h"
+ #include "xrdpvr_internal.h"
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 56090f4..72a82f3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ fix_perms.diff
 shutup-daemon.diff
 sockpath.diff
 kfreebsd.diff
+lfs.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-remote/xrdp.git



More information about the pkg-remote-commits mailing list