rpms/libupnp/devel open.patch,NONE,1.1 libupnp.spec,1.14,1.15

Eric Tanguy (tanguy) fedora-extras-commits at redhat.com
Fri Sep 7 21:35:55 UTC 2007


Author: tanguy

Update of /cvs/extras/rpms/libupnp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9191

Modified Files:
	libupnp.spec 
Added Files:
	open.patch 
Log Message:


open.patch:

--- NEW FILE open.patch ---
diff -Naur libupnp-1.6.0/upnp/src/genlib/net/http/httpreadwrite.c libupnp-1.6.0/upnp/src/genlib/net/http-new/httpreadwrite.c
--- libupnp-1.6.0/upnp/src/genlib/net/http/httpreadwrite.c	2007-05-23 15:18:08.000000000 +0200
+++ libupnp-1.6.0/upnp/src/genlib/net/http/httpreadwrite.c	2007-09-01 16:18:33.000000000 +0200
@@ -349,7 +349,7 @@
             filename = ( char * )va_arg( argp, char * );
 
             if( Instr && Instr->IsVirtualFile )
-                Fp = virtualDirCallback.open( filename, UPNP_READ );
+                Fp = (virtualDirCallback.open)( filename, UPNP_READ );
             else
                 Fp = fopen( filename, "rb" );
 
diff -Naur libupnp-1.6.0/upnp/src/genlib/net/http/webserver.c libupnp-1.6.0/upnp/src/genlib/net/http-new/webserver.c
--- libupnp-1.6.0/upnp/src/genlib/net/http/webserver.c	2007-05-23 15:18:08.000000000 +0200
+++ libupnp-1.6.0/upnp/src/genlib/net/http/webserver.c	2007-09-01 16:18:33.000000000 +0200
@@ -1531,7 +1531,7 @@
 
     if( Instr && Instr->IsVirtualFile ) {
 
-        Fp = virtualDirCallback.open( filename, UPNP_WRITE );
+        Fp = (virtualDirCallback.open)( filename, UPNP_WRITE );
         if( Fp == NULL ) {
             return HTTP_INTERNAL_SERVER_ERROR;
         }


Index: libupnp.spec
===================================================================
RCS file: /cvs/extras/rpms/libupnp/devel/libupnp.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- libupnp.spec	29 Aug 2007 05:57:22 -0000	1.14
+++ libupnp.spec	7 Sep 2007 21:35:23 -0000	1.15
@@ -1,11 +1,12 @@
 Version: 1.6.0
 Summary: Universal Plug and Play (UPnP) SDK
 Name: libupnp
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: BSD
 Group: System Environment/Libraries
 URL: http://www.libupnp.org/
 Source: http://puzzle.dl.sourceforge.net/sourceforge/pupnp/%{name}-%{version}.tar.bz2
+Patch0: open.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %define docdeveldir %{_docdir}/%{name}-devel-%{version}
@@ -27,6 +28,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure --with-documentation
@@ -78,6 +80,9 @@
 rm -rf %{buildroot}
 
 %changelog
+* Fri Sep 07 2007 Eric Tanguy <eric.tanguy at univ-nantes.fr> - 1.6.0-3
+- Patch to build with new glibc
+
 * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.6.0-2
 - Rebuild for selinux ppc32 issue.
 




More information about the scm-commits mailing list