tag 566285 patch
thanks

Hi,

Attached patch should do it. Please fix this bug ASAP.
Thanks in advance.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
diff -urpN zeroc-ice-3.3.1-10.orig/debian/control zeroc-ice-3.3.1-10/debian/control
--- zeroc-ice-3.3.1-10.orig/debian/control	2010-01-29 22:02:45.000000000 -0600
+++ zeroc-ice-3.3.1-10/debian/control	2010-01-29 22:07:57.000000000 -0600
@@ -439,7 +439,7 @@ Description: Ice for Python libraries
 Package: php-zeroc-ice
 Architecture: any
 Section: php
-Depends: php5-cli | php5, ${shlibs:Depends}, ${misc:Depends}
+Depends: php5-cli | php5, ${shlibs:Depends}, ${misc:Depends}, ${php:Depends}
 Recommends: ice33-slice | ice-slice
 Description: Ice for PHP extension
  Ice, the Internet Communications Engine, is a middleware for the
diff -urpN zeroc-ice-3.3.1-10.orig/debian/rules-php.mk zeroc-ice-3.3.1-10/debian/rules-php.mk
--- zeroc-ice-3.3.1-10.orig/debian/rules-php.mk	2010-01-29 22:02:45.000000000 -0600
+++ zeroc-ice-3.3.1-10/debian/rules-php.mk	2010-01-29 22:13:38.000000000 -0600
@@ -2,6 +2,7 @@ PHP_PACKAGES=\
   php-zeroc-ice
 
 PHP_LIBDIR=$(CURDIR)/$(DEB_DH_INSTALL_SOURCEDIR)$(shell php-config5 --extension-dir)
+PHP_API=$(shell php-config5 --phpapi)
 
 debian/stamp-build-php:: DEB_MAKE_INVOKE := $(DEB_MAKE_ENVVARS) make \
 	OPTIMIZE=$(OPTIMIZE) UNAME=$(UNAME) \
@@ -26,6 +27,7 @@ debian/stamp-install-php::
 		$(DEB_MAKE_INVOKE) -C php install ; \
 	fi
 	-cp debian/IcePHP.ini $(DEB_DH_INSTALL_SOURCEDIR)/etc/php5/conf.d
+	echo "php:Depends=phpapi-$(PHP_API)" >> $(CURDIR)/debian/$(PHP_PACKAGES).substvars
 	:> $@
 
 .PHONY: build/php install/php

Reply via email to