[mediatomb] Port fix.

Jon Ciesla limb at fedoraproject.org
Fri Feb 22 15:29:14 UTC 2013


commit cac7a1c76a6ba9c6c19d8f28d9df29b30d23d36e
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Fri Feb 22 09:26:01 2013 -0600

    Port fix.

 mediatomb-0.12.1-unbundle-libupnp.patch |    2 +-
 mediatomb.spec                          |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mediatomb-0.12.1-unbundle-libupnp.patch b/mediatomb-0.12.1-unbundle-libupnp.patch
index 6aadb7d..8139d20 100644
--- a/mediatomb-0.12.1-unbundle-libupnp.patch
+++ b/mediatomb-0.12.1-unbundle-libupnp.patch
@@ -270,7 +270,7 @@ diff -r -U3 mediatomb-0.12.1.orig/src/server.cc mediatomb-0.12.1/src/server.cc
          cb = (void *)static_cleanup_callback;
  
 -    ret = UpnpInit(ip.c_str(), port, 0, cb);
-+    ret = UpnpInit(ip.c_str(), 0);
++    ret = UpnpInit(ip.c_str(), (unsigned short) port);
  
      if (ret != UPNP_E_SUCCESS)
      {
diff --git a/mediatomb.spec b/mediatomb.spec
index 9db4b36..2f3c5a7 100644
--- a/mediatomb.spec
+++ b/mediatomb.spec
@@ -13,7 +13,7 @@
 Version: 0.12.1
 Summary: UPnP AV MediaServer 
 Name: mediatomb
-Release: 23%{?dist}
+Release: 24%{?dist}
 Summary: MediaTomb - UPnP AV Mediaserver for Linux
 License: GPLv2
 Group: Applications/Multimedia
@@ -219,6 +219,9 @@ fi
 %endif
 
 %changelog
+* Fri Feb 22 2013 Jon Ciesla <limburgher at gmail.com> - 0.12.1-24
+- Correct port handling in unbundle patch.
+
 * Wed Jan 30 2013 Jon Ciesla <limburgher at gmail.com> - 0.12.1-23
 - Unbundle libupnp.
 


More information about the scm-commits mailing list