ports/multimedia/moonlight/files/patch-src_application.cpp
Romain Tartière 5c80951022 - Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
  devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
  devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
  graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
  multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
  www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
  x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).

PR:		ports/143657 [1]
Submitted by:	glewis [1]
2010-06-01 12:41:30 +00:00

23 lines
388 B
C++

$FreeBSD$
--- src/application.cpp.orig
+++ src/application.cpp
@@ -17,6 +17,10 @@
#include <fcntl.h>
#include <errno.h>
+#ifdef __FreeBSD__
+#include <unistd.h>
+#endif
+
#include "application.h"
#include "runtime.h"
#include "deployment.h"
@@ -369,4 +373,4 @@
Deployment::GetCurrent()->TrackPath (resource_root);
}
return resource_root;
-}
\ No newline at end of file
+}