File eclipse-gre64.conf.patch of Package eclipse

===================================================================
RCS file: /home/eclipse/platform-launcher/library/gtk/eclipseGtk.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- platform-launcher/library/gtk/eclipseGtk.c	2005/08/16 16:19:58	1.23
+++ platform-launcher/library/gtk/eclipseGtk.c	2005/09/17 03:35:52	1.24
@@ -375,6 +375,16 @@
 		{
 			struct stat buf;
 			FILE *file = NULL;
+#if defined(__amd64__) || defined(__x86_64__)
+			if (stat("/etc/gre64.conf", &buf) == 0)
+			{
+				file = fopen("/etc/gre64.conf", "r");
+			}
+			else if (stat("/etc/gre.d/gre64.conf", &buf) == 0)
+			{
+				file = fopen("/etc/gre.d/gre64.conf", "r");
+			} else
+#endif
 			if (stat("/etc/gre.conf", &buf) == 0)
 			{
 				file = fopen("/etc/gre.conf", "r");
openSUSE Build Service is sponsored by