pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/evince ISO C90 does not allow declarations after...
details: https://anonhg.NetBSD.org/pkgsrc/rev/27086368ad6e
branches: trunk
changeset: 499426:27086368ad6e
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Sep 22 13:01:15 2005 +0000
description:
ISO C90 does not allow declarations after code.
diffstat:
print/evince/distinfo | 3 ++-
print/evince/patches/patch-aa | 21 +++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 4a2653618c35 -r 27086368ad6e print/evince/distinfo
--- a/print/evince/distinfo Thu Sep 22 12:33:53 2005 +0000
+++ b/print/evince/distinfo Thu Sep 22 13:01:15 2005 +0000
@@ -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 -r 4a2653618c35 -r 27086368ad6e print/evince/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/evince/patches/patch-aa Thu Sep 22 13:01:15 2005 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index