Prechádzať zdrojové kódy

fix building with gcc3.3

Michael van Elst 23 rokov pred
rodič
commit
059116c5a3
2 zmenil súbory, kde vykonal 14 pridanie a 1 odobranie
  1. 13 0
      mico/mico.patch
  2. 1 1
      mico/mico.spec

+ 13 - 0
mico/mico.patch

@@ -10,3 +10,16 @@ diff -Naur mico.orig/Makefile mico/Makefile
  
  install-cd:
  	for i in $(INSTALLDIRS); do $(MAKE) -C $$i install-cd || exit 1; done
+--- mico.orig/include/mico/os-math.h	2003-06-13 16:07:15.000000000 +0200
++++ mico/include/mico/os-math.h	2003-06-13 16:07:16.000000000 +0200
+@@ -280,10 +280,7 @@
+ #include <signal.h>
+ #include <sys/types.h>
+ 
+-#if !defined(__GNUG__) || !defined(__sgi)
+-// conflict for initstate ()
+ #include <math.h>
+-#endif
+ 
+ #ifdef HAVE_FLOAT_H
+ #include <float.h>

+ 1 - 1
mico/mico.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS]
 Group:        System
 License:      LGPL/GPL
 Version:      2.3.10
-Release:      20030527
+Release:      20030613
 
 #   package options
 %option       with_ssl      no