Changes to versions of EPICS extensions distributed with EPICS 3.12.2 Mark Rivers December 7, 1995 1) src/SDDSaps/sddplots/Makefile The Makefile there first builds the subdirectory motifDriver, but the Makefile in motifDriver expects libmdbplot to exist. It does not yet exist, because the sddsplots/Makefile has not built it yet. I could not figure out how to build libmdbplot.a 2) src/SDDS/mdblib/scanargs.c This file needs several conditionals for _OSF_SOURCE cars1> diff scanargs.c.old scanargs.c 166c166 < #if defined(SUNOS4) --- > #if defined(SUNOS4) || defined(_OSF_SOURCE) 182c182 < #if defined(SUNOS4) --- > #if defined(SUNOS4) || defined(_OSF_SOURCE) 3) src/adt/repaint.c There were several calls which violated function prototypes and would not compile on SGI. These look like serious errors. cars1> diff repaint.c.old repaint.c 833c833 < XSetClipRectangles(display,areas[ia].gc,0,0,cliprect,1,Unsorted); --- > XSetClipRectangles(display,areas[ia].gc,0,0,&cliprect,1,Unsorted); 910c910 < XSetClipRectangles(display,zoomarea->gc,0,0,cliprect,1,Unsorted); --- > XSetClipRectangles(display,zoomarea->gc,0,0,&cliprect,1,Unsorted); 4) src/adt/ut.c There was a call which violated function prototypes and would not compile on SGI. This looks like a serious error. cars1> diff ut.c.old ut.c 118c118 < XGetErrorText(dpy,event->error_code,buf,BUFSIZ); --- > XGetErrorText(&dpy,event->error_code,buf,BUFSIZ); 5) /src/ar/ar/ARR_cmd.c A conditional was needed for SGI cars1> srcdiffs ARR_cmd.c 190c190 < #if defined(SOLARIS) || defined(HP_UX) --- > #if defined(SOLARIS) || defined(HP_UX) || defined(SGI) 6) /src/ar/ar/AR_cmd.c A conditional was needed for SGI cars1> srcdiffs AR_cmd.c 298c298 < #if defined(SOLARIS) || defined(HP_UX) --- > #if defined(SOLARIS) || defined(HP_UX) || defined(SGI) 7) /src/km/kmDial.c There was a problem with the include files on DEC Unix. This was fixed as follows: *** 5,12 **** --- 5,16 ---- #include #include + #if defined(_OSF_SOURCE) + #include + #else #include #include + #endif #include #include #include There were 2 logic errors in the conditionals for Sun, such that it would not compile on non-Sun platforms. These were fixed as follows: *** 90,95 **** --- 94,100 ---- break; } } + #else #endif for (n=0;n srcdiffs kmUpdate.c 66c66 < va_start(args,(void*)w); --- > va_start(args,w);