summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-20 11:57:41 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-20 11:57:41 +0000
commit4f56ff4b94d33a7040d0234bd799e50d6b2be8b5 (patch)
tree7e8773999e6a17f6109aa41b5c1a82a77737f01f
parentb290e75aa623afc2414450f18ff8ef1e31af2997 (diff)
downloadpkgsrc-4f56ff4b94d33a7040d0234bd799e50d6b2be8b5.tar.gz
Fix GCC 3.4+: Label at end of compound statement.
-rw-r--r--graphics/py-gdchart/distinfo4
-rw-r--r--graphics/py-gdchart/patches/patch-ab13
2 files changed, 13 insertions, 4 deletions
diff --git a/graphics/py-gdchart/distinfo b/graphics/py-gdchart/distinfo
index b562cfbb81e..607bb260c34 100644
--- a/graphics/py-gdchart/distinfo
+++ b/graphics/py-gdchart/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2005/09/02 10:22:38 rillig Exp $
+$NetBSD: distinfo,v 1.8 2005/12/20 11:57:41 joerg Exp $
SHA1 (gdchart-py-0.6.tar.gz) = 20547e8550bb8c925a3b9776739f9a5e93ce8692
RMD160 (gdchart-py-0.6.tar.gz) = 6c8e430e53ab7adf2b83a8493afe570474532a26
Size (gdchart-py-0.6.tar.gz) = 321891 bytes
SHA1 (patch-aa) = d668c308d54aceedd09f4c5e39c5ad33f32c0e47
-SHA1 (patch-ab) = b2179c1c7e1e6aee6d7d8051a7646344254ee96b
+SHA1 (patch-ab) = b4acbd6a23b97056ae18ab9a91c1d5a0b2424eb2
diff --git a/graphics/py-gdchart/patches/patch-ab b/graphics/py-gdchart/patches/patch-ab
index c6a60b0794a..165528ae74a 100644
--- a/graphics/py-gdchart/patches/patch-ab
+++ b/graphics/py-gdchart/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.1 2001/10/18 11:46:32 wiz Exp $
+$NetBSD: patch-ab,v 1.2 2005/12/20 11:57:41 joerg Exp $
---- gdc_py.c.orig Fri Mar 16 20:06:08 2001
+--- gdc_py.c.orig 2001-03-16 19:06:08.000000000 +0000
+++ gdc_py.c
@@ -33,6 +33,8 @@
#include <stdio.h>
@@ -11,3 +11,12 @@ $NetBSD: patch-ab,v 1.1 2001/10/18 11:46:32 wiz Exp $
#include "Python.h"
#include "cStringIO.h"
+@@ -1316,7 +1318,7 @@ option_dict()
+ }
+
+ default:
+-
++ break;
+ } // switch
+ opt++;
+ } // while