[packages/xfsprogs] - up to 3.2.3; back to glibc memory alloc functions (we don't want to diverge from upstream too much

arekm arekm at pld-linux.org
Wed Jun 10 08:21:57 CEST 2015


commit 661ed87b09d84c332268835dd920241e57cc0131
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Jun 10 08:21:49 2015 +0200

    - up to 3.2.3; back to glibc memory alloc functions (we don't want to diverge from upstream too much)

 xfsprogs-repair-tcmalloc.patch | 83 ------------------------------------------
 xfsprogs.spec                  | 13 +++----
 2 files changed, 5 insertions(+), 91 deletions(-)
---
diff --git a/xfsprogs.spec b/xfsprogs.spec
index 5c0901b..a0aac51 100644
--- a/xfsprogs.spec
+++ b/xfsprogs.spec
@@ -9,17 +9,16 @@
 Summary:	Tools for the XFS filesystem
 Summary(pl.UTF-8):	Narzędzia do systemu plików XFS
 Name:		xfsprogs
-Version:	3.2.2
-Release:	2
+Version:	3.2.3
+Release:	1
 License:	LGPL v2.1 (libhandle), GPL v2 (the rest)
 Group:		Applications/System
 Source0:	ftp://linux-xfs.sgi.com/projects/xfs/cmd_tars/%{name}-%{version}.tar.gz
-# Source0-md5:	b6b0db5e3ee71ceba26d0a5accbd0666
+# Source0-md5:	9f383e36682709e62b12c125e5d8b895
 Source1:	xfs_lsprojid
 Patch0:		%{name}-miscfix-v2.patch
 Patch1:		%{name}-pl.po-update.patch
-Patch2:		%{name}-repair-tcmalloc.patch
-Patch3:		%{name}-noquotasync.patch
+Patch2:		%{name}-noquotasync.patch
 URL:		http://www.xfs.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -99,9 +98,7 @@ Biblioteki statyczne do XFS.
 %setup -q
 %patch0 -p1
 #%patch1 -p1
-
-%{?with_tcmalloc:%patch2 -p1}
-%patch3 -p1
+%patch2 -p1
 
 %build
 %{__aclocal} -I m4
diff --git a/xfsprogs-repair-tcmalloc.patch b/xfsprogs-repair-tcmalloc.patch
deleted file mode 100644
index df79ae9..0000000
--- a/xfsprogs-repair-tcmalloc.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-From hch at infradead.org Mon Nov 14 16:57:45 2011
-Delivered-To: arekm at maven.pl
-Received: from gmail-pop.l.google.com [74.125.39.108]
-	by localhost with POP3 (fetchmail-6.3.21)
-	for <arekm at localhost> (single-drop); Mon, 14 Nov 2011 18:12:06 +0100 (CET)
-Received: by 10.142.223.21 with SMTP id v21cs23581wfg;
-        Mon, 14 Nov 2011 08:02:21 -0800 (PST)
-Received: by 10.229.247.139 with SMTP id mc11mr3086235qcb.238.1321286539560;
-        Mon, 14 Nov 2011 08:02:19 -0800 (PST)
-Return-Path: <BATV+f273fab3737168e2a79b+3004+infradead.org+hch at bombadil.srs.infradead.org>
-Received: from bombadil.infradead.org (173-166-109-252-newengland.hfc.comcastbusiness.net. [173.166.109.252])
-        by mx.google.com with ESMTPS id l7si5065356qcw.108.2011.11.14.08.02.18
-        (version=TLSv1/SSLv3 cipher=OTHER);
-        Mon, 14 Nov 2011 08:02:18 -0800 (PST)
-Received-SPF: neutral (google.com: 173.166.109.252 is neither permitted nor denied by best guess record for domain of BATV+f273fab3737168e2a79b+3004+infradead.org+hch at bombadil.srs.infradead.org) client-ip=173.166.109.252;
-Authentication-Results: mx.google.com; spf=neutral (google.com: 173.166.109.252 is neither permitted nor denied by best guess record for domain of BATV+f273fab3737168e2a79b+3004+infradead.org+hch at bombadil.srs.infradead.org) smtp.mail=BATV+f273fab3737168e2a79b+3004+infradead.org+hch at bombadil.srs.infradead.org
-Received: from hch by bombadil.infradead.org with local (Exim 4.76 #1 (Red Hat Linux))
-	id 1RPyzB-00079E-KT; Mon, 14 Nov 2011 16:02:17 +0000
-Message-Id: <20111114160217.591812422 at bombadil.infradead.org>
-User-Agent: quilt/0.48-1
-Date: Mon, 14 Nov 2011 10:57:45 -0500
-From: Christoph Hellwig <hch at infradead.org>
-To: xfs at oss.sgi.com
-Cc: arekm at maven.pl
-Subject: [PATCH 3/3] xfsprogs: allow linking against libtcmalloc
-References: <20111114155742.285135418 at bombadil.infradead.org>
-Content-Disposition: inline; filename=xfsprogs-use-tcmalloc
-X-SRS-Rewrite: SMTP reverse-path rewritten from <hch at infradead.org> by bombadil.infradead.org
-	See http://www.infradead.org/rpr.html
-Status: R
-X-Status: NT
-X-KMail-EncryptionState:  
-X-KMail-SignatureState:  
-X-KMail-MDN-Sent:  
-
-Allow linking against the libtcmalloc library from Google's performance
-tools, which at least for repair reduces the memory usage dramatically.
-
-Signed-off-by: Christoph Hellwig <hch at lst.de>
-
---- xfsprogs-3.1.7/configure.ac.org	2011-11-18 07:58:49.815439699 +0100
-+++ xfsprogs-3.1.7/configure.ac	2011-11-18 07:59:49.360093001 +0100
-@@ -31,6 +31,26 @@
- AC_SUBST(libeditline)
- AC_SUBST(enable_editline)
- 
-+AC_ARG_ENABLE(tcmalloc,
-+[ --enable-tcmalloc=[yes/no] Enable tcmalloc [default=no]],,
-+	enable_tcmalloc=check)
-+
-+if test x$enable_tcmalloc != xno; then
-+    saved_CPPFLAGS="$CPPFLAGS"
-+    CPPFLAGS="$CPPFLAGS -fno-builtin-malloc"
-+    AC_CHECK_LIB([tcmalloc_minimal], [malloc], [libtcmalloc="-ltcmalloc_minimal"],
-+      [AC_CHECK_LIB([tcmalloc], [malloc], [libtcmalloc="-ltcmalloc"], [
-+	if test x$enable_tcmalloc = xyes; then
-+		AC_MSG_ERROR([libtcmalloc_minimal or libtcmalloc library not found], 1)
-+	fi]
-+      )]
-+    )
-+    if test x$libtcmalloc = x; then
-+	CPPFLAGS="$saved_CPPFLAGS"
-+    fi
-+fi
-+AC_SUBST(libtcmalloc)
-+
- AC_ARG_ENABLE(termcap,
- [ --enable-termcap=[yes/no] Enable terminal capabilities library [default=no]],
- 	test $enable_termcap = yes && libtermcap="-ltermcap",)
-Index: xfsprogs-dev/include/builddefs.in
-===================================================================
---- xfsprogs-dev.orig/include/builddefs.in	2011-08-14 17:00:02.000000000 +0000
-+++ xfsprogs-dev/include/builddefs.in	2011-11-14 12:09:52.000000000 +0000
-@@ -22,7 +22,7 @@ _BUILDDEFS_INCLUDED_ = 1
- 
- DEBUG = @debug_build@
- OPTIMIZER = @opt_build@
--MALLOCLIB = @malloc_lib@
-+MALLOCLIB = @malloc_lib@ @libtcmalloc@
- LOADERFLAGS = @LDFLAGS@
- LTLDFLAGS = @LDFLAGS@
- CFLAGS = @CFLAGS@
-
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xfsprogs.git/commitdiff/661ed87b09d84c332268835dd920241e57cc0131



More information about the pld-cvs-commit mailing list