Blame SOURCES/rh1176206-root.patch

045ef6
--- openjdk/common/autoconf/help.m4	2016-02-29 17:10:45.542747800 +0100
045ef6
+++ openjdk/common/autoconf/help.m4	2016-02-29 17:10:45.500748539 +0100
045ef6
@@ -112,7 +112,7 @@
045ef6
     pulse)
045ef6
       PKGHANDLER_COMMAND="sudo apt-get install libpulse-dev" ;;
045ef6
     x11)
045ef6
-      PKGHANDLER_COMMAND="sudo apt-get install libX11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev" ;;
045ef6
+      PKGHANDLER_COMMAND="sudo apt-get install libX11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev libXcomposite-dev" ;;
045ef6
     ccache)
045ef6
       PKGHANDLER_COMMAND="sudo apt-get install ccache" ;;
045ef6
   esac
045ef6
--- openjdk/common/autoconf/libraries.m4	2016-02-29 17:10:45.716744742 +0100
045ef6
+++ openjdk/common/autoconf/libraries.m4	2016-02-29 17:10:45.675745462 +0100
045ef6
@@ -153,7 +153,7 @@
045ef6
   CFLAGS="$CFLAGS $X_CFLAGS"
045ef6
 
045ef6
   # Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10
045ef6
-  AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h],
045ef6
+  AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h X11/extensions/Xcomposite.h],
045ef6
       [X11_A_OK=yes],
045ef6
       [X11_A_OK=no; break],
045ef6
       [
045ef6
@@ -167,7 +167,7 @@
045ef6
 
045ef6
   if test "x$X11_A_OK" = xno && test "x$X11_NOT_NEEDED" != xyes; then
045ef6
     HELP_MSG_MISSING_DEPENDENCY([x11])
045ef6
-    AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h XTest.h Intrinsic.h). $HELP_MSG])
045ef6
+    AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h XTest.h Intrinsic.h Xcomposite.h). $HELP_MSG])
045ef6
   fi
045ef6
 
045ef6
   AC_SUBST(X_CFLAGS)