public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/gcc] rhel-f41-base: 4.1.2-8
Date: Mon, 29 Jun 2026 12:23:14 GMT	[thread overview]
Message-ID: <178273579463.1.7257697302557223129.rpms-gcc-4a94a3ab7ca6@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : 4a94a3ab7ca66c79f491c52d0ba58c46a6b97f45
Author : Jakub Jelinek <jakub@fedoraproject.org>
Date   : 2007-04-03T15:12:10+00:00
Stats  : +40/-57 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/4a94a3ab7ca66c79f491c52d0ba58c46a6b97f45?branch=rhel-f41-base

Log:
4.1.2-8

---
diff --git a/gcc41-pr31187.patch b/gcc41-pr31187.patch
index aab8564..33d688c 100644
--- a/gcc41-pr31187.patch
+++ b/gcc41-pr31187.patch
@@ -32,7 +32,7 @@
  bool
 --- gcc/cp/decl.c	(revision 123431)
 +++ gcc/cp/decl.c	(revision 123432)
-@@ -3797,6 +3797,7 @@ start_decl (const cp_declarator *declara
+@@ -3817,6 +3817,7 @@ start_decl (const cp_declarator *declara
    tree decl;
    tree type, tem;
    tree context;
@@ -40,7 +40,7 @@
  
    *pushed_scope_p = NULL_TREE;
  
-@@ -3951,6 +3952,8 @@ start_decl (const cp_declarator *declara
+@@ -3969,6 +3970,8 @@ start_decl (const cp_declarator *declara
  		 decl);
      }
  
@@ -49,9 +49,9 @@
    /* Enter this declaration into the symbol table.  */
    tem = maybe_push_decl (decl);
  
-@@ -3971,6 +3974,17 @@ start_decl (const cp_declarator *declara
-       && !have_global_bss_p ())
-     DECL_COMMON (tem) = 1;
+@@ -3988,6 +3991,17 @@ start_decl (const cp_declarator *declara
+ 		       && (flag_conserve_space || ! TREE_PUBLIC (tem)));
+ #endif
  
 +  if (TREE_CODE (tem) == VAR_DECL
 +      && DECL_NAMESPACE_SCOPE_P (tem) && !TREE_PUBLIC (tem) && !was_public
@@ -64,10 +64,10 @@
 +      DECL_THIS_STATIC (tem) = 1;
 +    }
 +
-   if (!processing_template_decl && TREE_CODE (tem) == VAR_DECL)
-     start_decl_1 (tem, initialized);
+   if (! processing_template_decl)
+     start_decl_1 (tem);
  
-@@ -5283,14 +5297,6 @@ cp_finish_decl (tree decl, tree init, bo
+@@ -5320,14 +5334,6 @@ cp_finish_decl (tree decl, tree init, bo
  	{
  	  layout_var_decl (decl);
  	  maybe_commonize_var (decl);

diff --git a/gcc41-rh231818.patch b/gcc41-rh231818.patch
index d57512d..cbd7b82 100644
--- a/gcc41-rh231818.patch
+++ b/gcc41-rh231818.patch
@@ -58,16 +58,16 @@
 
 --- libjava/classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java	16 Mar 2007 15:14:53 -0000	1.67
 +++ libjava/classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java	2 Apr 2007 19:39:26 -0000	1.68
-@@ -402,7 +402,7 @@ public abstract class CairoGraphics2D ex
+@@ -392,7 +392,7 @@ public abstract class CairoGraphics2D ex
     */
-   protected native void cairoDrawGlyphVector(long pointer, GdkFontPeer font, 
+   native void cairoDrawGlyphVector(long pointer, GdkFontPeer font, 
                                     float x, float y, int n, 
 -                                   int[] codes, float[] positions);
 +                                   int[] codes, float[] positions, long[] fontset);
  
    /**
     * Set the font in cairo.
-@@ -1730,6 +1730,7 @@ public abstract class CairoGraphics2D ex
+@@ -1676,6 +1676,7 @@ public abstract class CairoGraphics2D ex
        {
          int n = gv.getNumGlyphs ();
          int[] codes = gv.getGlyphCodes (0, n, null);
@@ -75,28 +75,28 @@
          float[] positions = gv.getGlyphPositions (0, n, null);
  
          setFont (gv.getFont ());
-@@ -1737,7 +1738,7 @@ public abstract class CairoGraphics2D ex
-         synchronized (fontPeer) 
-           { 
-             cairoDrawGlyphVector(nativePointer, fontPeer,
--                                 x, y, n, codes, positions);
-+                                 x, y, n, codes, positions, fontset);
-           }
+@@ -1683,7 +1684,7 @@ public abstract class CairoGraphics2D ex
+ 	synchronized (fontPeer) 
+ 	  { 
+ 	    cairoDrawGlyphVector(nativePointer, fontPeer,
+-				 x, y, n, codes, positions);
++				 x, y, n, codes, positions, fontset);
+ 	  }
        }
      else
 --- libjava/classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java	16 Mar 2007 15:14:53 -0000	1.25
 +++ libjava/classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java	2 Apr 2007 19:39:26 -0000	1.26
-@@ -121,7 +121,7 @@ public class ComponentGraphics extends C
-    */
+@@ -114,7 +114,7 @@ public class ComponentGraphics extends C
+ 
    private void lock()
    {
 -    Integer i = (Integer) hasLock.get();
 +    Integer i = hasLock.get();
      if (i == null)
        {
-         start_gdk_drawing();
-@@ -136,7 +136,7 @@ public class ComponentGraphics extends C
-    */
+ 	start_gdk_drawing();
+@@ -126,7 +126,7 @@ public class ComponentGraphics extends C
+ 
    private void unlock()
    {
 -    Integer i = (Integer) hasLock.get();
@@ -104,32 +104,15 @@
      if (i == null)
        throw new IllegalStateException();
      if (i == ONE)
-@@ -144,6 +144,8 @@ public class ComponentGraphics extends C
-         hasLock.set(null);
-         end_gdk_drawing();
+@@ -134,6 +134,8 @@ public class ComponentGraphics extends C
+ 	hasLock.set(null);
+ 	end_gdk_drawing();
        }
 +    else if (i.intValue() == 2)
 +      hasLock.set(ONE);
      else
        hasLock.set(Integer.valueOf(i.intValue() - 1));
    }
-@@ -744,12 +746,14 @@ public class ComponentGraphics extends C
-   @Override
-   protected void cairoDrawGlyphVector(long pointer, GdkFontPeer font,
-                                       float x, float y, int n,
--                                      int[] codes, float[] positions)
-+                                      int[] codes, float[] positions,
-+                                      long[] fontset)
-   {
-     try
-     {
-       lock();
--      super.cairoDrawGlyphVector(pointer, font, x, y, n, codes, positions);
-+      super.cairoDrawGlyphVector(pointer, font, x, y, n, codes, positions,
-+                                 fontset);
-     }
-     finally
-     {
 --- libjava/classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java	6 Mar 2007 19:38:31 -0000	1.16
 +++ libjava/classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java	2 Apr 2007 21:28:58 -0000	1.18
 @@ -79,6 +79,11 @@ public class FreetypeGlyphVector extends
@@ -283,26 +266,26 @@
  
      for(int i = 0; i < nGlyphs; i++)
        {
--        GlyphMetrics gm = (GlyphMetrics)
--        peer.getGlyphMetrics( glyphCodes[ i ] );
-+        GlyphMetrics gm = (GlyphMetrics)peer.getGlyphMetrics(glyphCodes[i]);
-         if( gm == null )
-           {
--            double[] val = getMetricsNative( glyphCodes[ i ] );
-+            double[] val = getMetricsNative(glyphCodes[i], fontSet[i]);
-             if( val == null )
-               gm = null;
-             else
-@@ -376,7 +431,8 @@ public class FreetypeGlyphVector extends
+-	GlyphMetrics gm = (GlyphMetrics)
+-	  peer.getGlyphMetrics( glyphCodes[ i ] );
++	GlyphMetrics gm = (GlyphMetrics)peer.getGlyphMetrics(glyphCodes[i]);
+ 	if( gm == null )
+ 	  {
+-	    double[] val = getMetricsNative( glyphCodes[ i ] );
++	    double[] val = getMetricsNative(glyphCodes[i], fontSet[i]);
+ 	    if( val == null )
+ 	      gm = null;
+ 	    else
+@@ -374,7 +429,8 @@ public class FreetypeGlyphVector extends
     */
    public Shape getGlyphOutline(int glyphIndex)
    {
 -    GeneralPath gp = getGlyphOutlineNative( glyphCodes[ glyphIndex ] );
 +    GeneralPath gp = getGlyphOutlineNative(glyphCodes[glyphIndex],
-+                                           fontSet[glyphIndex]);
++					   fontSet[glyphIndex]);
+     if (glyphTransforms[glyphIndex] != null)
+       gp.transform( glyphTransforms[glyphIndex]);
      
-     AffineTransform tx = AffineTransform.getTranslateInstance(glyphPositions[glyphIndex*2],
-                                                               glyphPositions[glyphIndex*2+1]);
 --- libjava/classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h	16 Mar 2007 15:14:53 -0000	1.17
 +++ libjava/classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h	2 Apr 2007 19:39:26 -0000	1.18
 @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_gnu_java_awt

             reply	other threads:[~2026-06-29 12:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-29 12:23 Jakub Jelinek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-06-29 12:23 [rpms/gcc] rhel-f41-base: 4.1.2-8 Jakub Jelinek
2026-06-29 12:23 Jakub Jelinek
2026-06-29 12:23 Jakub Jelinek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178273579463.1.7257697302557223129.rpms-gcc-4a94a3ab7ca6@fedoraproject.org \
    --to=jakub@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox