rpms/varnish/F-11 varnish.s390x_pagesize.patch, NONE, 1.1 varnish.spec, 1.18, 1.19
Ingvar Hagelund
ingvar at fedoraproject.org
Fri Jun 5 09:59:37 UTC 2009
Author: ingvar
Update of /cvs/pkgs/rpms/varnish/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21320
Modified Files:
varnish.spec
Added Files:
varnish.s390x_pagesize.patch
Log Message:
Added a s390 specific patch to libjemalloc.
varnish.s390x_pagesize.patch:
--- NEW FILE varnish.s390x_pagesize.patch ---
diff -Naur ../varnish-2.0.3.orig/lib/libjemalloc/jemalloc_linux.c ./lib/libjemalloc/jemalloc_linux.c
--- ../varnish-2.0.3.orig/lib/libjemalloc/jemalloc_linux.c 2009-02-12 12:15:24.000000000 +0100
+++ ./lib/libjemalloc/jemalloc_linux.c 2009-06-04 15:27:34.000000000 +0200
@@ -272,6 +272,11 @@
# define QUANTUM_2POW 4
# define SIZEOF_PTR_2POW 2
#endif
+#ifdef __s390x__
+# define PAGESIZE_2POW 12
+# define QUANTUM_2POW 4
+# define SIZEOF_PTR_2POW 3
+#endif
#define QUANTUM ((size_t)(1U << QUANTUM_2POW))
#define QUANTUM_MASK (QUANTUM - 1)
Index: varnish.spec
===================================================================
RCS file: /cvs/pkgs/rpms/varnish/F-11/varnish.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- varnish.spec 25 Feb 2009 23:47:52 -0000 1.18
+++ varnish.spec 5 Jun 2009 09:59:06 -0000 1.19
@@ -1,12 +1,13 @@
Summary: High-performance HTTP accelerator
Name: varnish
Version: 2.0.3
-Release: 2%{?dist}
+Release: 3%{?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
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
@@ -65,6 +66,7 @@ Varnish is a high-performance HTTP accel
#%setup -q -n varnish-cache
%patch0 -p0
+%patch1 -p0
# The svn sources needs to generate a suitable configure script
# Release tarballs would not need this
@@ -91,7 +93,7 @@ cp bin/varnishd/default.vcl etc/zope-plo
%build
# Remove "--disable static" if you want to build static libraries
-# jemalloc is not compatible with Red Hat's ppc64 RHEL5 kernel koji server :-(
+# jemalloc is not compatible with Red Hat's ppc* RHEL5 kernel koji server :-(
%ifarch ppc64 ppc
%configure --disable-static --localstatedir=/var/lib --disable-jemalloc
%else
@@ -235,6 +237,9 @@ fi
%postun libs -p /sbin/ldconfig
%changelog
+* Thu May 04 2009 Ingvar Hagelund <ingvar at linpro.no> - 2.0.3-3
+- Added a s390 specific patch to libjemalloc.
+
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list