Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv20341

Added Files:
        octave.patch 
Log Message:
oh, I guess you can't read my HD from your machine?


--- NEW FILE: octave.patch ---
diff -Nurd -x'*~' octave-3.0.5.orig/src/DLD-FUNCTIONS/__glpk__.cc 
octave-3.0.5/src/DLD-FUNCTIONS/__glpk__.cc
--- octave-3.0.5.orig/src/DLD-FUNCTIONS/__glpk__.cc     2009-01-16 
01:46:23.000000000 -0500
+++ octave-3.0.5/src/DLD-FUNCTIONS/__glpk__.cc  2010-10-15 17:50:25.000000000 
-0400
@@ -59,8 +59,20 @@
 
 #else
 
-void _glp_lib_print_hook (int (*func)(void *info, char *buf), void *info);
-void _glp_lib_fault_hook (int (*func)(void *info, char *buf), void *info);
+void _glp_lib_print_hook (int (*func)(void *info, char *buf), void *info)
+{ /* stolen from glpk-4.26 */
+      int (*hook)(void *, const char *) = (int(*)(void *, const char *))
+         (func);
+      glp_term_hook(hook, info);
+      return;
+}
+
+void _glp_lib_fault_hook (int (*func)(void *info, char *buf), void *info)
+{ /* stolen from glpk-4.26 */
+      assert(func == func);
+      assert(info == info);
+      return;
+}
 
 #endif
 }


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to