Ticket #21500: patch-patches-ecj-icedtea.patch.diff

File patch-patches-ecj-icedtea.patch.diff, 4.0 KB (added by mvfranz@…, 15 years ago)
  • patches/ecj/icedtea.patch

    old new  
    694694 
    695695     /**
    696696      * Maximum exponent a finite {@code float} variable may have.  It
    697 diff -Nru openjdk-ecj.orig/jdk/src/share/native/sun/java2d/opengl/OGLContext.h openjdk-ecj/jdk/src/share/native/sun/java2d/opengl/OGLContext.h
    698 --- openjdk-ecj.orig/jdk/src/share/native/sun/java2d/opengl/OGLContext.h        2009-03-30 17:23:07.000000000 +0100
    699 +++ openjdk-ecj/jdk/src/share/native/sun/java2d/opengl/OGLContext.h     2009-07-14 17:47:13.000000000 +0100
    700 @@ -27,6 +27,7 @@
    701  #define OGLContext_h_Included
    702  
    703  #include "sun_java2d_pipe_BufferedContext.h"
    704 +#include "sun_java2d_pipe_hw_ContextCapabilities.h"
    705  #include "sun_java2d_opengl_OGLContext.h"
    706  #include "sun_java2d_opengl_OGLContext_OGLContextCaps.h"
    707  
    708 @@ -100,39 +101,39 @@
    709   * See OGLContext.java for more on these flags.
    710   */
    711  #define CAPS_EMPTY           \
    712 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_EMPTY
    713 +    sun_java2d_pipe_hw_ContextCapabilities_CAPS_EMPTY
    714  #define CAPS_RT_PLAIN_ALPHA  \
    715 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_RT_PLAIN_ALPHA
    716 +    sun_java2d_pipe_hw_ContextCapabilities_CAPS_RT_PLAIN_ALPHA
    717  #define CAPS_RT_TEXTURE_ALPHA       \
    718 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_RT_TEXTURE_ALPHA
    719 +    sun_java2d_pipe_hw_ContextCapabilities_CAPS_RT_TEXTURE_ALPHA
    720  #define CAPS_RT_TEXTURE_OPAQUE      \
    721 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_RT_TEXTURE_OPAQUE
    722 +    sun_java2d_pipe_hw_ContextCapabilities_CAPS_RT_TEXTURE_OPAQUE
    723  #define CAPS_MULTITEXTURE    \
    724 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_MULTITEXTURE
    725 +    sun_java2d_pipe_hw_ContextCapabilities_CAPS_MULTITEXTURE
    726  #define CAPS_TEXNONPOW2      \
    727 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_TEXNONPOW2
    728 +    sun_java2d_pipe_hw_ContextCapabilities_CAPS_TEXNONPOW2
    729  #define CAPS_TEXNONSQUARE    \
    730 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_TEXNONSQUARE
    731 +    sun_java2d_pipe_hw_ContextCapabilities_CAPS_TEXNONSQUARE
    732  #define CAPS_PS20            \
    733 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_PS20
    734 +    sun_java2d_pipe_hw_ContextCapabilities_CAPS_PS20
    735  #define CAPS_PS30            \
    736 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_PS30
    737 +    sun_java2d_pipe_hw_ContextCapabilities_CAPS_PS30
    738  #define LAST_SHARED_CAP      \
    739      sun_java2d_opengl_OGLContext_OGLContextCaps_LAST_SHARED_CAP
    740  #define CAPS_EXT_FBOBJECT    \
    741 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_EXT_FBOBJECT
    742 +    sun_java2d_opengl_OGLContext_00024OGLContextCaps_CAPS_EXT_FBOBJECT
    743  #define CAPS_STORED_ALPHA    \
    744 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_STORED_ALPHA
    745 +    sun_java2d_opengl_OGLContext_00024OGLContextCaps_CAPS_STORED_ALPHA
    746  #define CAPS_DOUBLEBUFFERED  \
    747 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_DOUBLEBUFFERED
    748 +    sun_java2d_opengl_OGLContext_00024OGLContextCaps_CAPS_DOUBLEBUFFERED
    749  #define CAPS_EXT_LCD_SHADER  \
    750 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_EXT_LCD_SHADER
    751 +    sun_java2d_opengl_OGLContext_00024OGLContextCaps_CAPS_EXT_LCD_SHADER
    752  #define CAPS_EXT_BIOP_SHADER \
    753 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_EXT_BIOP_SHADER
    754 +    sun_java2d_opengl_OGLContext_00024OGLContextCaps_CAPS_EXT_BIOP_SHADER
    755  #define CAPS_EXT_GRAD_SHADER \
    756 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_EXT_GRAD_SHADER
    757 +    sun_java2d_opengl_OGLContext_00024OGLContextCaps_CAPS_EXT_GRAD_SHADER
    758  #define CAPS_EXT_TEXRECT     \
    759 -    sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_EXT_TEXRECT
    760 +    sun_java2d_opengl_OGLContext_00024OGLContextCaps_CAPS_EXT_TEXRECT
    761  
    762  /**
    763   * Evaluates to true if the given capability bitmask is present for the
    764697diff -Nru openjdk-ecj.orig/langtools/make/build.properties openjdk-ecj/langtools/make/build.properties
    765698--- openjdk-ecj.orig/langtools/make/build.properties    2009-06-30 14:25:18.000000000 +0100
    766699+++ openjdk-ecj/langtools/make/build.properties 2009-07-14 17:47:13.000000000 +0100