118-port.patch revision 1634
290N/A--- a/hw/xfree86/sdksyms.sh Fri Jan 8 15:20:10 2016
290N/A+++ b/hw/xfree86/sdksyms.sh Fri Jan 8 15:20:28 2016
290N/A@@ -302,7 +302,13 @@
290N/A LC_ALL=C
290N/A export LC_ALL
290N/A ${CPP:-cpp} "$@" sdksyms.c > /dev/null || exit $?
290N/A-${CPP:-cpp} "$@" sdksyms.c | ${AWK:-awk} -v topdir=$topdir '
290N/A+# Some cpps add spaces in the middle of __attribute__((visibility(...)))
290N/A+# so we need to remove them for the following awk script to work.
290N/A+# Changes by alanc upstream
290N/A+${CPP:-cpp} "$@" sdksyms.c | \
290N/A+ ${SED:-sed} -e 's/( /(/g' -e 's/_ (/_(/g' -e 's/ )/)/g' \
290N/A+ -e 's/visibility (/visibility(/' | \
290N/A+ ${AWK:-awk} -v topdir=$topdir '
290N/A BEGIN {
290N/A sdk = 0;
290N/A print("/*");
290N/A
290N/A--- a/hw/xfree86/drivers/modesetting/Makefile.am Thu Feb 26 13:47:39 2015
290N/A+++ b/hw/xfree86/drivers/modesetting/Makefile.am Thu Feb 26 13:48:23 2015
290N/A@@ -39,7 +39,9 @@
290N/A
290N/A modesetting_drv_la_LTLIBRARIES = modesetting_drv.la
290N/A modesetting_drv_la_LDFLAGS = -module -avoid-version
290N/A-modesetting_drv_la_LIBADD = $(UDEV_LIBS) $(DRM_LIBS)
290N/A+modesetting_drv_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
290N/A+modesetting_drv_la_LIBADD = $(UDEV_LIBS) $(DRM_LIBS) $(LIBDRM_LIBS) $(top_builddir)/fb/libfb.la $(top_builddir)/miext/shadow/libshadow.la
290N/A+
290N/A modesetting_drv_ladir = @moduledir@/drivers
290N/A
290N/A modesetting_drv_la_SOURCES = \
290N/A--- a/hw/xfree86/utils/cvt/cvt.c Sun May 3 12:41:51 2015
290N/A+++ b/hw/xfree86/utils/cvt/cvt.c Mon May 4 09:13:02 2015
290N/A@@ -39,6 +39,13 @@
290N/A {
290N/A abort();
290N/A }
290N/A+
290N/A+/* added to quieten LogMessage undefined symbol error while compiling with Studio 12.4 */
290N/A+#include "os.h"
290N/A+_X_HIDDEN void
290N/A+LogMessage(MessageType type, const char *format, ...) {
290N/A+ abort();
290N/A+}
290N/A #endif
290N/A
290N/A #include "xf86.h"
290N/A--- a/hw/dmx/config/xdmxconfig.c Mon May 4 10:01:10 2015
290N/A+++ b/hw/dmx/config/xdmxconfig.c Mon May 4 10:01:43 2015
290N/A@@ -63,6 +63,13 @@
{
abort();
}
+
+/* added to quieten LogMessage undefined symbol error while compiling with Studio 12.4 */
+#include "os.h"
+_X_HIDDEN void
+LogMessage(MessageType type, const char *format, ...) {
+ abort();
+}
#endif
#define DMX_INFO "xdmxconfig v0.9\nCopyright 2002 Red Hat Inc.\n"
--- a/glx/glxdriswrast.c Fri Jan 8 15:45:38 2016
+++ b/glx/glxdriswrast.c Fri Jan 8 15:45:53 2016
@@ -519,7 +519,7 @@
return NULL;
}
-_X_EXPORT __GLXprovider __glXDRISWRastProvider = {
+__GLXprovider __glXDRISWRastProvider = {
__glXDRIscreenProbe,
"DRISWRAST",
NULL
--- a/glx/glxscreens.c Fri Jan 8 15:46:15 2016
+++ b/glx/glxscreens.c Fri Jan 8 15:46:29 2016
@@ -193,7 +193,7 @@
return dixLookupPrivate(&pScreen->devPrivates, glxScreenPrivateKey);
}
-_X_EXPORT void
+void
GlxSetVisualConfigs(int nconfigs, void *configs, void **privates)
{
/* We keep this stub around for the DDX drivers that still
--- a/include/input.h Fri Jan 8 15:46:44 2016
+++ b/include/input.h Fri Jan 8 15:47:06 2016
@@ -604,7 +604,7 @@
xEvent *xE,
WindowPtr pWin, Window child, Bool calcChild);
extern Bool PointInBorderSize(WindowPtr pWin, int x, int y);
-extern WindowPtr XYToWindow(SpritePtr pSprite, int x, int y);
+extern _X_EXPORT WindowPtr XYToWindow(SpritePtr pSprite, int x, int y);
extern int EventIsDeliverable(DeviceIntPtr dev, int evtype, WindowPtr win);
extern Bool ActivatePassiveGrab(DeviceIntPtr dev, GrabPtr grab,
InternalEvent *ev, InternalEvent *real_event);