diff options
Diffstat (limited to 'graphics/gimp/patches/patch-ae')
-rw-r--r-- | graphics/gimp/patches/patch-ae | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/graphics/gimp/patches/patch-ae b/graphics/gimp/patches/patch-ae new file mode 100644 index 00000000000..fb14aac1f32 --- /dev/null +++ b/graphics/gimp/patches/patch-ae @@ -0,0 +1,41 @@ +$NetBSD: patch-ae,v 1.5 2006/06/26 21:12:53 wiz Exp $ + +--- app/composite/gimp-composite-mmx.c.orig 2006-04-13 11:20:13.000000000 +0000 ++++ app/composite/gimp-composite-mmx.c +@@ -135,6 +135,7 @@ gimp_composite_addition_rgba8_rgba8_rgba + asm("emms"); + } + ++#if 0 + void + gimp_composite_burn_rgba8_rgba8_rgba8_mmx (GimpCompositeContext *_op) + { +@@ -250,7 +251,7 @@ gimp_composite_burn_rgba8_rgba8_rgba8_mm + + asm("emms"); + } +- ++#endif + + void + gimp_composite_darken_rgba8_rgba8_rgba8_mmx (GimpCompositeContext *_op) +@@ -1267,8 +1268,8 @@ gimp_composite_swap_rgba8_rgba8_rgba8_mm + "\tmovq %%mm3,%0\n" + "\tmovq %%mm2,%1\n" + : "+m" (*a), "+m" (*b) +- : +- : "%mm1", "%mm2", "%mm3", "%mm4"); ++ : ++ : "%mm2", "%mm3"); + a++; + b++; + } +@@ -1281,7 +1282,7 @@ gimp_composite_swap_rgba8_rgba8_rgba8_mm + "\tmovd %%mm2,%1\n" + : "+m" (*a), "+m" (*b) + : +- : "%mm1", "%mm2", "%mm3", "%mm4"); ++ : "%mm2", "%mm3"); + } + + asm("emms"); |