Package: libfreerdp-dev
Version: 1.0.1-1.1+deb7u2
Severity: grave
Tags: patch
--- Please enter the report below this line. ---
Trying to build something against libfreerdp-dev leads to compilation errors
similar to the following one:
In file included from /usr/include/freerdp/gdi/gdi.h:26:0,
[...]
/usr/include/freerdp/utils/debug.h:23:20: fatal error: config.h: No such file
or directory
Please find attached a patch which fixes the issue.
--- System information. ---
Architecture: amd64
Kernel: Linux 3.5-trunk-amd64
Debian Release: 7.2
990 stable sauron
990 stable repository.hynesim.org
500 wheezy-backports mozilla.debian.net
500 wheezy apt.puppetlabs.com
500 stable security.debian.org
500 stable repository.spotify.com
500 stable ftp.fr.debian.org
500 stable dl.google.com
500 isv:ownCloud:community download.opensuse.org
100 wheezy-backports ftp.fr.debian.org
1 unstable ftp.fr.debian.org
1 testing ftp.fr.debian.org
1 experimental ftp.fr.debian.org
--- Package information. ---
Depends (Version) | Installed
====================================================-+-=====================
libfreerdp1 (= 1.0.1-1.1+deb7u2) | 1.0.1-1.1+deb7u2
libfreerdp-plugins-standard (= 1.0.1-1.1+deb7u2) | 1.0.1-1.1+deb7u2
Package's Recommends field is empty.
Package's Suggests field is empty.
--
Jean-Baptiste ROUAULT
R&D Engineer - diateam : Architectes de l'information
Phone : +33 (0)2 98 050 050 Fax : +33 (0)2 98 050 051
Index: freerdp/include/freerdp/utils/debug.h
===================================================================
--- freerdp.orig/include/freerdp/utils/debug.h 2013-02-19 09:35:03.000000000 +0100
+++ freerdp/include/freerdp/utils/debug.h 2013-02-19 09:35:25.000000000 +0100
@@ -20,8 +20,6 @@
#ifndef __UTILS_DEBUG_H
#define __UTILS_DEBUG_H
-#include "config.h"
-
#include <stdio.h>
#define DEBUG_NULL(fmt, ...) do { } while (0)
Index: freerdp/libfreerdp-core/freerdp.c
===================================================================
--- freerdp.orig/libfreerdp-core/freerdp.c 2013-02-19 09:34:31.000000000 +0100
+++ freerdp/libfreerdp-core/freerdp.c 2013-02-19 09:34:51.000000000 +0100
@@ -17,6 +17,7 @@
* limitations under the License.
*/
+#include "config.h"
#include "rdp.h"
#include "input.h"
#include "update.h"