package mdk tag 381996 + patch thanks Upstream provided the attached patches for mdk, I'm short of time just now so I place them in the bts. Just in case I forget and someone else wants to look at it.
Baruch -------- Original Message -------- Subject: Re: Another compilation error Date: Tue, 08 Aug 2006 14:24:06 +0200 From: Jose A. Ortega Ruiz <[EMAIL PROTECTED]> Organization: IEEC To: Baruch Even <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Hi Baruch. I'm attaching a couple of patches that should fix the compilation errors (actually warnings, but i have -Werr) you reported. I noticed the docs exclusion a couple of days ago. I asked in the GNU programmers list about the status of invariant covers and, i'm afraid, as of now they're required on all FSF manuals. Sigh. I was thinking of a suboptimal solution. Although i'm a long time Debian user, i've never made a .deb, but i've looked at other documentation packages and i think i could manage to write a mdk-doc Debian package for non-free. But i don't know how to make it appear in Debian's non-free repo: would you manage this for me if i send you the package? Do you think that's a good idea? As always, thanks for you work on keeping MDK current in Debian! Cheers, jao -- New opinions are always suspected, and usually opposed, without any other reason but because they are not already common. -John Locke, philosopher (1632-1704)
--- mixguile/xmixguile_cmd_dispatcher.c.orig 2006-08-07 13:14:56.000000000 +0200
+++ mixguile/xmixguile_cmd_dispatcher.c 2006-08-07 13:17:04.000000000 +0200
@@ -61,7 +61,7 @@
mixvm_cmd_ (SCM cmd, SCM arg)
{
char *com = NULL, *argu = NULL;
- unsigned int len;
+ size_t len;
gboolean result;
SCM_ASSERT (SCM_STRINGP (cmd) || SCM_SYMBOLP (cmd),
@@ -113,7 +113,7 @@
mix_reg_ (SCM reg)
{
char *regis;
- unsigned int len;
+ size_t len;
long val = MIX_WORD_MAX + 1;
SCM_ASSERT (SCM_STRINGP (reg) || SCM_SYMBOLP (reg), reg, SCM_ARG1, "mix-reg");
@@ -151,7 +151,7 @@
mix_set_reg_ (SCM reg, SCM value)
{
char *regis;
- unsigned int len;
+ size_t len;
long val;
gboolean result = TRUE;
@@ -255,7 +255,7 @@
mix_set_cmp_ (SCM value)
{
gchar *val = NULL;
- unsigned int len;
+ size_t len;
mix_cmpflag_t result = -1;
SCM_ASSERT (SCM_STRINGP (value) || SCM_SYMBOLP (value), value, SCM_ARG1,
@@ -456,7 +456,7 @@
{
gchar *cmdstr = NULL;
mix_vm_command_t command;
- unsigned int len;
+ size_t len;
const gchar *fun = pre? "mix-add-pre-hook" : "mix-add-post-hook";
SCM_ASSERT (SCM_STRINGP (cmd) || SCM_SYMBOLP (cmd), cmd, SCM_ARG1, fun);
--- mixlib/mix_parser.c
+++ mixlib/mix_parser.c
@@ -2,7 +2,7 @@
* Implementation of the functions declared in mix_parser.h and
* xmix_parser.h
* ------------------------------------------------------------------
- * Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
+ * Copyright (C) 2000, 2001, 2003, 2004, 2006 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -494,7 +494,7 @@
{
list = g_hash_table_lookup (parser->future_refs, name);
if ( list == NULL ) nname = g_strdup (name);
- list = g_slist_prepend (list, (gpointer)((guint)parser->loc_count));
+ list = g_slist_prepend (list, GUINT_TO_POINTER ((guint)parser->loc_count));
g_hash_table_insert (parser->future_refs, (gpointer)nname, list);
}
}
--- mixlib/mix_symbol_table.c
+++ mixlib/mix_symbol_table.c
@@ -1,7 +1,7 @@
/* -*-c-*- -------------- mix_symbol_table.c :
* Implementation of the functions declared in mix_symbol_table.h
* ------------------------------------------------------------------
- * Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc.
+ * Copyright (C) 2000, 2001, 2004, 2006 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -122,7 +122,7 @@
if ( !g_hash_table_lookup_extended (table, sym, &key, &val) )
{
key = g_strdup (sym);
- g_hash_table_insert (table, key, (gpointer)value);
+ g_hash_table_insert (table, key, GINT_TO_POINTER (value));
return MIX_SYM_OK;
}
else
@@ -141,0 +141,0 @@
if ( !g_hash_table_lookup_extended (table, sym, &key, &val) )
key = g_strdup (sym);
- g_hash_table_insert (table, key, (gpointer)new_value);
+ g_hash_table_insert (table, key, GINT_TO_POINTER (new_value));
return MIX_SYM_OK;
}
file:///tmp/nsmail.pgp
Description: PGP signature

