[Fwd: [geeks] ORBit problem solved]



Heya, here's a patch to fix that IRIX problem.  Whee!  Do you want this
in bugzilla, or is the list good enough?
	Greg

-- 
Portland, Oregon, USA.


  I've now got ORBit 0.5.12 compiled under IRIX.  It was a cc
command-line syntax issue.  The ORBit IDL compiler uses cc to invoke
cpp, to preprocess the .idl files.  One fucking hyphen.  Here's the
patch:


*** ORBit-0.5.12/libIDL/util.c	Sun Dec  9 23:06:24 2001
--- ORBit-0.5.12/libIDL/util.c-orig	Sun Dec  9 23:24:31 2001
***************
*** 205,211 ****
  	char *fmt = CPP_PROGRAM " " CPP_NOSTDINC " - %s%s %s < \"%s\" 2>/dev/null";
  	char *wd = "", *dirend;
  #else
! 	char *fmt = CPP_PROGRAM " " CPP_NOSTDINC " -I -I%s %s \"%s\" 2>/dev/null";
  	char *s, *tmpfilename;
  	char cwd[2048];
  	gchar *linkto;
--- 205,211 ----
  	char *fmt = CPP_PROGRAM " " CPP_NOSTDINC " - %s%s %s < \"%s\" 2>/dev/null";
  	char *wd = "", *dirend;
  #else
! 	char *fmt = CPP_PROGRAM " " CPP_NOSTDINC " -I- -I%s %s \"%s\" 2>/dev/null";
  	char *s, *tmpfilename;
  	char cwd[2048];
  	gchar *linkto;


-- 
Dave McGuire
St. Petersburg, FL
_______________________________________________
GEEKS:  http://www.sunhelp.org/mailman/listinfo/geeks




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]