rpms/kdebindings/devel kdebindings-4.2.96-php-5.3.patch, 1.2, 1.3 kdebindings.spec, 1.222, 1.223
Than Ngo
than at fedoraproject.org
Mon Jul 20 15:10:57 UTC 2009
Author: than
Update of /cvs/extras/rpms/kdebindings/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28726
Modified Files:
kdebindings-4.2.96-php-5.3.patch kdebindings.spec
Log Message:
add correct check for php version
kdebindings-4.2.96-php-5.3.patch:
config.h.in | 2 +-
handlers.cpp | 2 +-
zphp/z_extension.h | 4 +++-
zphp/z_handler.cpp | 2 +-
4 files changed, 6 insertions(+), 4 deletions(-)
Index: kdebindings-4.2.96-php-5.3.patch
===================================================================
RCS file: /cvs/extras/rpms/kdebindings/devel/kdebindings-4.2.96-php-5.3.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- kdebindings-4.2.96-php-5.3.patch 20 Jul 2009 11:03:20 -0000 1.2
+++ kdebindings-4.2.96-php-5.3.patch 20 Jul 2009 15:10:57 -0000 1.3
@@ -6,7 +6,7 @@ diff -up kdebindings-4.2.96/php/phpqt/sr
#cmakedefine PHPQT_UNMAPHANDLE_DEBUG 1
-#if PHP_MAJOR_VERSION > 5 && PHP_MINOR_VERSION > 2
-+#if PHP_MAJOR_VERSION >= 5 && PHP_MINOR_VERSION > 2
++#if PHP_MAJOR_VERSION > 5 || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 2)
#define refcount__GC refcount__gc
#define is_ref__GC is_ref__gc
#else
@@ -47,7 +47,7 @@ diff -up kdebindings-4.2.96/php/phpqt/sr
opcode_handler_t *phpqt_original_opcode_handlers;
-#if PHP_MAJOR_VERSION > 5 && PHP_MINOR_VERSION > 2
-+#if PHP_MAJOR_VERSION >= 5 && PHP_MINOR_VERSION > 2
++#if PHP_MAJOR_VERSION > 5 || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 2)
user_opcode_handler_t phpqt_opcode_handlers[PHPQT_OPHANDLER_COUNT];
#else
opcode_handler_t phpqt_opcode_handlers[PHPQT_OPHANDLER_COUNT];
Index: kdebindings.spec
===================================================================
RCS file: /cvs/extras/rpms/kdebindings/devel/kdebindings.spec,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -p -r1.222 -r1.223
--- kdebindings.spec 20 Jul 2009 11:03:21 -0000 1.222
+++ kdebindings.spec 20 Jul 2009 15:10:57 -0000 1.223
@@ -32,7 +32,7 @@
Name: kdebindings
Version: 4.2.96
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: KDE bindings to non-C++ languages
# http://techbase.kde.org/Policies/Licensing_Policy
@@ -495,6 +495,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Jul 20 2009 Than Ngo <than at redhat.com> - 4.2.96-5
+- add correct check for php version
+
* Mon Jul 20 2009 Than Ngo <than at redhat.com> - 4.2.96-4
- allow for build php-5.2.x
More information about the fedora-extras-commits
mailing list