diff options
author | rillig <rillig@pkgsrc.org> | 2005-09-22 13:01:15 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-09-22 13:01:15 +0000 |
commit | 6d0741c67916b135893988c932522bc3944c4931 (patch) | |
tree | 7ab9f6a888a0860a70805582ca271e42ebadf27c /print/evince | |
parent | 88fda7ede7f41d4445cb2517e617e3fa7cb80558 (diff) | |
download | pkgsrc-6d0741c67916b135893988c932522bc3944c4931.tar.gz |
ISO C90 does not allow declarations after code.
Diffstat (limited to 'print/evince')
-rw-r--r-- | print/evince/distinfo | 3 | ||||
-rw-r--r-- | print/evince/patches/patch-aa | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/print/evince/distinfo b/print/evince/distinfo index 06a70e02241..78d5213e452 100644 --- a/print/evince/distinfo +++ b/print/evince/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2005/08/19 16:00:18 drochner Exp $ +$NetBSD: distinfo,v 1.2 2005/09/22 13:01:15 rillig Exp $ SHA1 (evince-0.3.2.tar.bz2) = b28b9132a14c307f4b11ebbb3596e7d57301df50 RMD160 (evince-0.3.2.tar.bz2) = b07eea0960050f7563466150b2f9d7b9db0922da Size (evince-0.3.2.tar.bz2) = 703251 bytes +SHA1 (patch-aa) = df9daf757dc05ce25a262dfcf0efde65326d51fb diff --git a/print/evince/patches/patch-aa b/print/evince/patches/patch-aa new file mode 100644 index 00000000000..bc8dd8bd82e --- /dev/null +++ b/print/evince/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.1 2005/09/22 13:01:15 rillig Exp $ + +ISO C90 does not allow declarations after code. + +--- shell/ev-page-action.c.orig Sun Jun 19 15:10:20 2005 ++++ shell/ev-page-action.c Thu Sep 22 14:28:27 2005 +@@ -181,12 +181,13 @@ page_changed_cb (EvPageCache *pag + g_assert (proxy); + + if (page_cache != NULL && page >= 0) { ++ gchar *page_label; + + gtk_entry_set_width_chars (GTK_ENTRY (proxy->entry), + CLAMP (ev_page_cache_get_max_label_chars (page_cache), + 4, 12)); + +- gchar *page_label = ev_page_cache_get_page_label (page_cache, page); ++ page_label = ev_page_cache_get_page_label (page_cache, page); + gtk_entry_set_text (GTK_ENTRY (proxy->entry), page_label); + gtk_editable_set_position (GTK_EDITABLE (proxy->entry), -1); + g_free (page_label); |