diff options
author | kris <kris@FreeBSD.org> | 2002-10-13 12:20:26 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-10-13 12:20:26 +0800 |
commit | 1c42728331379531e6e0f811e6e9301bc924b38d (patch) | |
tree | 8897362d39f26e380b43f1aef650295f87a2cc22 | |
parent | 7a4b9e6165da061802329594ac49f30f86bd32a6 (diff) | |
download | freebsd-ports-gnome-1c42728331379531e6e0f811e6e9301bc924b38d.tar.gz freebsd-ports-gnome-1c42728331379531e6e0f811e6e9301bc924b38d.tar.zst freebsd-ports-gnome-1c42728331379531e6e0f811e6e9301bc924b38d.zip |
This port was marked BROKEN 23 months ago. Remove it.
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/libmalloc/Makefile | 33 | ||||
-rw-r--r-- | devel/libmalloc/distinfo | 1 | ||||
-rw-r--r-- | devel/libmalloc/files/patch-aa | 25 | ||||
-rw-r--r-- | devel/libmalloc/files/patch-ab | 23 | ||||
-rw-r--r-- | devel/libmalloc/files/patch-ac | 11 | ||||
-rw-r--r-- | devel/libmalloc/files/patch-ad | 92 | ||||
-rw-r--r-- | devel/libmalloc/pkg-comment | 1 | ||||
-rw-r--r-- | devel/libmalloc/pkg-descr | 18 | ||||
-rw-r--r-- | devel/libmalloc/pkg-plist | 10 |
10 files changed, 0 insertions, 215 deletions
diff --git a/devel/Makefile b/devel/Makefile index 22a690cb6e17..aae61795aa02 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -291,7 +291,6 @@ SUBDIR += libgtop SUBDIR += libgtop2 SUBDIR += libhash - SUBDIR += libmalloc SUBDIR += libmba SUBDIR += libmcve SUBDIR += libol diff --git a/devel/libmalloc/Makefile b/devel/libmalloc/Makefile deleted file mode 100644 index bc4085ed7a85..000000000000 --- a/devel/libmalloc/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: Mark Moraes malloc library -# Date created: 11 January 1995 -# Whom: jkh -# -# $FreeBSD$ -# - -PORTNAME= libmalloc -PORTVERSION= 1.18 -CATEGORIES= devel -MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/moraes/ -DISTNAME= malloc-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org - -BROKEN= "Installs malloc.h, masking system version" - -INSTALLS_SHLIB= yes - -.include <bsd.port.pre.mk> - -MANUAL_PACKAGE_BUILD= installs malloc.h - -post-install: - @cd ${PREFIX}/include ; ${LN} -sf malloc.h libmalloc.h -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/libmalloc - ${INSTALL_DATA} ${WRKSRC}/malloc.doc ${PREFIX}/share/doc/libmalloc - ${INSTALL_DATA} ${WRKSRC}/NOTE ${PREFIX}/share/doc/libmalloc -.endif - -.include <bsd.port.post.mk> diff --git a/devel/libmalloc/distinfo b/devel/libmalloc/distinfo deleted file mode 100644 index cff91819750f..000000000000 --- a/devel/libmalloc/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (malloc-1.18.tar.gz) = 840aa40316d985f9a104b1e4f79460dd diff --git a/devel/libmalloc/files/patch-aa b/devel/libmalloc/files/patch-aa deleted file mode 100644 index a47e345be39f..000000000000 --- a/devel/libmalloc/files/patch-aa +++ /dev/null @@ -1,25 +0,0 @@ ---- externs.h.orig Mon Apr 3 10:55:34 1995 -+++ externs.h Tue Dec 1 02:04:28 1998 -@@ -39,7 +39,10 @@ - - extern int fputs proto((const char *, FILE *)); - extern int fflush proto((FILE *)); -+/* Get declarations from system headers for BSD -- obrien@freebsd.org */ -+#if !(defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) - extern int setvbuf proto((FILE *, char *, int, memsize_t)); -+#endif - - /* Character Handling: <string.h> */ - -@@ -106,8 +109,11 @@ - extern univptr_t _mal_mmap proto((size_t)); - - #ifdef HAVE_MMAP -+/* Get declarations from system headers for BSD -- obrien@freebsd.org */ -+#if !(defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) - extern int madvise proto((caddr_t, size_t, int)); - extern caddr_t mmap proto((caddr_t, size_t, int, int, int, off_t)); -+#endif - #endif - - #endif /* EXTERNS_H__ */ /* Do not add anything after this line */ diff --git a/devel/libmalloc/files/patch-ab b/devel/libmalloc/files/patch-ab deleted file mode 100644 index 7b33b7353492..000000000000 --- a/devel/libmalloc/files/patch-ab +++ /dev/null @@ -1,23 +0,0 @@ ---- malloc.h.orig Fri Jul 30 17:56:34 1993 -+++ malloc.h Mon Apr 28 07:36:12 1997 -@@ -3,6 +3,10 @@ - #ifndef __XMALLOC_H__ - #define __XMALLOC_H__ - -+#ifdef __cplusplus -+extern "C" { -+#endif -+ - #if defined(ANSI_TYPES) || defined(__STDC__) - #define univptr_t void * - #else /* ! ANSI_TYPES */ -@@ -110,5 +114,9 @@ - #endif - - #undef __proto -+ -+#ifdef __cplusplus -+} -+#endif - - #endif /* __XMALLOC_H__ */ /* Do not add anything after this line */ diff --git a/devel/libmalloc/files/patch-ac b/devel/libmalloc/files/patch-ac deleted file mode 100644 index 5d8a92fd7927..000000000000 --- a/devel/libmalloc/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- dumpheap.c.orig Mon Apr 3 10:55:33 1995 -+++ dumpheap.c Tue Dec 1 02:08:08 1998 -@@ -94,7 +94,7 @@ - } - if ( ! VALID_START_SIZE_FIELD(blk)) { - sprintf(buf, " ** bad size field: tags = 0x%lx, 0x%lx\n", -- SIZEFIELD(blk), SIZEFIELD(blkend)); -+ (unsigned long)SIZEFIELD(blk), (unsigned long)SIZEFIELD(blkend)); - (void) fputs(buf, fp); - return 0; - } diff --git a/devel/libmalloc/files/patch-ad b/devel/libmalloc/files/patch-ad deleted file mode 100644 index 8a92c2b30339..000000000000 --- a/devel/libmalloc/files/patch-ad +++ /dev/null @@ -1,92 +0,0 @@ ---- Makefile.orig Mon Apr 3 10:55:32 1995 -+++ Makefile Thu Feb 4 22:08:18 1999 -@@ -11,8 +11,8 @@ - # puts malloc.h in $INCDIR. - # - --LIBDIR=$(HOME)/lib/$(ARCH) --INCDIR=$(HOME)/include -+LIBDIR=${PREFIX}/lib -+INCDIR=${PREFIX}/include - - # neutralize SystemV genius - SHELL=/bin/sh -@@ -46,7 +46,7 @@ - # -DHAVE_MMAP can be defined for SunOS4.x and other systems - # that have a general purpose mmap call that allows memory-mapped files. - # --NORMALDEFS=-DHAVE_MMAP # -DSTDHEADERS -DSHORTNAMES -DUSESTDIO -+NORMALDEFS=-DHAVE_MMAP -DSTDHEADERS # -DSHORTNAMES -DUSESTDIO - - # CC = gcc -ansi -Wall -O # -pedantic # add -pedantic if you fixed your includes. - # SGI needs cc -xansi -D__STDC__ on Irix4.0.5. -@@ -62,11 +62,20 @@ - RANLIB = ranlib - - LDFLAGS=#-Bstatic -+.if (${PORTOBJFORMAT} == "elf") -+CFLAGS_SHARED= -shared -Wl,-soname,${LIBSMALLOC} -+VERSION=1 -+.else -+CFLAGS_SHARED= -shared -+VERSION=1.18 -+.endif - - # only developers should have to change stuff below this line - - EXT=_d - LIBMALLOC=libmalloc$(EXT).a -+LIBSMALLOC=libmalloc${EXT}.so.${VERSION} -+ - PROGS=testmalloc$(EXT) simumalloc$(EXT) teststomp$(EXT) maltrace$(EXT) - - DEFINES= $(NORMALDEFS) $(DEBUGDEFS) -@@ -108,9 +117,16 @@ - - CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(DEFINES) - --all: pass clean libmalloc -+.c.o: -+ ${CC} -c ${CFLAGS} $< -o $@ -+ ${CC} -c -fpic ${CFLAGS} $< -o shared/$@ -+ -+all: mkdir pass clean libmalloc - --pass: $(LIBMALLOC) $(PROGS) out$(EXT) -+mkdir: -+ @mkdir -p shared -+ -+pass: $(LIBMALLOC) ${LIBSMALLOC} $(PROGS) out$(EXT) - - libmalloc: - $(MAKE) -f Makefile $(MFLAGS) CC="$(CC)" DEBUGDEFS="$(FASTDEFS)" \ -@@ -135,6 +151,12 @@ - -$(RANLIB) $(LIBMALLOC) - touch .lib$(EXT) - -+${LIBSMALLOC}: ${OBJS} -+ rm -f ${LIBSMALLOC} ${SPLAYOBJ} -+ cd splay; ${MAKE} ${MFLAGS} DEFINES="${DEFINES}" \ -+ LIBMALLOC=../${LIBMALLOC} CC="${CC} -fpic" -+ (cd shared; ${CC} ${CFLAGS_SHARED} -o ../${LIBSMALLOC} ${OBJS} ../${SPLAYOBJ}) -+ - $(SPLAYOBJ): .foo - cd splay; $(MAKE) $(MFLAGS) DEFINES="$(DEFINES)" \ - LIBMALLOC=../$(LIBMALLOC) CC="$(CC)" -@@ -164,6 +186,7 @@ - - clean: - -rm -f *.o \#* *~ core a.out gmon.out mon.out onefile.c *.sL prof.out -+ -(cd shared; rm -f *.o \#* *~) - cd splay; $(MAKE) clean - - veryclean: clean cleanprogs -@@ -175,6 +198,8 @@ - -$(RANLIB) $(LIBDIR)/libmalloc.a - install -c -m 644 libmalloc_d.a $(LIBDIR) - -$(RANLIB) $(LIBDIR)/libmalloc_d.a -+ install -c -m 644 ${LIBSMALLOC} ${LIBDIR} -+ ln -sf ${LIBDIR}/${LIBSMALLOC} ${LIBDIR}/libmalloc${EXT}.so - install -c -m 644 malloc.h $(INCDIR) - - .id: $(SRCS) diff --git a/devel/libmalloc/pkg-comment b/devel/libmalloc/pkg-comment deleted file mode 100644 index 2de5f8c2603c..000000000000 --- a/devel/libmalloc/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Small, fast malloc library with comprehensive error checking diff --git a/devel/libmalloc/pkg-descr b/devel/libmalloc/pkg-descr deleted file mode 100644 index 2fdc1d374887..000000000000 --- a/devel/libmalloc/pkg-descr +++ /dev/null @@ -1,18 +0,0 @@ -This is a complete set of memory allocation functions (malloc and -friends) from the Computer Systems Research Institute at U of Toronto. - - The allocator is small, fast and space-efficient. - - It performs coalescing on frees. - - It has hooks for profiling, tracing and memory leak detection. - - It has very comprehensive and paranoid errorchecking as a compile - time option, enough to detect most forms of heap corruption. - - Optionally, it attempts to be compatible with the proposed ANSI C - Standard definition for the standard library functions malloc(), - calloc(), realloc() and free(). By default, it is more or less - compatible with existing Unix malloc() functions - some - differences do exist. (Notably free(), cfree() returning void, - realloc() not accepting a freed block) diff --git a/devel/libmalloc/pkg-plist b/devel/libmalloc/pkg-plist deleted file mode 100644 index b5b1c3b38155..000000000000 --- a/devel/libmalloc/pkg-plist +++ /dev/null @@ -1,10 +0,0 @@ -@comment $FreeBSD$ -lib/libmalloc.a -lib/libmalloc_d.a -include/malloc.h -include/libmalloc.h -lib/libmalloc_d.so -lib/libmalloc_d.so.1.18 -share/doc/libmalloc/malloc.doc -share/doc/libmalloc/NOTE -@dirrm share/doc/libmalloc |