From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 21 17:00:34 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D282016A428 for ; Tue, 21 Mar 2006 17:00:34 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B809543D53 for ; Tue, 21 Mar 2006 17:00:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2LH0XLj017741 for ; Tue, 21 Mar 2006 17:00:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2LH0Xvj017710; Tue, 21 Mar 2006 17:00:33 GMT (envelope-from gnats) Resent-Date: Tue, 21 Mar 2006 17:00:33 GMT Resent-Message-Id: <200603211700.k2LH0Xvj017710@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, vd@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6869B16A429; Tue, 21 Mar 2006 16:56:32 +0000 (UTC) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB99C43D45; Tue, 21 Mar 2006 16:56:31 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id 815D0B857; Tue, 21 Mar 2006 18:56:30 +0200 (EET) Received: (nullmailer pid 57713 invoked by uid 1002); Tue, 21 Mar 2006 16:56:30 -0000 Message-Id: <20060321165630.GA57674@qlovarnika.bg.datamax> Date: Tue, 21 Mar 2006 18:56:30 +0200 From: Vasil Dimov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: roberto@FreeBSD.org Subject: ports/94792: Update port: devel/libdlmalloc from 2.6.5 to 2.8.3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@FreeBSD.org List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 17:00:34 -0000 >Number: 94792 >Category: ports >Synopsis: Update port: devel/libdlmalloc to 2.8.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Mar 21 17:00:33 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Vasil Dimov >Release: FreeBSD 6.0-STABLE amd64 >Organization: DataMax >Environment: >Description: * Update devel/libdlmalloc from 2.6.5 to 2.8.3 * Also install the header file under include/dlmalloc/malloc.h * Some cosmetic improvements to files/Makefile >How-To-Repeat: >Fix: --- libdlmalloc_2.6.5-2.8.3.diff begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/libdlmalloc/Makefile,v retrieving revision 1.20 diff -u -r1.20 Makefile --- Makefile 26 Oct 2003 06:55:51 -0000 1.20 +++ Makefile 21 Mar 2006 16:52:06 -0000 @@ -6,11 +6,11 @@ # PORTNAME= dlmalloc -PORTVERSION= 2.6.5 +PORTVERSION= 2.8.3 CATEGORIES= devel MASTER_SITES= ftp://gee.cs.oswego.edu/pub/misc/ \ ftp://ftp.netsw.org/system/libs/memory/optimize/ -DISTFILES= malloc-2.6.5.c +DISTFILES= malloc-${PORTVERSION}.c malloc-${PORTVERSION}.h MAINTAINER= roberto@FreeBSD.org COMMENT= Small, fast malloc library by Doug Lea @@ -18,10 +18,14 @@ NO_WRKSUBDIR= yes INSTALLS_SHLIB= yes +USE_DOS2UNIX=${DISTFILES} + do-extract: @${RM} -rf ${WRKDIR} @${MKDIR} ${WRKDIR} - ${CP} -p ${DISTDIR}/${DISTFILES} ${WRKDIR} +.for f in ${DISTFILES} + ${CP} -p ${DISTDIR}/${f} ${WRKDIR} +.endfor ${CP} -p ${FILESDIR}/Makefile ${WRKDIR} .include Index: distinfo =================================================================== RCS file: /home/pcvs/ports/devel/libdlmalloc/distinfo,v retrieving revision 1.5 diff -u -r1.5 distinfo --- distinfo 22 Jan 2006 08:28:22 -0000 1.5 +++ distinfo 21 Mar 2006 16:52:06 -0000 @@ -1,3 +1,6 @@ -MD5 (malloc-2.6.5.c) = 75293b0cf29dfeb964f7007c5992390e -SHA256 (malloc-2.6.5.c) = ce4e1b0d557082c22e03f38c49a8df57eb27885fd1cbcdb80c3d3d35eafafc68 -SIZE (malloc-2.6.5.c) = 100972 +MD5 (malloc-2.8.3.c) = 5ab95c5c6f3169d4322a0d22f81533cb +SHA256 (malloc-2.8.3.c) = 3a6f3917a0006ac0eb1a71c05e24fa1b043df9d21d195e462bccb4b443fd639c +SIZE (malloc-2.8.3.c) = 185082 +MD5 (malloc-2.8.3.h) = 994d1d2003401b9867908194b9373d52 +SHA256 (malloc-2.8.3.h) = df30b9fce0f04301d0e77fcacc73703c123381bbbfe4be4fe4887a09e3024f01 +SIZE (malloc-2.8.3.h) = 19808 Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/devel/libdlmalloc/pkg-plist,v retrieving revision 1.8 diff -u -r1.8 pkg-plist --- pkg-plist 16 Jun 2000 08:47:14 -0000 1.8 +++ pkg-plist 21 Mar 2006 16:52:06 -0000 @@ -1,3 +1,5 @@ +include/dlmalloc/malloc.h lib/libdlmalloc.a lib/libdlmalloc.so lib/libdlmalloc.so.2.6 +@dirrm include/dlmalloc Index: files/Makefile =================================================================== RCS file: /home/pcvs/ports/devel/libdlmalloc/files/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- files/Makefile 4 Apr 1999 15:16:26 -0000 1.4 +++ files/Makefile 21 Mar 2006 16:52:06 -0000 @@ -7,24 +7,27 @@ # A version of malloc/free/realloc written by Doug Lea and released to the # public domain. # -# preliminary VERSION 2.6.5 +# preliminary VERSION 2.8.3 # # working version; unreleased. # +VER=2.8.3 + LIBDIR=${PREFIX}/lib +INCDIR=${PREFIX}/include/dlmalloc # for the shared lib stuff .if ${PORTOBJFORMAT} == "elf" -VERSION=2 +VERSION=${VER:R:R} .else -VERSION=2.6 +VERSION=${VER:R} .endif LIBMALLOC=libdlmalloc.a LIBSMALLOC=libdlmalloc.so.${VERSION} -SRCS = malloc-2.6.5.c +SRCS = malloc-${VER}.c OBJS = $(SRCS:.c=.o) SOBJS = $(SRCS:.c=.so) @@ -61,8 +64,10 @@ install: install -c -m 644 ${LIBMALLOC} $(LIBDIR) -$(RANLIB) $(LIBDIR)/${LIBMALLOC} - install -c -m 555 ${LIBSMALLOC} $(LIBDIR) + install -c -m 444 ${LIBSMALLOC} $(LIBDIR) ln -sf ${LIBSMALLOC} $(LIBDIR)/libdlmalloc.so + mkdir -p ${INCDIR} + install -c -m 444 malloc-${VER}.h ${INCDIR}/malloc.h $(OBJS): $(SRCS) $(SOBJS): $(SRCS) Index: files/patch-aa =================================================================== RCS file: /home/pcvs/ports/devel/libdlmalloc/files/patch-aa,v retrieving revision 1.3 diff -u -r1.3 patch-aa --- files/patch-aa 25 Apr 1999 13:55:17 -0000 1.3 +++ files/patch-aa 21 Mar 2006 16:52:06 -0000 @@ -1,15 +1,6 @@ ---- malloc-2.6.5.c.orig Thu Nov 28 06:07:12 1996 -+++ malloc-2.6.5.c Sun Apr 20 17:25:42 1997 -@@ -221,6 +221,8 @@ - - /* Preliminaries */ - -+#include -+ - #ifndef __STD_C - #ifdef __STDC__ - #define __STD_C 1 -@@ -495,7 +497,7 @@ +--- malloc-2.8.3.c.orig Tue Mar 21 18:15:49 2006 ++++ malloc-2.8.3.c Tue Mar 21 18:19:15 2006 +@@ -1200,7 +1200,7 @@ # ifdef _SC_PAGE_SIZE # define malloc_getpagesize sysconf(_SC_PAGE_SIZE) # else @@ -18,13 +9,3 @@ extern size_t getpagesize(); # define malloc_getpagesize getpagesize() # else -@@ -789,7 +791,9 @@ - #else /* INTERNAL_LINUX_C_LIB */ - - #if __STD_C -+# if !(defined(BSD) && (BSD >= 199306)) - extern Void_t* sbrk(ptrdiff_t); -+# endif - #else - extern Void_t* sbrk(); - #endif --- libdlmalloc_2.6.5-2.8.3.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: