[Mono-bugs] [Bug 52116][Nor] New - gdiplus does not compile using cairo built from cvs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 12 Dec 2003 14:18:24 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gert.driesen@pandora.be.

http://bugzilla.ximian.com/show_bug.cgi?id=52116

--- shadow/52116	2003-12-12 14:18:24.000000000 -0500
+++ shadow/52116.tmp.32301	2003-12-12 14:18:24.000000000 -0500
@@ -0,0 +1,29 @@
+Bug#: 52116
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: Gentoo 1.4 R9
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System.Drawing.
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: gdiplus does not compile using cairo built from cvs
+
+apparently gdiplus still includes an old cairo header file, which has now
+been deprecated and merged into cairo.h.
+
+This causes the following compile error :
+
+make[1]: Entering directory `/home/gert/mono/mcs/class/System.Drawing/gdiplus'
+gcc -g -Wall  `pkg-config --cflags cairo mono` -g -O2 -c -o bitmap.o bitmap.c
+In file included from bitmap.c:26:
+gdip.h:19:24: cairo-xlib.h: No such file or directory
+
+I attached a small patch which fixes this, can someone commit this ?