diff --git a/libupnp.spec b/libupnp.spec index 4cb38b1..d78d204 100644 --- a/libupnp.spec +++ b/libupnp.spec @@ -1,12 +1,13 @@ Version: 1.4.0 Summary: Universal Plug and Play (UPnP) SDK Name: libupnp -Release: 1%{?dist} +Release: 2%{?dist} License: BSD Group: System Environment/Libraries URL: http://www.libupnp.org/ Source: http://puzzle.dl.sourceforge.net/sourceforge/pupnp/%{name}-%{version}.tar.gz Source1: http://puzzle.dl.sourceforge.net/sourceforge/pupnp/UPnP_1_4_0_Programming_Guide.pdf +Patch0: libupnparch.diff Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %define docdir %{_docdir}/%{name}-%{version}-%{release} @@ -28,6 +29,7 @@ the UPnP SDK libraries. %prep %setup -q +%patch0 -p1 #chmod 644 {LICENSE,README} @@ -80,6 +82,9 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{docdeveldir}/UPnP_1_4_0_Programming_G rm -rf %{buildroot} %changelog +* Fri Jun 23 2006 Eric Tanguy - 1.4.0-2 +- Add a patch for x86_64 arch + * Sun Jun 11 2006 Eric Tanguy - 1.4.0-1 - Update to 1.4.0 diff --git a/libupnparch.diff b/libupnparch.diff new file mode 100644 index 0000000..7b8f5d1 --- /dev/null +++ b/libupnparch.diff @@ -0,0 +1,11 @@ +--- libupnp-1.4.0/upnp/src/api/upnptools.c 2006-06-06 07:37:44.000000000 +0200 ++++ libupnp-1.4.0/upnp/src/api/upnptools.c 2006-06-23 23:06:21.000000000 +0200 +@@ -387,7 +387,7 @@ + const char *Arg, + ... ) + { +- va_list ArgList=NULL; ++ va_list ArgList; + IXML_Document *out = NULL; + + if( NumArg > 0 ) {