rpms/varnish/devel varnish.sparc_pagesize.patch, NONE, 1.1 varnish.spec, 1.21, 1.22

Ingvar Hagelund ingvar at fedoraproject.org
Thu Aug 20 09:06:49 UTC 2009


Author: ingvar

Update of /cvs/pkgs/rpms/varnish/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18371

Modified Files:
	varnish.spec 
Added Files:
	varnish.sparc_pagesize.patch 
Log Message:
Added a sparc specific patch to jemalloc

varnish.sparc_pagesize.patch:
 jemalloc_linux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE varnish.sparc_pagesize.patch ---
--- lib/libjemalloc/jemalloc_linux.c.old	2009-08-14 10:38:53.783906580 +0200
+++ lib/libjemalloc/jemalloc_linux.c	2009-08-14 10:39:04.215906982 +0200
@@ -243,7 +243,7 @@
 #  define SIZEOF_PTR_2POW	3
 #  define NO_TLS
 #endif
-#ifdef __sparc64__
+#ifdef __sparc__
 #  define PAGESIZE_2POW		13
 #  define QUANTUM_2POW		4
 #  define SIZEOF_PTR_2POW	3


Index: varnish.spec
===================================================================
RCS file: /cvs/pkgs/rpms/varnish/devel/varnish.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -p -r1.21 -r1.22
--- varnish.spec	27 Jul 2009 06:44:13 -0000	1.21
+++ varnish.spec	20 Aug 2009 09:06:49 -0000	1.22
@@ -1,13 +1,14 @@
 Summary: High-performance HTTP accelerator
 Name: varnish
 Version: 2.0.4
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: BSD
 Group: System Environment/Daemons
 URL: http://www.varnish-cache.org/
 Source0: http://downloads.sourceforge.net/varnish/varnish-%{version}.tar.gz
 Patch0: varnish.varnishtest_debugflag.patch
 Patch1: varnish.s390x_pagesize.patch
+Patch2: varnish.sparc_pagesize.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # The svn sources needs autoconf, automake and libtool to generate a suitable
 # configure script. Release tarballs would not need this
@@ -71,6 +72,7 @@ Varnish is a high-performance HTTP accel
 
 %patch0 -p0
 %patch1 -p0
+%patch2 -p0
 
 # Hack to get 32- and 64-bits tests run concurrently on the same build machine
 case `uname -m` in
@@ -237,6 +239,9 @@ fi
 %postun libs -p /sbin/ldconfig
 
 %changelog
+* Thu Aug 13 2009 Ingvar Hagelund <ingvar at linpro.no> - 2.0.4-4
+- Added a sparc specific patch to libjemalloc.
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.4-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list