summaryrefslogtreecommitdiff
path: root/graphics/gpaint
diff options
context:
space:
mode:
authorjoerg <joerg>2006-05-06 12:42:28 +0000
committerjoerg <joerg>2006-05-06 12:42:28 +0000
commit7abfde0a2a0b259a11f93500489258a7f26d5aa4 (patch)
treee56e75e7e93b213487d6a64636e7e0b0522d5255 /graphics/gpaint
parent9efdee469ed95cf1b287cbef5fa413e760644fbd (diff)
downloadpkgsrc-7abfde0a2a0b259a11f93500489258a7f26d5aa4.tar.gz
Fix GCC 3.4+: Label at end of compound statement.
Diffstat (limited to 'graphics/gpaint')
-rw-r--r--graphics/gpaint/distinfo3
-rw-r--r--graphics/gpaint/patches/patch-aa22
2 files changed, 24 insertions, 1 deletions
diff --git a/graphics/gpaint/distinfo b/graphics/gpaint/distinfo
index d48cbf7baf4..11058f6a75b 100644
--- a/graphics/gpaint/distinfo
+++ b/graphics/gpaint/distinfo
@@ -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 --git a/graphics/gpaint/patches/patch-aa b/graphics/gpaint/patches/patch-aa
new file mode 100644
index 00000000000..09e69588d3b
--- /dev/null
+++ b/graphics/gpaint/patches/patch-aa
@@ -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;