Package: cynthiune.app
Version: 0.9.5-3
Severity: serious
Tags: patch

When building 'cynthiune.app' on amd64/unstable,
I get the following internal compiler error:

CynthiuneController.m:517: warning: '_OBJC_INSTANCE_8' defined but not used
 Compiling file CynthiuneFadingTextField.m ...
CynthiuneFadingTextField.m:107: warning: '_OBJC_INSTANCE_0' defined but not used
 Compiling file CynthiuneHeaderCell.m ...
CynthiuneHeaderCell.m: In function '-[CynthiuneHeaderCell 
drawInteriorWithFrame:inView:]':
CynthiuneHeaderCell.m:100: internal compiler error: in simplify_subreg, at 
simplify-rtx.c:3807
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/ccnrMNrN.out file, please attach this to 
your bugreport.
make[2]: *** [shared_obj/CynthiuneHeaderCell.o] Error 1
make[1]: *** [Cynthiune.all.app.variables] Error 2
make[1]: Leaving directory `/cynthiune.app-0.9.5'
make: *** [build-stamp] Error 2

With the attached workaround patch 'cynthiune.app' can be compiled
on amd64 using gcc-4.1.

Regards
Andreas Jochens

diff -urN ../tmp-orig/cynthiune.app-0.9.5/CynthiuneHeaderCell.m 
./CynthiuneHeaderCell.m
--- ../tmp-orig/cynthiune.app-0.9.5/CynthiuneHeaderCell.m       2006-03-21 
07:52:16.000000000 +0000
+++ ./CynthiuneHeaderCell.m     2006-07-25 10:10:58.000000000 +0000
@@ -65,10 +65,11 @@
     pointA = 0.0;
     pointB = arrowSize.height;
   }
+  NSPoint p = NSMakePoint(0, pointA);
-  [bezier moveToPoint: RelativePoint (NSMakePoint(0, pointA), refPoint)];
+  [bezier moveToPoint: RelativePoint (p, refPoint)];
   [bezier lineToPoint: RelativePoint (NSMakePoint(arrowSize.width / 2, 
pointB), refPoint)];
   [bezier lineToPoint: RelativePoint (NSMakePoint(arrowSize.width, pointA), 
refPoint)];
-  [bezier lineToPoint: RelativePoint (NSMakePoint(0, pointA), refPoint)];
+  [bezier lineToPoint: RelativePoint (p, refPoint)];
   [bezier closePath];
   [bezier fill];
 }
@@ -90,9 +91,9 @@
     {
       NSDivideRect (cellFrame, &arrowFrame, &remainingFrame,
                     arrowWidth + arrowOffset, NSMaxXEdge);
-      refPoint = RelativePoint (NSMakePoint (0, (cellFrame.size.height
-                                                 - arrowHeight) / 2),
-                                arrowFrame.origin);
+      NSPoint p = NSMakePoint (0, (cellFrame.size.height
+                                                 - arrowHeight) / 2);
+      refPoint = RelativePoint (p, arrowFrame.origin);
       [self _drawArrowOfSize: NSMakeSize (arrowWidth, arrowHeight)
             flipped: [controlView isFlipped]
             atReferencePoint: refPoint];


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to