libxcb: remove workaround patch for a bug that was fixed in gcc 5 in 2015

(From OE-Core rev: 78eb9447c64cf4d5d30647af7638eed5aa6531ee)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Adrian Bunk 2019-05-07 16:11:50 +03:00 committed by Richard Purdie
parent f590d70680
commit ad200dfca8
2 changed files with 0 additions and 23 deletions

View File

@ -1,22 +0,0 @@
Reduce debug info for xcb.c since on mips we run into a gcc5 bug
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302
This patch is a workaround to get past the gcc bug until its resolved.
it should have minimal impact on libxcb while make it work.
Upstream-Status: Inappropriate [OE-Specific]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Index: libxcb-1.11.1/src/Makefile.am
===================================================================
--- libxcb-1.11.1.orig/src/Makefile.am
+++ libxcb-1.11.1/src/Makefile.am
@@ -188,6 +188,7 @@ EXTSOURCES += xkb.c
if BUILD_XKB
lib_LTLIBRARIES += libxcb-xkb.la
libxcb_xkb_la_LDFLAGS = -version-info 1:0:0 -no-undefined
+CFLAGS += -g1
libxcb_xkb_la_LIBADD = $(XCB_LIBS)
nodist_libxcb_xkb_la_SOURCES = xkb.c xkb.h
endif

View File

@ -12,7 +12,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7"
SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2 \ SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2 \
file://xcbincludedir.patch \ file://xcbincludedir.patch \
file://disable-check.patch \ file://disable-check.patch \
file://gcc-mips-pr68302-mips-workaround.patch \
" "
SRC_URI[md5sum] = "f33cdfc67346f7217a9326c0d8679975" SRC_URI[md5sum] = "f33cdfc67346f7217a9326c0d8679975"