rpms/php-eaccelerator/devel php-eaccelerator.spec,1.6,1.7
Matthias Saou (thias)
fedora-extras-commits at redhat.com
Mon Oct 17 13:38:40 UTC 2005
Author: thias
Update of /cvs/extras/rpms/php-eaccelerator/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10483/devel
Modified Files:
php-eaccelerator.spec
Log Message:
Update FC-3 branch to 0.9.3 and sync with FC-4 and devel (FC-5).
Index: php-eaccelerator.spec
===================================================================
RCS file: /cvs/extras/rpms/php-eaccelerator/devel/php-eaccelerator.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- php-eaccelerator.spec 27 Jun 2005 14:22:59 -0000 1.6
+++ php-eaccelerator.spec 17 Oct 2005 13:38:38 -0000 1.7
@@ -6,7 +6,7 @@
Summary: PHP accelerator, optimizer, encoder and dynamic content cacher
Name: php-eaccelerator
Version: %{php_version}_%{module_version}
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPL
Group: Development/Languages
URL: http://eaccelerator.sourceforge.net/
@@ -34,7 +34,13 @@
%build
phpize
%configure
-%{__make}
+# Set fcntl based semaphores to avoid ipc based locking issues on x86_64
+%ifarch x86_64
+%{__perl} -pi -e 's|.*(MM_SEM_[A-Z]+).*|/* #undef $1 */|g' config.h
+%{__perl} -pi -e 's|.*(MM_SEM_FCNTL).*|#define $1 1|g' config.h
+%endif
+# Compile!
+%{__make} %{?_smp_mflags}
%install
@@ -83,6 +89,10 @@
%changelog
+* Mon Oct 17 2005 Matthias Saou <http://freshrpms.net/> 4.x.x_0.9.3-4
+- Re-add %%{?_smp_mflags}, as this was a false alarm.
+- Force SEM to FCNTL as the IPC version is buggy on x86_64 SMP at least.
+
* Mon Jun 27 2005 Matthias Saou <http://freshrpms.net/> 4.x.x_0.9.3-3
- Include buffer overflow patch from zoeloelip, this should fix the real
problem that wasn't in fact solved with the removal of _smp_mflags.
More information about the fedora-extras-commits
mailing list