Package: libnotify-dev
Version: 0.3.0-1
Severity: grave
Tags: upstream patch
Justification: renders package unusable


Trying to compile something with libnotify will result in the following
error:

In file included from /usr/include/libnotify/notify.h:33:
/usr/include/libnotify/notifynotification.h:21:20: error: config.h: No
such file or directory

After chasing this a bit I've found that notifynotification.h should
include config.h conditionally, patch attached.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=es_AR, LC_CTYPE=es_AR (charmap=ISO-8859-1)

Versions of packages libnotify-dev depends on:
ii  libnotify0                    0.3.0-1    sends desktop notifications to a n

libnotify-dev recommends no packages.

-- no debconf information
--- libnotify/notifynotification.h
+++ libnotify/notifynotification.h
@@ -18,7 +18,9 @@
 
 #ifndef NOTIFY_NOTIFICATION_H
 #define NOTIFY_NOTIFICATION_H
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
 
 #include <glib.h>
 #include <glib-object.h>

Reply via email to