Skip to contentSkip to conversation

package/x11r7/xserver_xorg-server: bump to version 1.17.2

PATCH Superseded Bernd Kuhls 2 participants 3 messages Jun 16, 2015 – Jun 21, 2015

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/x11r7/xserver_xorg-server: bump to version 1.17.2

Removed patches committed upstream:
http://cgit.freedesktop.org/xorg/xserver/commit/os/backtrace.c?h=server-1.17-branch&id=8b7e1f362bf6940eb863fd02395bf8155d10604b
http://cgit.freedesktop.org/xorg/xserver/commit/hw/xfree86/sdksyms.sh?h=server-1.17-branch&id=7a45d1684f626f3045305328c3aab85eed0673ea

---
 ...01-backtrace.c-Fix-word-cast-to-a-pointer.patch |   90 --------------------
 ...sdksyms.sh-Make-sdksyms.sh-work-with-gcc5.patch |   52 -----------
 package/x11r7/xserver_xorg-server/Config.in        |    4 +-
 .../xserver_xorg-server/xserver_xorg-server.hash   |    6 +-
 4 files changed, 5 insertions(+), 147 deletions(-)
 delete mode 100644 package/x11r7/xserver_xorg-server/1.17.1/0001-backtrace.c-Fix-word-cast-to-a-pointer.patch
 delete mode 100644 package/x11r7/xserver_xorg-server/1.17.1/0002-sdksyms.sh-Make-sdksyms.sh-work-with-gcc5.patch
package/x11r7/xserver_xorg-server/1.17.1/0001-backtrace.c-Fix-word-cast-to-a-pointer.patch deleted +0 -90
deleted file mode 100644
index 08944d6..0000000
@@ -1,90 +0,0 @@
-backtrace.c: Fix word cast to a pointer
-
-This patch fixes a compilation problem of Xorg + libunwind support when
-building it on MIPS variants with 32-bit pointers.
-
-Related:
-
-  http://lists.busybox.net/pipermail/buildroot/2014-December/114404.html
-
-Patch submitted upstream:
-
-  http://lists.x.org/archives/xorg-devel/2015-January/045226.html
-
-Patch reviewed by an Xorg developer:
-
-  http://lists.x.org/archives/xorg-devel/2015-January/045383.html
-
-Signed-off-by: Vicente Olivert Riera <[email protected]>
-
-From 84f04e0274661401a91efd4e9b21dccc1396e1d6 Mon Sep 17 00:00:00 2001
-From: Vicente Olivert Riera <[email protected]>
-Date: Wed, 3 Dec 2014 11:34:47 +0000
-Subject: [PATCH] backtrace.c: Fix word cast to a pointer
-
-backtrace.c uses a word size provided by libunwind. In some
-architectures like MIPS, libunwind makes that word size 64-bit for all
-variants of the architecture.
-
-In the lines #90 and #98, backtrace.c tries to do a cast to a pointer,
-which fails in all MIPS variants with 32-bit pointers, like MIPS32 or
-MIPS64 n32, because it's trying to do a cast from a 64-bit wide variable
-to a 32-bit pointer:
-
-Making all in os
-make[2]: Entering directory
-`/home/test/test/1/output/build/xserver_xorg-server-1.15.1/os'
-  CC     WaitFor.lo
-  CC     access.lo
-  CC     auth.lo
-  CC     backtrace.lo
-backtrace.c: In function 'xorg_backtrace':
-backtrace.c:90:20: error: cast to pointer from integer of different size
-[-Werror=int-to-pointer-cast]
-	 if (dladdr((void *)(pip.start_ip + off), &dlinfo) &&
-dlinfo.dli_fname &&
-		    ^
-backtrace.c:98:13: error: cast to pointer from integer of different size
-[-Werror=int-to-pointer-cast]
-	     (void *)(pip.start_ip + off));
-	     ^
-cc1: some warnings being treated as errors
-make[2]: *** [backtrace.lo] Error 1
-make[2]: *** Waiting for unfinished jobs....
-
-Making the cast to a pointer-sized integer, and then to a pointer fixes
-the problem.
-
-Related:
-  https://bugs.freedesktop.org/show_bug.cgi?id=79939
-
-Signed-off-by: Vicente Olivert Riera <[email protected]>
----
- os/backtrace.c |    4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/os/backtrace.c b/os/backtrace.c
-index 3d1195b..fd129ef 100644
---- a/os/backtrace.c
-+++ b/os/backtrace.c
-@@ -87,7 +87,7 @@ xorg_backtrace(void)
-             procname[1] = 0;
-         }
- 
--        if (dladdr((void *)(pip.start_ip + off), &dlinfo) && dlinfo.dli_fname &&
-+        if (dladdr((void *)(uintptr_t)(pip.start_ip + off), &dlinfo) && dlinfo.dli_fname &&
-                 *dlinfo.dli_fname)
-             filename = dlinfo.dli_fname;
-         else
-@@ -95,7 +95,7 @@ xorg_backtrace(void)
- 
-         ErrorFSigSafe("%u: %s (%s%s+0x%x) [%p]\n", i++, filename, procname,
-             ret == -UNW_ENOMEM ? "..." : "", (int)off,
--            (void *)(pip.start_ip + off));
-+            (void *)(uintptr_t)(pip.start_ip + off));
- 
-         ret = unw_step(&cursor);
-         if (ret < 0)
--- 
-1.7.1
-
package/x11r7/xserver_xorg-server/1.17.1/0002-sdksyms.sh-Make-sdksyms.sh-work-with-gcc5.patch deleted +0 -52

52 lines not on this page · raw message

package/x11r7/xserver_xorg-server/Config.in +2 -2
index 97700df..dc0b70c 100644
@@ -70,7 +70,7 @@ choice
 	bool "X Window System server version"
 
 config BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_17
-	bool "1.17.1"
+	bool "1.17.2"
 	select BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_19
 	select BR2_PACKAGE_XPROTO_PRESENTPROTO
 
@@ -82,7 +82,7 @@ endchoice
 
 config BR2_PACKAGE_XSERVER_XORG_SERVER_VERSION
 	string
-	default "1.17.1" if BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_17
+	default "1.17.2" if BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_17
 	default "1.14.7" if BR2_PACKAGE_XSERVER_XORG_SERVER_V_1_14
 
 choice
package/x11r7/xserver_xorg-server/xserver_xorg-server.hash +3 -3
index 135d0f3..4f57787 100644
@@ -1,6 +1,6 @@
 # From http://lists.x.org/archives/xorg-announce/2014-June/002440.html
 sha1   7a95765e56b124758fcd7b609589e65b8870880b                                xorg-server-1.14.7.tar.bz2
 sha256 fcf66fa6ad86227613d2d3e8ae13ded297e2a1e947e9060a083eaf80d323451f        xorg-server-1.14.7.tar.bz2
-# From http://lists.x.org/archives/xorg-announce/2015-February/002530.html
-sha1	490118810a54e91c8814245c99d6285caf4985dd				xorg-server-1.17.1.tar.bz2
-sha256	2bf8e9f6f0a710dec1d2472467bff1f4e247cb6dcd76eb469aafdc8a2d7db2ab	xorg-server-1.17.1.tar.bz2
+# From http://lists.x.org/archives/xorg-announce/2015-June/002614.html
+sha1	56ac29a82b99bcf4c7ba2fca41a44cfa18748262				xorg-server-1.17.2.tar.bz2
+sha256	f61120612728f2c5034671d0ca3e2273438c60aba93b3dda4a8aa40e6a257993	xorg-server-1.17.2.tar.bz2
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/2 package/x11r7/xdriver_xf86-video-vesa: bump to version 2.3.4

---
 package/x11r7/xdriver_xf86-video-vesa/xdriver_xf86-video-vesa.hash |    4 ++--
 package/x11r7/xdriver_xf86-video-vesa/xdriver_xf86-video-vesa.mk   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/x11r7/xdriver_xf86-video-vesa/xdriver_xf86-video-vesa.hash +2 -2
index bc400d5..84c0b08 100644
@@ -1,2 +1,2 @@
-# From http://lists.x.org/archives/xorg-announce/2013-September/002319.html
-sha256	ce8b75e5a40e9dae76f2ac9e2880f7f73a848653ca2eed5880f52dc2c0d3aef8	xf86-video-vesa-2.3.3.tar.bz2
+# From http://lists.x.org/archives/xorg-announce/2015-June/002615.html
+sha256	7bddf4d879dd6f67088ecb203a31e12334aab980174bd0909930a21f32e251c1	xf86-video-vesa-2.3.4.tar.bz2
package/x11r7/xdriver_xf86-video-vesa/xdriver_xf86-video-vesa.mk +1 -1
index 05d15dd..1184821 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-XDRIVER_XF86_VIDEO_VESA_VERSION = 2.3.3
+XDRIVER_XF86_VIDEO_VESA_VERSION = 2.3.4
 XDRIVER_XF86_VIDEO_VESA_SOURCE = xf86-video-vesa-$(XDRIVER_XF86_VIDEO_VESA_VERSION).tar.bz2
 XDRIVER_XF86_VIDEO_VESA_SITE = http://xorg.freedesktop.org/releases/individual/driver
 XDRIVER_XF86_VIDEO_VESA_LICENSE = MIT
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 1/2 package/x11r7/xserver_xorg-server: bump to version 1.17.2

In reply to Bernd Kuhls

Dear Bernd Kuhls,

Quoted 5 lines · Bernd Kuhls

Removed patches committed upstream:
http://cgit.freedesktop.org/xorg/xserver/commit/os/backtrace.c?h=server-1.17-branch&id=8b7e1f362bf6940eb863fd02395bf8155d10604b
http://cgit.freedesktop.org/xorg/xserver/commit/hw/xfree86/sdksyms.sh?h=server-1.17-branch&id=7a45d1684f626f3045305328c3aab85eed0673ea

Quoted 8 lines
---
 ...01-backtrace.c-Fix-word-cast-to-a-pointer.patch |   90 --------------------
 ...sdksyms.sh-Make-sdksyms.sh-work-with-gcc5.patch |   52 -----------
 package/x11r7/xserver_xorg-server/Config.in        |    4 +-
 .../xserver_xorg-server/xserver_xorg-server.hash   |    6 +-
 4 files changed, 5 insertions(+), 147 deletions(-)
 delete mode 100644 package/x11r7/xserver_xorg-server/1.17.1/0001-backtrace.c-Fix-word-cast-to-a-pointer.patch
 delete mode 100644 package/x11r7/xserver_xorg-server/1.17.1/0002-sdksyms.sh-Make-sdksyms.sh-work-with-gcc5.patch

Both patches applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com