pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/gpaint Fix GCC 3.4+: Label at end of compound...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/406fbe4e30dd
branches:  trunk
changeset: 512338:406fbe4e30dd
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat May 06 12:42:28 2006 +0000

description:
Fix GCC 3.4+: Label at end of compound statement.

diffstat:

 graphics/gpaint/distinfo         |   3 ++-
 graphics/gpaint/patches/patch-aa |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 9553ee09a63d -r 406fbe4e30dd graphics/gpaint/distinfo
--- a/graphics/gpaint/distinfo  Sat May 06 12:41:51 2006 +0000
+++ b/graphics/gpaint/distinfo  Sat May 06 12:42:28 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 08:45:07 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/05/06 12:42:28 joerg Exp $
 
 SHA1 (gpaint-0.2.tar.gz) = 09149b6eaf9c694cd2e4dac8ebbe5c48b186cbd2
 RMD160 (gpaint-0.2.tar.gz) = 0ab6187cea1ddd563a59a8549f8938fee0e8ecd1
 Size (gpaint-0.2.tar.gz) = 287257 bytes
+SHA1 (patch-aa) = c5456fbb93bdd3425162cb106e2a7cf68d5f1956
diff -r 9553ee09a63d -r 406fbe4e30dd graphics/gpaint/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gpaint/patches/patch-aa  Sat May 06 12:42:28 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2006/05/06 12:42:28 joerg Exp $
+
+--- src/util.c.orig    2006-05-06 12:18:54.000000000 +0000
++++ src/util.c
+@@ -941,7 +941,7 @@ void handle_button_move(image_buf *ibuf,
+       break;
+                 
+    default:
+-      
++      break;      
+    }
+    ibuf->mx = x;
+    ibuf->my = y;
+@@ -1092,7 +1092,7 @@ void handle_button_release(image_buf *ib
+       break;
+          
+    default:
+-      
++      break;
+    }
+    ibuf->lx = INT_MIN;
+    ibuf->ly = INT_MIN;



Home | Main Index | Thread Index | Old Index