pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/ebview g_message is a function in GTK now, so...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e66b67b8e003
branches: trunk
changeset: 627814:e66b67b8e003
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Dec 15 19:49:36 2013 +0000
description:
g_message is a function in GTK now, so use a different name.
diffstat:
textproc/ebview/distinfo | 3 +-
textproc/ebview/patches/patch-src_dialog.c | 49 ++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+), 1 deletions(-)
diffs (68 lines):
diff -r 00662d1d14ba -r e66b67b8e003 textproc/ebview/distinfo
--- a/textproc/ebview/distinfo Sun Dec 15 19:44:39 2013 +0000
+++ b/textproc/ebview/distinfo Sun Dec 15 19:49:36 2013 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2012/06/25 11:47:22 joerg Exp $
+$NetBSD: distinfo,v 1.4 2013/12/15 19:49:36 joerg Exp $
SHA1 (ebview-0.3.6.tar.gz) = 47b63fb2f265c83cc5bf7aeb92f96d0e1cc7f9af
RMD160 (ebview-0.3.6.tar.gz) = c32de00be68c13794f2c1d9c08edc34fc5dcb613
@@ -8,4 +8,5 @@
SHA1 (patch-ac) = 642df47bfd8bd421ec3788e6054397c2a52f49ab
SHA1 (patch-ad) = d8c111b61ac1100caf6963c26e485c42616702f8
SHA1 (patch-ae) = 71043b455d7c0ea4ef237d3ab7c1c2d6f8e91f92
+SHA1 (patch-src_dialog.c) = 03d6a3c74d68b6fd67e0d8fac507b3f91e39a7f2
SHA1 (patch-src_jcode.h) = d2e581467808f6f1d0feb4bc8af2b0c5f64bf104
diff -r 00662d1d14ba -r e66b67b8e003 textproc/ebview/patches/patch-src_dialog.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ebview/patches/patch-src_dialog.c Sun Dec 15 19:49:36 2013 +0000
@@ -0,0 +1,49 @@
+$NetBSD: patch-src_dialog.c,v 1.1 2013/12/15 19:49:36 joerg Exp $
+
+--- src/dialog.c.orig 2013-12-15 15:25:57.000000000 +0000
++++ src/dialog.c
+@@ -25,7 +25,7 @@
+ #include "statusbar.h"
+
+ gboolean active=FALSE;
+-static gchar g_message[1024];
++static gchar my_message[1024];
+
+ void center_dialog(GtkWidget *window, GtkWidget *dialog){
+ gint window_x, window_y;
+@@ -69,7 +69,7 @@ gboolean idle_warning(gpointer data){
+ GTK_DIALOG_DESTROY_WITH_PARENT /* | GTK_DIALOG_NO_SEPARATOR */,
+ GTK_MESSAGE_WARNING,
+ GTK_BUTTONS_OK,
+- g_message);
++ my_message);
+ gtk_dialog_run(GTK_DIALOG(dialog));
+ gtk_widget_destroy(dialog);
+ active = FALSE;
+@@ -98,7 +98,7 @@ gboolean idle_error(gpointer data){
+ GTK_DIALOG_DESTROY_WITH_PARENT /* | GTK_DIALOG_NO_SEPARATOR */,
+ GTK_MESSAGE_ERROR,
+ GTK_BUTTONS_CLOSE,
+- g_message);
++ my_message);
+
+ gtk_dialog_run(GTK_DIALOG(dialog));
+ gtk_widget_destroy(dialog);
+@@ -114,7 +114,7 @@ void popup_warning(char *message){
+ LOG(LOG_DEBUG, "IN : popup_warning");
+
+ g_idle_add(idle_warning, (gpointer)message);
+- strcpy(g_message, message);
++ strcpy(my_message, message);
+
+ LOG(LOG_DEBUG, "OUT : popup_warning");
+ }
+@@ -123,7 +123,7 @@ void popup_error(char *message){
+
+ LOG(LOG_DEBUG, "IN : popup_error");
+
+- strcpy(g_message, message);
++ strcpy(my_message, message);
+
+ g_idle_add(idle_error, (gpointer)message);
+
Home |
Main Index |
Thread Index |
Old Index