[packages/php-pear-Net_SmartIRC] apply refs.patch; it's still needed
glen
glen at pld-linux.org
Mon Oct 26 23:31:26 CET 2015
commit 813368d49da9e15cda60ff931f34274ad02a55b1
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Oct 27 00:30:34 2015 +0200
apply refs.patch; it's still needed
php-pear-Net_SmartIRC-refs.patch | 16 ++++++++--------
php-pear-Net_SmartIRC.spec | 4 +++-
2 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/php-pear-Net_SmartIRC.spec b/php-pear-Net_SmartIRC.spec
index af4b485..d21ac79 100644
--- a/php-pear-Net_SmartIRC.spec
+++ b/php-pear-Net_SmartIRC.spec
@@ -6,11 +6,12 @@ Summary: %{pearname} - IRC client class
Summary(pl.UTF-8): %{pearname} - klasa klienta IRC
Name: php-pear-%{pearname}
Version: 1.1.8
-Release: 1
+Release: 2
License: LGPL v2.1
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
# Source0-md5: 90674becfb53561d0fd02f0c17badc71
+Patch0: %{name}-refs.patch
URL: http://pear.php.net/package/Net_SmartIRC/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
@@ -84,6 +85,7 @@ Dokumentacja do %{name}.
%prep
%pear_package_setup
+%patch0 -p1
mv docs/%{pearname}/docs/HTML apidoc
mv docs/%{pearname}/docs/* .
diff --git a/php-pear-Net_SmartIRC-refs.patch b/php-pear-Net_SmartIRC-refs.patch
index c8567da..c62ae7a 100644
--- a/php-pear-Net_SmartIRC-refs.patch
+++ b/php-pear-Net_SmartIRC-refs.patch
@@ -1,12 +1,12 @@
---- Net/SmartIRC.php~ 2005-09-29 11:07:57.000000000 +0300
-+++ Net/SmartIRC.php 2007-01-16 20:41:01.415661572 +0200
-@@ -2198,7 +2198,8 @@
- }
-
- function &throwError($message) {
+--- /usr/share/pear/Net/SmartIRC.php~ 2015-10-26 23:30:15.000000000 +0200
++++ /usr/share/pear/Net/SmartIRC.php 2015-10-27 00:26:50.745902056 +0200
+@@ -2646,7 +2646,8 @@
+
+ protected function &throwError($message)
+ {
- return new Net_SmartIRC_Error($message);
-+ $ret = new Net_SmartIRC_Error($message);
-+ return $ret;
++ $var = new Net_SmartIRC_Error($message);
++ return $var;
}
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Net_SmartIRC.git/commitdiff/813368d49da9e15cda60ff931f34274ad02a55b1
More information about the pld-cvs-commit
mailing list