diff options
Diffstat (limited to 'x11-toolkits/iv')
-rw-r--r-- | x11-toolkits/iv/Makefile | 31 | ||||
-rw-r--r-- | x11-toolkits/iv/files/patch-aa | 266 | ||||
-rw-r--r-- | x11-toolkits/iv/files/patch-ab | 26 | ||||
-rw-r--r-- | x11-toolkits/iv/files/patch-ac | 15 | ||||
-rw-r--r-- | x11-toolkits/iv/files/patch-ad | 271 | ||||
-rw-r--r-- | x11-toolkits/iv/pkg-comment | 1 | ||||
-rw-r--r-- | x11-toolkits/iv/pkg-descr | 155 | ||||
-rw-r--r-- | x11-toolkits/iv/pkg-plist | 2 | ||||
-rw-r--r-- | x11-toolkits/iv/scripts/configure | 11 |
9 files changed, 0 insertions, 778 deletions
diff --git a/x11-toolkits/iv/Makefile b/x11-toolkits/iv/Makefile deleted file mode 100644 index 110a71f6a47a..000000000000 --- a/x11-toolkits/iv/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# New ports collection makefile for: iv -# Version required: 3.1 -# Date created: 23.sept.1994 -# Whom: adam -# -# $Id: Makefile,v 1.6 1995/04/16 15:33:42 ache Exp $ -# - -VERSION= 3.1 -# don't change this to "=" ! -DISTNAME?= iv-${VERSION} -MASTER_SITES= ftp://interviews.stanford.edu/pub/ -EXTRACT_SUFX= .tar.Z -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} - -WRKSRC= ${WRKDIR}/iv -MAKEFILE= makefile - -.if ${DISTNAME} != ${VERSION} -pre-fetch: - @if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \ - mkdir -p ${DISTDIR}/${DISTNAME} ; \ - ${MAKE} \ - DISTDIR=${DISTDIR}/${DISTNAME} DISTNAME=${VERSION} fetch ; \ - mv ${DISTDIR}/${DISTNAME}/${VERSION}${EXTRACT_SUFX} \ - ${DISTDIR}/${DISTFILES} ; \ - rmdir ${DISTDIR}/${DISTNAME} ; \ - fi -.endif - -.include <bsd.port.mk> diff --git a/x11-toolkits/iv/files/patch-aa b/x11-toolkits/iv/files/patch-aa deleted file mode 100644 index 3f053c293609..000000000000 --- a/x11-toolkits/iv/files/patch-aa +++ /dev/null @@ -1,266 +0,0 @@ -*** src/bin/iclass/dialogs.c Wed Sep 23 09:45:09 1992 ---- /usr/oports/x11/iv/src/bin/iclass/dialogs.c Tue Apr 26 17:01:39 1994 -*************** -*** 45,51 **** - #if !defined(AIXV3) && !defined(hpux) && !(defined(sun) && OSMajorVersion >= 5) - /* sigh, not all systems have this prototype */ - extern "C" { -! char* getcwd(char*, int); - } - #endif - ---- 45,51 ---- - #if !defined(AIXV3) && !defined(hpux) && !(defined(sun) && OSMajorVersion >= 5) - /* sigh, not all systems have this prototype */ - extern "C" { -! char* getcwd(char*, unsigned int); - } - #endif - -*** src/bin/scripts/Imakefile Thu Sep 12 15:01:39 1991 ---- /usr/oports/x11/iv/src/bin/scripts/Imakefile Tue Apr 26 17:01:52 1994 -*************** -*** 11,16 **** ---- 11,17 ---- - - AllTarget($(PROGRAMS)) - -+ CPP = /usr/bin/cpp - CppScriptTarget(cpu,cpu.cpp,-DCPU='"'"$(ARCH)"'"',always) - CppScriptTarget(ibmkmf,ibmkmf.cpp,-DCONFIGDIRSPEC='$(CONFIGDIRSPEC)',always) - CppScriptTarget(ivmkmf,ivmkmf.cpp,-DCONFIGDIRSPEC='$(CONFIGDIRSPEC)',always) -*** src/bin/scripts/remind.cpp Wed Jun 3 21:37:00 1992 ---- /usr/oports/x11/iv/src/bin/scripts/remind.cpp Tue Apr 26 17:01:53 1994 -*************** -*** 34,40 **** - ' > $tmp - - cat $MacrosFile $RemindersFile \ -! | /lib/cpp \ - | egrep -f $tmp \ - | awk ' - /[0-9][0-9]?:[0-9][0-9]?/ { ---- 34,40 ---- - ' > $tmp - - cat $MacrosFile $RemindersFile \ -! | /usr/bin/cpp \ - | egrep -f $tmp \ - | awk ' - /[0-9][0-9]?:[0-9][0-9]?/ { -*** src/config/InterViews/TIFF.def Fri Dec 11 15:33:54 1992 ---- /usr/oports/x11/iv/src/config/InterViews/TIFF.def Tue Apr 26 17:01:54 1994 -*************** -*** 90,95 **** ---- 90,100 ---- - * - */ - #ifndef TIFFStdCDefines -+ #if defined(FreeBSDArchitecture) -+ #define TIFFStdCDefines \ -+ -DCOLORIMETRY_SUPPORT -DYCBCR_SUPPORT -DMMAP_SUPPORT \ -+ -DHAVE_IEEEFP=1 -DUSE_VARARGS=1 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -+ #endif - #if defined(SGIArchitecture) - #define TIFFStdCDefines \ - -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT \ -*** src/config/InterViews/arch.def Fri Dec 11 15:34:52 1992 ---- /usr/oports/x11/iv/src/config/InterViews/arch.def Tue Apr 26 17:01:55 1994 -*************** -*** 385,390 **** ---- 385,400 ---- - #define MacroFile InterViews/iv-convex.cf - #endif /* __convex__ */ - -+ #ifdef __FreeBSD__ -+ #undef freebsd -+ #undef FREEBSD -+ #define FreeBSDArchitecture -+ #define ArchitectureName FREEBSD -+ #define architectureName freebsd -+ #define MacroIncludeFile <InterViews/iv-freebsd.cf> -+ #define MacroFile InterViews/iv-freebsd.cf -+ #endif -+ - #ifndef ArchitectureName - XCOMM WARNING: Imakefile not configured; guessing at definitions!!! - XCOMM This might mean that BOOTSTRAPCFLAGS was not set when building imake. -*** src/config/InterViews/local.def Tue Nov 24 12:08:51 1992 ---- /usr/oports/x11/iv/src/config/InterViews/local.def Thu Jun 16 18:34:11 1994 -*************** -*** 8,14 **** - /* - * If you are using gcc/g++, then uncomment the include below. - */ -! /* #include <InterViews/gcc.def> */ - - /* - * Default customization of kits. ---- 8,19 ---- - /* - * If you are using gcc/g++, then uncomment the include below. - */ -! #include <InterViews/gcc.def> -! -! #if defined(FreeBSDArchitecture) -! #undef HasSunOSSharedLibs -! #define HasSunOSSharedLibs YES -! #endif - - /* - * Default customization of kits. -*************** -*** 33,38 **** ---- 38,48 ---- - #define BuildRPCClasses YES - #endif - -+ #if defined (FreeBSDArchitecture) -+ #undef BuildRPCClasses -+ #define BuildRPCClasses NO -+ #endif -+ - /* - * Delete this definition if your /tmp space is less than five megabytes. - */ -*************** -*** 49,55 **** - * installed data files. - */ - #undef InstalledRoot -! #define InstalledRoot /interviews - - /* - * If the X11 config files are not in /usr/lib/X11/config, the X11 ---- 59,65 ---- - * installed data files. - */ - #undef InstalledRoot -! #define InstalledRoot /usr/local/interviews - - /* - * If the X11 config files are not in /usr/lib/X11/config, the X11 -*************** -*** 60,70 **** - * If you have to set XConfigDir, don't forget to override XCONFIGDIR - * on the command line when saying "make World" for the first time. - */ -! /* - #undef XConfigDir -! #define XConfigDir /usr/X11R5/lib/X11/config - #undef XIncDir -! #define XIncDir /usr/X11R5/include - #undef XLibDir -! #define XLibDir /usr/X11R5/lib -! */ ---- 70,80 ---- - * If you have to set XConfigDir, don't forget to override XCONFIGDIR - * on the command line when saying "make World" for the first time. - */ -! - #undef XConfigDir -! #define XConfigDir /usr/X11R6/lib/X11/config - #undef XIncDir -! #define XIncDir /usr/X11R6/include - #undef XLibDir -! #define XLibDir /usr/X11R6/lib -! -*** src/config/InterViews/rules.def Thu Sep 24 15:06:33 1992 ---- /usr/oports/x11/iv/src/config/InterViews/rules.def Thu Jun 16 18:34:12 1994 -*************** -*** 399,404 **** ---- 399,421 ---- - /* - * Make a shared library. - */ -+ #if defined(FreeBSDArchitecture) -+ #define NormalSunOSSharedLibraryTarget(libname,rev,depobjs,ldobjs) @@\ -+ AOUT = Concat(lib,libname.so.rev) @@\ -+ SHARED_CCFLAGS = SharedCCFlags @@\ -+ @@\ -+ AllTarget(Concat(lib,libname.so.rev)) @@\ -+ @@\ -+ Concat(lib,libname.so.rev): depobjs @@\ -+ @echo "building $@" @@\ -+ $(RM) $@~ @@\ -+ $(LD) -o $@~ -Bshareable ldobjs @@\ -+ $(RM) $@ @@\ -+ $(MV) $@~ $@ @@\ -+ @@\ -+ clean:: @@\ -+ $(RM) Concat(lib,libname.so.rev) -+ #else - #ifndef NormalSunOSSharedLibraryTarget - #if OSMajorVersion < 5 - #define NormalSunOSSharedLibraryTarget(libname,rev,depobjs,ldobjs) @@\ -*************** -*** 434,439 **** ---- 451,457 ---- - @@\ - clean:: @@\ - $(RM) Concat(lib,libname.so.rev) -+ #endif - #endif - #endif - -*** src/lib/IV-X11/xwindow.c Mon Nov 23 12:26:43 1992 ---- /usr/oports/x11/iv/src/lib/IV-X11/xwindow.c Tue Apr 26 17:03:44 1994 -*************** -*** 64,70 **** - - /* no standard place for this */ - extern "C" { -! extern int ioctl(int, int, ...); - } - - implementPtrList(WindowVisualList,WindowVisual) ---- 64,70 ---- - - /* no standard place for this */ - extern "C" { -! extern int ioctl(int, long unsigned int, ...); - } - - implementPtrList(WindowVisualList,WindowVisual) -*** src/lib/OS/string.c Mon Jul 13 10:54:03 1992 ---- /usr/oports/x11/iv/src/lib/OS/string.c Thu Jun 16 18:37:30 1994 -*************** -*** 31,41 **** ---- 31,43 ---- - */ - - extern "C" { -+ #ifndef __FreeBSD__ - #ifndef tolower - extern int tolower(int); - #endif - #ifndef toupper - extern int toupper(int); -+ #endif - #endif - extern long int strtol(const char*, char**, int); - extern double strtod(const char*, char**); -*** src/lib/TIFF/mkg3states.c Fri Mar 6 11:11:03 1992 ---- /usr/oports/x11/iv/src/lib/TIFF/mkg3states.c Tue Apr 26 17:03:59 1994 -*************** -*** 68,73 **** ---- 68,74 ---- - * END (from the original source) - */ - #include <stdio.h> -+ #define va_dcl /**/ - #include "prototypes.h" - - #ifndef TRUE -*** src/lib/TIFF/prototypes.h Tue Feb 18 18:20:12 1992 ---- /usr/oports/x11/iv/src/lib/TIFF/prototypes.h Tue Apr 26 17:03:59 1994 -*************** -*** 25,30 **** ---- 25,31 ---- - */ - - #if USE_PROTOTYPES -+ va_dcl - #define DECLARE1(f,t1,a1) f(t1 a1) - #define DECLARE2(f,t1,a1,t2,a2) f(t1 a1, t2 a2) - #define DECLARE3(f,t1,a1,t2,a2,t3,a3) f(t1 a1, t2 a2, t3 a3) diff --git a/x11-toolkits/iv/files/patch-ab b/x11-toolkits/iv/files/patch-ab deleted file mode 100644 index 64d9ce8ea2a8..000000000000 --- a/x11-toolkits/iv/files/patch-ab +++ /dev/null @@ -1,26 +0,0 @@ -*** makefile.old Sat Sep 24 06:49:19 1994 ---- makefile Sat Sep 24 05:47:49 1994 -*************** -*** 0 **** ---- 1,21 ---- -+ CPU=FREEBSD -+ -+ all: src/Makefile -+ @$(MAKE) $(.MAKEFLAGS) -f Makefile 'CPU=$(CPU)' -+ -+ # simple but brutal. Will not install to multiple destinations simultaneously. -+ install: Makefile -+ @rm -rf installed ${DESTDIR}/usr/local/interviews -+ @mkdir -p ${DESTDIR}/usr/local/interviews -+ @ln -s ${DESTDIR}/usr/local/interviews installed -+ @$(MAKE) $(.MAKEFLAGS) -f Makefile 'CPU=$(CPU)' $@ -+ -+ src/Makefile: Makefile -+ @$(MAKE) Makefiles -+ -+ Makefile: -+ imake -T "InterViews/template" -I./src/config \ -+ -I/usr/X386/lib/X11/config -DTOPDIR=. -DCURDIR=. -+ -+ .DEFAULT: src/Makefile -+ @$(MAKE) $(.MAKEFLAGS) -f Makefile 'CPU=$(CPU)' $@ diff --git a/x11-toolkits/iv/files/patch-ac b/x11-toolkits/iv/files/patch-ac deleted file mode 100644 index e3e6ef75aca2..000000000000 --- a/x11-toolkits/iv/files/patch-ac +++ /dev/null @@ -1,15 +0,0 @@ -*** src/config/InterViews/iv-freebsd.cf Mon Oct 31 17:31:42 1994 ---- src/config/InterViews/iv-freebsd.cf Mon Oct 31 17:36:04 1994 -*************** -*** 0 **** ---- 1,10 ---- -+ #include <InterViews/xparams.cf> -+ #undef CppCmd -+ #define CppCmd cpp -+ #undef CCDriver -+ #define CCDriver c++ -+ #undef DependCCFlags -+ #define DependCCFlags $(CCDEFINES) $(CCINCLUDES) -I/usr/include/g++ -+ #undef ExtraCCLdLibs -+ #define ExtraCCLdLibs -lg++ -+ #define SharedCCFlags -fpic diff --git a/x11-toolkits/iv/files/patch-ad b/x11-toolkits/iv/files/patch-ad deleted file mode 100644 index 0ce7c387d1d2..000000000000 --- a/x11-toolkits/iv/files/patch-ad +++ /dev/null @@ -1,271 +0,0 @@ -diff -rc work-orig/iv/src/include/IV-X11/xwindow.h work/iv/src/include/IV-X11/xwindow.h -*** work-orig/iv/src/include/IV-X11/xwindow.h Fri Sep 25 07:46:22 1992 ---- ./src/include/IV-X11/xwindow.h Sun May 28 12:49:16 1995 -*************** -*** 46,53 **** - class Style; - class WindowCursorStack; - class WindowTable; - class XDisplay; -! - struct WindowOverlayInfo { - VisualID id_; - long type_; ---- 46,58 ---- - class Style; - class WindowCursorStack; - class WindowTable; -+ /* -+ * modified by jj@ldjpc.apana.org.au -+ * -+ * this seems to break the compile... - class XDisplay; -! * -! */ - struct WindowOverlayInfo { - VisualID id_; - long type_; -diff -rc work-orig/iv/src/lib/TIFF/prototypes.h work/iv/src/lib/TIFF/prototypes.h -*** work-orig/iv/src/lib/TIFF/prototypes.h Sun May 28 12:39:56 1995 ---- ./src/lib/TIFF/prototypes.h Sun May 28 14:21:04 1995 -*************** -*** 25,31 **** - */ - - #if USE_PROTOTYPES -- va_dcl - #define DECLARE1(f,t1,a1) f(t1 a1) - #define DECLARE2(f,t1,a1,t2,a2) f(t1 a1, t2 a2) - #define DECLARE3(f,t1,a1,t2,a2,t3,a3) f(t1 a1, t2 a2, t3 a3) ---- 25,30 ---- -diff -rc work-orig/iv/src/lib/TIFF/tif_aux.c work/iv/src/lib/TIFF/tif_aux.c -*** work-orig/iv/src/lib/TIFF/tif_aux.c Sat Mar 28 08:23:06 1992 ---- ./src/lib/TIFF/tif_aux.c Sun May 28 14:15:50 1995 -*************** -*** 42,47 **** ---- 42,49 ---- - * explcit values so that defaults exist only one - * place in the library -- in TIFFDefaultDirectory. - */ -+ ; -+ /* for some reason it needs a ; before this line */ - TIFFVGetFieldDefaulted(tif, tag, ap) - TIFF *tif; - int tag; -diff -rc work-orig/iv/src/lib/TIFF/tif_dir.c work/iv/src/lib/TIFF/tif_dir.c -*** work-orig/iv/src/lib/TIFF/tif_dir.c Sat Mar 7 06:29:51 1992 ---- ./src/lib/TIFF/tif_dir.c Sun May 28 13:00:03 1995 -*************** -*** 950,956 **** - } - if (tif->tif_flags & TIFF_SWAB) - TIFFSwabShort(&dircount); -! lseek(tif->tif_fd, dircount*sizeof (TIFFDirEntry), L_INCR); - if (!ReadOK(tif->tif_fd, &nextdir, sizeof (nextdir))) { - TIFFError(module, "%s: Error fetching directory link", - tif->tif_name); ---- 950,957 ---- - } - if (tif->tif_flags & TIFF_SWAB) - TIFFSwabShort(&dircount); -! /*added (off_t) .. jj@ldjpc.apana.org.au*/ -! lseek(tif->tif_fd, (off_t)(dircount*sizeof (TIFFDirEntry)), L_INCR); - if (!ReadOK(tif->tif_fd, &nextdir, sizeof (nextdir))) { - TIFFError(module, "%s: Error fetching directory link", - tif->tif_name); -diff -rc work-orig/iv/src/lib/TIFF/tif_dirwrite.c work/iv/src/lib/TIFF/tif_dirwrite.c -*** work-orig/iv/src/lib/TIFF/tif_dirwrite.c Wed Mar 18 05:39:29 1992 ---- ./src/lib/TIFF/tif_dirwrite.c Sun May 28 12:57:11 1995 -*************** -*** 177,183 **** - dataoff = tif->tif_diroff + sizeof (short) + dirsize + sizeof (long); - if (dataoff & 1) - dataoff++; -! (void) lseek(tif->tif_fd, dataoff, L_SET); - tif->tif_curdir++; - dir = (TIFFDirEntry *)data; - /* ---- 177,184 ---- - dataoff = tif->tif_diroff + sizeof (short) + dirsize + sizeof (long); - if (dataoff & 1) - dataoff++; -! /* added (off_t) below.....jj@ldjpc.apana.org.au*/ -! (void) lseek(tif->tif_fd, (off_t)(dataoff), L_SET); - tif->tif_curdir++; - dir = (TIFFDirEntry *)data; - /* -*************** -*** 314,320 **** - /* - * Write directory. - */ -! (void) lseek(tif->tif_fd, tif->tif_diroff, L_SET); - dircount = nfields; - if (!WriteOK(tif->tif_fd, &dircount, sizeof (short))) { - TIFFError(tif->tif_name, "Error writing directory count"); ---- 315,322 ---- - /* - * Write directory. - */ -! /*added (off_t) below.....jj@ldjpc.apana.org.au*/ -! (void) lseek(tif->tif_fd, (off_t)(tif->tif_diroff), L_SET); - dircount = nfields; - if (!WriteOK(tif->tif_fd, &dircount, sizeof (short))) { - TIFFError(tif->tif_name, "Error writing directory count"); -*************** -*** 762,774 **** - u_short dircount; - long nextdir; - -! tif->tif_diroff = (lseek(tif->tif_fd, 0L, L_XTND)+1) &~ 1L; - if (tif->tif_header.tiff_diroff == 0) { - /* - * First directory, overwrite header. - */ - tif->tif_header.tiff_diroff = tif->tif_diroff; -! (void) lseek(tif->tif_fd, 0L, L_SET); - if (!WriteOK(tif->tif_fd, &tif->tif_header, - sizeof (tif->tif_header))) { - TIFFError(tif->tif_name, "Error writing TIFF header"); ---- 764,778 ---- - u_short dircount; - long nextdir; - -! /* changed 0L to (off_t)0 below...jj@ldjpc.apana.org.au*/ -! tif->tif_diroff = (lseek(tif->tif_fd, (off_t)0, L_XTND)+1) &~ 1L; - if (tif->tif_header.tiff_diroff == 0) { - /* - * First directory, overwrite header. - */ - tif->tif_header.tiff_diroff = tif->tif_diroff; -! /* changed 0L to (off_t)0 .. jj@ldjpc.apana.org.au*/ -! (void) lseek(tif->tif_fd, (off_t)0, L_SET); - if (!WriteOK(tif->tif_fd, &tif->tif_header, - sizeof (tif->tif_header))) { - TIFFError(tif->tif_name, "Error writing TIFF header"); -*************** -*** 788,794 **** - } - if (tif->tif_flags & TIFF_SWAB) - TIFFSwabShort(&dircount); -! lseek(tif->tif_fd, dircount * sizeof (TIFFDirEntry), L_INCR); - if (!ReadOK(tif->tif_fd, &nextdir, sizeof (nextdir))) { - TIFFError(module, "Error fetching directory link"); - return (0); ---- 792,799 ---- - } - if (tif->tif_flags & TIFF_SWAB) - TIFFSwabShort(&dircount); -! /*added (off_t) below....jj@ldjpc.apana.org.au*/ -! lseek(tif->tif_fd, (off_t)(dircount * sizeof (TIFFDirEntry)), L_INCR); - if (!ReadOK(tif->tif_fd, &nextdir, sizeof (nextdir))) { - TIFFError(module, "Error fetching directory link"); - return (0); -*************** -*** 796,802 **** - if (tif->tif_flags & TIFF_SWAB) - TIFFSwabLong((u_long *)&nextdir); - } while (nextdir != 0); -! (void) lseek(tif->tif_fd, -sizeof (nextdir), L_INCR); - if (!WriteOK(tif->tif_fd, &tif->tif_diroff, sizeof (tif->tif_diroff))) { - TIFFError(module, "Error writing directory link"); - return (0); ---- 801,808 ---- - if (tif->tif_flags & TIFF_SWAB) - TIFFSwabLong((u_long *)&nextdir); - } while (nextdir != 0); -! /*added (off_t) below ... jj@ldjpc.apana.org.au*/ -! (void) lseek(tif->tif_fd, (off_t)(-sizeof (nextdir)), L_INCR); - if (!WriteOK(tif->tif_fd, &tif->tif_diroff, sizeof (tif->tif_diroff))) { - TIFFError(module, "Error writing directory link"); - return (0); -diff -rc work-orig/iv/src/lib/TIFF/tif_write.c work/iv/src/lib/TIFF/tif_write.c -*** work-orig/iv/src/lib/TIFF/tif_write.c Tue Feb 11 13:36:47 1992 ---- ./src/lib/TIFF/tif_write.c Sun May 28 12:57:57 1995 -*************** -*** 550,556 **** - } - } else - td->td_stripoffset[strip] = -! lseek(tif->tif_fd, 0L, L_XTND); - tif->tif_curoff = td->td_stripoffset[strip]; - } - if (!WriteOK(tif->tif_fd, data, cc)) { ---- 550,557 ---- - } - } else - td->td_stripoffset[strip] = -! /*changed 0L to (off_t)0 .. jj@ldjpc.apana.org.au*/ -! lseek(tif->tif_fd, (off_t)0, L_XTND); - tif->tif_curoff = td->td_stripoffset[strip]; - } - if (!WriteOK(tif->tif_fd, data, cc)) { -diff -rc work-orig/iv/src/lib/TIFF/tiffcompat.h work/iv/src/lib/TIFF/tiffcompat.h -*** work-orig/iv/src/lib/TIFF/tiffcompat.h Tue Mar 31 12:01:04 1992 ---- ./src/lib/TIFF/tiffcompat.h Sun May 28 14:13:59 1995 -*************** -*** 154,160 **** - #define lseek mpw_lseek - extern long mpw_lseek(int, long, int); - #else -! extern long lseek(); - #endif - - /* ---- 154,161 ---- - #define lseek mpw_lseek - extern long mpw_lseek(int, long, int); - #else -! /*changed to the correct one...jj@ldjpc.apana.org.au*/ -! extern off_t lseek(); - #endif - - /* -*************** -*** 163,170 **** - #ifndef ReadOK - #define ReadOK(fd, buf, size) (read(fd, (char *)buf, size) == size) - #endif - #ifndef SeekOK -! #define SeekOK(fd, off) (lseek(fd, (long)off, L_SET) == (long)off) - #endif - #ifndef WriteOK - #define WriteOK(fd, buf, size) (write(fd, (char *)buf, size) == size) ---- 164,172 ---- - #ifndef ReadOK - #define ReadOK(fd, buf, size) (read(fd, (char *)buf, size) == size) - #endif -+ /*changed (long) to (off_t) to compile....jj@ldjpc.apana.org.au*/ - #ifndef SeekOK -! #define SeekOK(fd, off) (lseek(fd, (off_t)off, L_SET) == (off_t)off) - #endif - #ifndef WriteOK - #define WriteOK(fd, buf, size) (write(fd, (char *)buf, size) == size) -*************** -*** 202,211 **** - */ - #if defined(__STDC__) && !defined(USE_VARARGS) - #define USE_VARARGS 0 - #endif - - #if defined(USE_VARARGS) -! #if USE_VARARGS - #include <varargs.h> - #define VA_START(ap, parmN) va_start(ap) - #else ---- 204,218 ---- - */ - #if defined(__STDC__) && !defined(USE_VARARGS) - #define USE_VARARGS 0 -+ #else -+ #if defined(__FreeBSD__) -+ #undef USE_VARARGS -+ #define USE_VARARGS 0 -+ #endif - #endif - - #if defined(USE_VARARGS) -! #if USE_VARARGS && !defined(__FreeBSD__) - #include <varargs.h> - #define VA_START(ap, parmN) va_start(ap) - #else diff --git a/x11-toolkits/iv/pkg-comment b/x11-toolkits/iv/pkg-comment deleted file mode 100644 index bfaeb7ee2917..000000000000 --- a/x11-toolkits/iv/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -InterViews 3.1 from Stanford University and Silicon Graphics. diff --git a/x11-toolkits/iv/pkg-descr b/x11-toolkits/iv/pkg-descr deleted file mode 100644 index a3de1d83a592..000000000000 --- a/x11-toolkits/iv/pkg-descr +++ /dev/null @@ -1,155 +0,0 @@ -* How to use InterViews - -After installation, you can start using InterViews by putting the following -lines in your .cshrc: - - setenv CPU FREEBSD - setenv MANPATH $MANPATH:/usr/local/interviews/man - setenv PATH $PATH:/usr/local/interviews/bin/$CPU - -Once you have /usr/local/interviews/bin/$CPU in your PATH, you can use the -InterViews script "ivmkmf" to generate Makefiles for your own -InterViews applications. You have to write an Imakefile first, but -you can do that by copying one of the Imakefiles in iv/src/bin and -replacing the filenames with the names of your application's source -files. Saying "ivmkmf" will generate a Makefile that contains the -appropriate -I and -L flags for using the InterViews includes and -libraries when building your application. - -* How to write an Imakefile - -The easiest way to write an Imakefile is to start with a copy of a -similar Imakefile and modify it. If you use only 3.1 classes, you can -copy alert's Imakefile. If you use both 3.1 and 2.6 classes, you can -copy doc's Imakefile. If you use only 2.6 classes, you can copy dclock's -Imakefile. If you use the Unidraw library, you can copy idraw's -Imakefile. Reading the config files to understand how the rules are -defined will also help if you need to do anything complicated. - -Some make variables are reserved for your application's use. You can -compile your application with special compiler flags, defines, -includes, linker flags, or libraries by setting APP_CCFLAGS, -APP_CCDEFINES, APP_CCINCLUDES, APP_CCLDFLAGS, or APP_CCLDLIBS in your -Imakefile. You can make your application depend on libraries by -setting APP_CCDEPLIBS. - -You can cause your application to be linked with InterViews libraries -bu using one and only one of the macros Use_libInterViews(), -Use_libUnidraw(), and Use_libgraphic(). Both libUnidraw and -libgraphic depend on libInterViews so saying Use_libUnidraw() or -Use_libgraphic() makes saying Use_libInterViews() unnecessary. You -cannot say both Use_libUnidraw() and Use_libgraphic() because -libUnidraw and libgraphic conflict with each other. All of these -macros also add -lXext -lX11 -lm to CCLDLIBS for you. - -If your application uses classes from the "old" InterViews 2.6, -Unidraw, or graphic libraries, you should use the macro Use_2_6() as -well as one of the macros Use_libInterViews(), Use_libUnidraw(), or -Use_libgraphic(). Many 3.1 classes have the same names as 2.6 classes -so the shorter names are reserved for the 3.1 classes and the 2.6 -classes' names are prefixed with "iv2_6_". The macro Use_2_6() allows -you to use the classes' shorter 2.6 names instead of their real names -and their shorter include paths (<InterViews/*.h>) instead of their -real include paths (<IV-2_6/InterViews/*.h>. If you want to use -both 3.1 and 2.6 classes in the same application, you will -need to omit Use_2_6() and use the 2.6 classes' real names and -include paths. - -You can use the macro ComplexProgramTarget(dest) to build a program. -The parameter specifies the name you want the program to have after -it's installed. The make variable $(AOUT), which defaults to "a.out," -specifies the name the program will have when it's built. The make -variable $(OBJS), which defaults to "*.o," specifies the list of -object code files which must be linked together. You don't have to -define either $(AOUT) or $(OBJS) in the Imakefile because the -generated Makefile will assign default values to them. You don't have -to define the list of object files in $(OBJS) because the Imakefile -will generate dependencies between the program and its object code -files of the form - -a.out: -$(CC) $(OBJS) - -a.out: a.o -a.out: b.o -a.out: c.o - -which is equivalent to the traditional form - -a.out: a.o b.o c.o -$(CC) $(OBJS) - -You will define these dependencies automatically when you use the -macros MakeObjectFromSrc(file) and MakeObjectFromSrcFlags(file, flags) -for each source file in the program. Each source file must have its -own rule (hence the macro) because the implicit make rule cannot -compile source files which are not in the current directory. However, -you won't have to specify the name of the source file again in any -other place in the Imakefile. - -You should surround the Imakefile with the following lines, - -#ifdef InObjectCodeDir - <contents> - #else - MakeInObjectCodeDir() - #endif - -so that saying "make Makefiles" will create a subdirectory in which to -put the object code files. You do not have to use these lines, but if -you do not you will not be able to build optimized, debuggable, and -non-shared object code files alongside of each other in separate -subdirectories. You also will not be able to build object code files -for different machine architectures alongside of each other in -separate subdirectories. On the SPARCstation, such object code -directories will have the names SUN4, SUN4.debug, and SUN4.noshared -(the latter two will be created only if you use a special make -command, see below). - -After you finish writing your Imakefile, saying "ivmkmf" will generate -the corresponding Makefile. Then you can say "make Makefiles; make -depend; make all" to build your program. If you make a new change to -the Imakefile, all you have to do is to say "make Makefile"---you -don't have to use "ivmkmf" again. - -Saying "make Makefiles.debug" and/or "make Makefiles.noshared" will -create the special object code subdirectories and saying "make -depend.debug", "make depend.noshared", "make all.debug", or "make -all.noshared" will build in them just like the normal subdirectories. -Note that the Makefile will provide the "make *.noshared" targets only -if you're on a computer which has shared libraries (currently we -support only SunOS shared libraries). - -If you write a Makefile by hand instead of writing an Imakefile, -you'll have to specify everything that make needs to know. For -example, you'll have to specify the -I and -L flags needed to use the -InterViews includes and libraries when compiling your application. -You'll also have to specify any extra flags that your system may need -even though you may have to change them when building on a different -system (when you use an Imakefile, the platform-specific X11 .cf file -specifies these flags for you so they don't have to be in the -Imakefile). - -* How to stay tuned - -If you have a bug report, please send it to - -interviews-bugs@interviews.stanford.edu - -If you have any questions or problems, please post them in the USENET -newsgroup - - comp.windows.interviews - -If you do not have access to news and you wish to be on the InterViews -mailing list which is gatewayed with comp.windows.interviews, send a -request to - -interviews-requests@interviews.stanford.edu - -The mailing list alias is - -interviews@interviews.stanford.edu - -Please post to only the newsgroup or only the mailing list but not -both since whatever you post in one will appear in the other too. diff --git a/x11-toolkits/iv/pkg-plist b/x11-toolkits/iv/pkg-plist deleted file mode 100644 index cd06cc5c0d5c..000000000000 --- a/x11-toolkits/iv/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -@cwd /usr/local -interviews diff --git a/x11-toolkits/iv/scripts/configure b/x11-toolkits/iv/scripts/configure deleted file mode 100644 index 4bd27d00f252..000000000000 --- a/x11-toolkits/iv/scripts/configure +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# - -find ${WRKSRC} -name Makefile -print | xargs rm - -xpath=/usr/X11R6 -if [ -n $xpath ]; then - xpath=`echo $xpath | sed 's;/bin/imake$;;'` - sed "s;/usr/X386;$xpath;" ${WRKSRC}/makefile >${WRKSRC}/makefile.foo - mv ${WRKSRC}/makefile.foo ${WRKSRC}/makefile -fi |