home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / non-ade-patches-src.tgz / tar.out / non-ADE-patches / include.diffs < prev   
Text File  |  1996-09-28  |  3KB  |  97 lines

  1. This file contains patches that need to be applied to the standard
  2. AT/VISCorp "include" files from the v40 NDUK archive.  First copy the
  3. include directory from the NDUK to ADE:os-include then cd to that
  4. directory and run:
  5.  
  6.         patch -p2 -E -b .pbak <diff-file
  7.  
  8. where 'diff-file' is this patch file.  After running patch you should
  9. remove all the generated *.pbak files, and look for any *.rej files
  10. that indicate a problem patching the files.
  11.  
  12. ============================================================================
  13.  
  14. diff -rc v40/include/clib/commodities_protos.h ade/os-include/clib/commodities_protos.h
  15. *** v40/include/clib/commodities_protos.h    Fri Oct 15 10:24:54 1993
  16. --- ade/os-include/clib/commodities_protos.h    Wed Aug 14 13:04:49 1996
  17. ***************
  18. *** 32,38 ****
  19.   
  20.   CxObj *CreateCxObj( unsigned long type, long arg1, long arg2 );
  21.   CxObj *CxBroker( struct NewBroker *nb, LONG *error );
  22. ! LONG ActivateCxObj( CxObj *co, long true );
  23.   void DeleteCxObj( CxObj *co );
  24.   void DeleteCxObjAll( CxObj *co );
  25.   ULONG CxObjType( CxObj *co );
  26. --- 32,38 ----
  27.   
  28.   CxObj *CreateCxObj( unsigned long type, long arg1, long arg2 );
  29.   CxObj *CxBroker( struct NewBroker *nb, LONG *error );
  30. ! LONG ActivateCxObj( CxObj *co, long tf );
  31.   void DeleteCxObj( CxObj *co );
  32.   void DeleteCxObjAll( CxObj *co );
  33.   ULONG CxObjType( CxObj *co );
  34. diff -rc v40/include/devices/timer.h ade/os-include/devices/timer.h
  35. *** v40/include/devices/timer.h    Fri Oct 15 10:25:08 1993
  36. --- ade/os-include/devices/timer.h    Thu Aug 15 12:54:18 1996
  37. ***************
  38. *** 22,31 ****
  39. --- 22,38 ----
  40.   
  41.   #define TIMERNAME    "timer.device"
  42.   
  43. + #ifndef _SYS_TIME_H_
  44. + /* Use whatever was included first, standard (<sys/time.h>) or
  45. +    Amiga (<devices/timer.h>) includes. */
  46.   struct timeval {
  47.       ULONG tv_secs;
  48.       ULONG tv_micro;
  49.   };
  50. + #else
  51. + #define tv_secs tv_sec
  52. + #define tv_micro tv_usec
  53. + #endif
  54.   
  55.   struct EClockVal {
  56.       ULONG ev_hi;
  57. diff -rc v40/include/libraries/mathieeedp.h ade/os-include/libraries/mathieeedp.h
  58. *** v40/include/libraries/mathieeedp.h    Fri Oct 15 10:26:02 1993
  59. --- ade/os-include/libraries/mathieeedp.h    Thu Jul  7 12:24:26 1994
  60. ***************
  61. *** 10,16 ****
  62.   */
  63.   
  64.   #ifndef PI
  65. ! #define PI    ((double)    3.141592653589793))
  66.   #endif
  67.   
  68.   #define TWO_PI    (((double)    2)    * PI)
  69. --- 10,16 ----
  70.   */
  71.   
  72.   #ifndef PI
  73. ! #define PI    ((double)    3.141592653589793)
  74.   #endif
  75.   
  76.   #define TWO_PI    (((double)    2)    * PI)
  77. diff -rc v40/include/libraries/mathieeesp.h ade/os-include/libraries/mathieeesp.h
  78. *** v40/include/libraries/mathieeesp.h    Fri Oct 15 10:26:04 1993
  79. --- ade/os-include/libraries/mathieeesp.h    Thu Jul  7 12:23:50 1994
  80. ***************
  81. *** 12,18 ****
  82.   */
  83.   
  84.   #ifndef PI
  85. ! #define PI    ((float)    3.141592653589793))
  86.   #endif
  87.   
  88.   #define TWO_PI    (((float)    2)    * PI)
  89. --- 12,18 ----
  90.   */
  91.   
  92.   #ifndef PI
  93. ! #define PI    ((float)    3.141592653589793)
  94.   #endif
  95.   
  96.   #define TWO_PI    (((float)    2)    * PI)
  97.