[opensips] - fix a build issue
Dan Horák
sharkcz at fedoraproject.org
Wed Sep 8 14:48:43 UTC 2010
commit 3a4848f4b78d5a8e8391a7cc3c1f555c8d17748b
Author: Dan Horák <dan at danny.cz>
Date: Wed Sep 8 16:48:47 2010 +0200
- fix a build issue
opensips-1.6.3-build.patch | 12 ++++++++++++
opensips.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/opensips-1.6.3-build.patch b/opensips-1.6.3-build.patch
new file mode 100644
index 0000000..19f316e
--- /dev/null
+++ b/opensips-1.6.3-build.patch
@@ -0,0 +1,12 @@
+diff -up opensips-1.6.3-tls/modules/localcache/hash.c.orig opensips-1.6.3-tls/modules/localcache/hash.c
+--- opensips-1.6.3-tls/modules/localcache/hash.c.orig 2010-09-08 16:23:52.000000000 +0200
++++ opensips-1.6.3-tls/modules/localcache/hash.c 2010-09-08 16:23:56.000000000 +0200
+@@ -82,7 +82,7 @@ void lcache_htable_destroy(void)
+
+ for(i = 0; i< cache_htable_size; i++)
+ {
+- lock_destroy(&cache_htable[i].lock)
++ lock_destroy(&cache_htable[i].lock);
+ me1 = cache_htable[i].entries;
+ while(me1)
+ {
diff --git a/opensips.spec b/opensips.spec
index 323ff01..0b5b156 100644
--- a/opensips.spec
+++ b/opensips.spec
@@ -10,11 +10,12 @@
Summary: Open Source SIP Server
Name: opensips
Version: 1.6.3
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Group: System Environment/Daemons
Source0: http://opensips.org/pub/%{name}/%{version}/src/%{name}-%{version}-tls_src.tar.gz
Source1: %{name}.sysconfig
+Patch0: %{name}-1.6.3-build.patch
URL: http://opensips.org
BuildRequires: expat-devel
@@ -502,6 +503,7 @@ clients.
%prep
%setup -q -n %{name}-%{version}-tls
+%patch0 -p1 -b .orig
%build
LOCALBASE=/usr CFLAGS="%{optflags}" %{__make} all %{?_smp_mflags} TLS=1 \
@@ -988,6 +990,9 @@ fi
%doc docdir/README.xmpp
%changelog
+* Wed Sep 08 2010 Dan Horák <dan[at]danny.cz> - 1.6.3-2
+- fix a build issue
+
* Thu Aug 12 2010 John Khvatov <ivaxer at gmail.com> - 1.6.3-1
- update to 1.6.3
More information about the scm-commits
mailing list