/Users/fujiik/rpm/BUILD/cernlib-2006/2006/tmp diff -uNr src.ORIG/config/MacOSX.cf src/config/MacOSX.cf --- src.ORIG/config/MacOSX.cf 2024-12-10 20:51:36 +++ src/config/MacOSX.cf 2024-12-10 21:18:10 @@ -120,6 +120,7 @@ #ifndef CcCmd #define CcCmd cc #endif +#define DefaultCCOptions -std=c9x -Wno-implicit-function-declaration -Wno-implicit-int -Wno-return-mismatch -Wno-int-conversion -Wno-builtin-declaration-mismatch #define CppCmd /opt/osxws/bin/cpp diff -uNr src.ORIG/packlib/cspack/sysreq/Imakefile src/packlib/cspack/sysreq/Imakefile --- src.ORIG/packlib/cspack/sysreq/Imakefile 2003-09-02 21:47:16 +++ src/packlib/cspack/sysreq/Imakefile 2024-12-10 20:51:36 @@ -30,7 +30,7 @@ #endif #endif -#if defined(CERNLIB_HPUX) || defined(CERNLIB_LINUX) +#if defined(CERNLIB_HPUX) || defined(CERNLIB_LINUX) && !defined(CERNLIB_MACOSX) /* Cancel the default ansi compilation */ CCOPTIONS= #endif diff -uNr src.ORIG/packlib/cspack/tcpaw/tcpaw.c src/packlib/cspack/tcpaw/tcpaw.c --- src.ORIG/packlib/cspack/tcpaw/tcpaw.c 2024-12-10 20:51:36 +++ src/packlib/cspack/tcpaw/tcpaw.c 2024-12-10 20:51:36 @@ -304,6 +304,9 @@ #include #include #include +#ifdef CERNLIB_MACOSX +#include +#endif #ifndef IBMRT /* this is a kludge, one ought to fix the "prototypes" in this file */ #include diff -uNr src.ORIG/packlib/zebra/mq/mzpaw.F src/packlib/zebra/mq/mzpaw.F --- src.ORIG/packlib/zebra/mq/mzpaw.F 1999-06-18 22:30:18 +++ src/packlib/zebra/mq/mzpaw.F 2024-12-10 21:19:56 @@ -19,8 +19,13 @@ C- The M options causes a CALL MZEBRA (-1). C- Called by ,HBOOK,KU,HIGZ +#if 0 COMMON /PAWC/ NWPAW,IXPAWC,IHBOOK,IXHIGZ,IXKU,IFENCE(5) +, LMAIN, IPAW(9989) +#else + COMMON /PAWC/ NWPAW,IXPAWC,IHBOOK,IXHIGZ,IXKU,IFENCE(5) + +, LMAIN, IPAW(9989), ipwdmy(32900000) +#endif C-------------------------------------------------------------------- CHARACTER *(*) CHOPT