Package: libnotify-bin
Version: 0.3.2-1
Severity: important
Tags: patch
Hi,
When running notify-send on ppc it just hangs. A quick look at the source
reveals that it is a simple unsigned vs. signed char problem.
Using int instead of char for the poptGetNextOpt return value (like the
prototype says) fixes the problem.
Sjoerd
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-powerpc
Locale: LANG=C, LC_CTYPE=nl_NL (charmap=ISO-8859-1)
Versions of packages libnotify-bin depends on:
ii libc6 2.3.5-13 GNU C Library: Shared libraries an
ii libglib2.0-0 2.8.6-1 The GLib library of C routines
ii libnotify1 0.3.2-1 sends desktop notifications to a n
ii libpopt0 1.7-5 lib for parsing cmdline parameters
ii libxcursor1 1.1.3-1 X cursor management library
libnotify-bin recommends no packages.
-- no debconf information
--- libnotify-0.3.2/tools/notify-send.c 2006-01-20 11:18:07.000000000 +0100
+++ libnotify-0.3.2.patch/tools/notify-send.c 2006-02-12 14:58:07.000000000 +0100
@@ -39,7 +39,7 @@
gchar *icons = NULL;
NotifyUrgency urgency = NOTIFY_URGENCY_NORMAL;
long expire_timeout = NOTIFY_EXPIRES_DEFAULT;
- char ch;
+ int ch;
poptContext opt_ctx;
const char **args;
NotifyNotification *notify;