From: Jesper Baekdahl <jbb@gamblify.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 096/120] xlib_libXxf86dga: bump revision to X11R7.7
Date: Mon, 18 Mar 2013 14:05:02 +0100 [thread overview]
Message-ID: <1363611926-27105-37-git-send-email-jbb@gamblify.com> (raw)
In-Reply-To: <1363611926-27105-1-git-send-email-jbb@gamblify.com>
From: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Jesper Baekdahl <jbb@gamblify.com>
---
.../xlib_libXxf86dga-fix-compilation.patch | 30 ++++++++++++++++++++
package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga.mk | 2 +-
2 files changed, 31 insertions(+), 1 deletion(-)
create mode 100644 package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga-fix-compilation.patch
diff --git a/package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga-fix-compilation.patch b/package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga-fix-compilation.patch
new file mode 100644
index 0000000..b11bd0b
--- /dev/null
+++ b/package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga-fix-compilation.patch
@@ -0,0 +1,30 @@
+Upstream-Status: pending
+
+Fix type conversion for x32. For x32 the off_t is 64bit and pointers are 32bit.
+so the conversion of pointer to off_t was resulting into this error:
+
+| XF86DGA2.c:931:24: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
+| cc1: some warnings being treated as errors
+|
+| make[2]: *** [XF86DGA2.lo] Error 1
+
+Fixed it by typecasting pointer into unsigned long 1st and then again typecasting
+unsigned long to off_t.
+
+Signed-Off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
+2012/01/04
+
+
+Index: libXxf86dga-1.1.2/src/XF86DGA2.c
+===================================================================
+--- libXxf86dga/src/XF86DGA2.c.orig 2012-03-08 05:35:46.000000000 +0000
++++ libXxf86dga/src/XF86DGA2.c 2012-06-15 08:42:03.000000000 +0100
+@@ -928,7 +928,7 @@ DGAMapPhysical(
+ if ((pMap->fd = open(name, O_RDWR)) < 0)
+ return False;
+ pMap->virtual = mmap(NULL, size, PROT_READ | PROT_WRITE,
+- MAP_FILE | MAP_SHARED, pMap->fd, (off_t)base);
++ MAP_FILE | MAP_SHARED, pMap->fd, (off_t)(unsigned long)base);
+ if (pMap->virtual == (void *)-1)
+ return False;
+ mprotect(pMap->virtual, size, PROT_READ | PROT_WRITE);
diff --git a/package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga.mk b/package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga.mk
index 2bd9ce7..d57b794 100644
--- a/package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga.mk
+++ b/package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga.mk
@@ -4,7 +4,7 @@
#
################################################################################
-XLIB_LIBXXF86DGA_VERSION = 1.1.2
+XLIB_LIBXXF86DGA_VERSION = 1.1.3
XLIB_LIBXXF86DGA_SOURCE = libXxf86dga-$(XLIB_LIBXXF86DGA_VERSION).tar.bz2
XLIB_LIBXXF86DGA_SITE = http://xorg.freedesktop.org/releases/individual/lib
XLIB_LIBXXF86DGA_INSTALL_STAGING = YES
--
1.7.10.4
next prev parent reply other threads:[~2013-03-18 13:05 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-18 13:04 [Buildroot] [PATCH 060/120] xdriver_xf86-video-neomagic: bump revision to X11R7.7 Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 061/120] xdriver_xf86-video-newport: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 062/120] xdriver_xf86-video-openchrome: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 063/120] xdriver_xf86-video-r128: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 064/120] xdriver_xf86-video-savage: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 065/120] xdriver_xf86-video-siliconmotion: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 066/120] xdriver_xf86-video-sis: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 067/120] xdriver_xf86-video-tdfx: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 068/120] xdriver_xf86-video-trident: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 069/120] xdriver_xf86-video-vesa: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 070/120] xdriver_xf86-video-vmware: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 071/120] xdriver_xf86-video-wsfb: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 072/120] xfont: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 073/120] xkeyboard-config: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 074/120] xlib_libFS: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 075/120] xlib_libICE: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 076/120] xlib_libSM: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 077/120] xlib_libX11: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 078/120] xlib_libXScrnSaver: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 079/120] xlib_libXau: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 080/120] xlib_libXaw: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 081/120] xlib_libXcursor: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 082/120] xlib_libXdmcp: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 083/120] xlib_libXext: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 084/120] xlib_libXfixes: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 085/120] xlib_libXfont: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 086/120] xlib_libXft: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 087/120] xlib_libXi: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 088/120] xlib_libXinerama: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 089/120] xlib_libXmu: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 090/120] xlib_libXpm: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 091/120] xlib_libXrandr: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 092/120] xlib_libXres: " Jesper Baekdahl
2013-03-18 13:04 ` [Buildroot] [PATCH 093/120] xlib_libXtst: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 094/120] xlib_libXv: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 095/120] xlib_libXvMC: " Jesper Baekdahl
2013-03-18 13:05 ` Jesper Baekdahl [this message]
2013-03-18 13:05 ` [Buildroot] [PATCH 097/120] xlib_libXxf86vm: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 098/120] xlib_libdmx: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 099/120] xlib_libfontenc: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 100/120] xlib_libpciaccess: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 101/120] xlib_libxkbfile: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 102/120] xlib_xtrans: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 103/120] xproto_applewmproto: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 104/120] xproto_bigreqsproto: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 105/120] xproto_fontsproto: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 106/120] xproto_glproto: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 107/120] xproto_inputproto: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 108/120] xproto_kbproto: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 109/120] xproto_recordproto: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 110/120] proto_resourceproto: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 111/120] xproto_scrnsaverproto: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 112/120] xproto_xcmiscproto: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 113/120] xproto_xextproto: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 114/120] xproto_xproto: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 115/120] xutil_makedepend: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 116/120] xutil_util-macros: " Jesper Baekdahl
2013-03-21 17:45 ` Arnout Vandecappelle
2013-03-22 11:38 ` Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 117/120] xserver_xorg-server: " Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 118/120] libdrm: bump version and add lib_pciaccess dependancy Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 119/120] mesa3d: bump version Jesper Baekdahl
2013-03-18 13:05 ` [Buildroot] [PATCH 120/120] xproto_dri2proto: " Jesper Baekdahl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1363611926-27105-37-git-send-email-jbb@gamblify.com \
--to=jbb@gamblify.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox