summaryrefslogtreecommitdiff
path: root/java/eclipse-devel/files/patch-plugins-update-src-update.c
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2005-05-07 05:00:40 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2005-05-07 05:00:40 +0000
commit0bc453c3e644edfc1514f310a3360766f95d0fb2 (patch)
tree6da7c8eeff44f013dcae1a63682175b9dd0b0fe7 /java/eclipse-devel/files/patch-plugins-update-src-update.c
parentFix the build on 4.X. (diff)
Add eclipse-devel 3.1M6, an open extensible IDE for anything and nothing
in particular. PR: ports/79917 Submitted by: various members of freebsd-java
Notes
Notes: svn path=/head/; revision=134751
Diffstat (limited to 'java/eclipse-devel/files/patch-plugins-update-src-update.c')
-rw-r--r--java/eclipse-devel/files/patch-plugins-update-src-update.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/java/eclipse-devel/files/patch-plugins-update-src-update.c b/java/eclipse-devel/files/patch-plugins-update-src-update.c
new file mode 100644
index 000000000000..532fbdb5758e
--- /dev/null
+++ b/java/eclipse-devel/files/patch-plugins-update-src-update.c
@@ -0,0 +1,18 @@
+--- plugins/org.eclipse.update.core.linux/src/update.c.orig Thu Sep 16 08:48:27 2004
++++ plugins/org.eclipse.update.core.linux/src/update.c Fri Feb 18 20:27:34 2005
+@@ -10,8 +10,15 @@
+ *******************************************************************************/
+
+ # include <sys/types.h>
++#ifdef __FreeBSD__
++# include <stdlib.h>
++# include <sys/param.h>
++# include <sys/mount.h>
++# include "update.h"
++#else
+ # include <sys/statfs.h>
+ # include <update.h>
++#endif
+
+ /*
+ * Class: org_eclipse_update_configuration_LocalSystemInfo