--- /dev/null
+--- libnemesi/src/rtsp/rtsp_send.c.orig 2013-02-16 19:54:26.000000000 +0100
++++ libnemesi/src/rtsp/rtsp_send.c 2013-02-17 13:04:04.448030306 +0100
+@@ -41,10 +41,10 @@
+ const char *content_base, const char *pathname)
+ {
+ if (!pathname || *pathname == 0 || *pathname == '*') {
+- snprintf(str, size, content_base);
++ snprintf(str, size, "%s", content_base);
+ } else if (!content_base || *content_base == 0 ||
+ strstr(pathname,"://") != NULL) {
+- snprintf(str, size, pathname);
++ snprintf(str, size, "%s", pathname);
+ } else {
+ snprintf(str, size, "%s/%s", content_base, pathname);
+ }
# git clone git://git.lscube.org/libnemesi
Source0: %{name}.tar.xz
# Source0-md5: 1ba1385440e44dde3009a285ae1164aa
+Patch0: %{name}-format.patch
URL: http://lscube.org/projects/libnemesi_rtsp_rtp_client_library
BuildRequires: autoconf >= 2.61
BuildRequires: automake
%prep
%setup -q -n %{name}
+%patch0 -p1
%build
%{__libtoolize}