rpms/libassa/devel libassa-3.5.0.includes.patch, NONE, 1.1 libassa.spec, 1.5, 1.6

Caolan McNamara caolanm at fedoraproject.org
Sat Feb 28 13:36:21 UTC 2009


Author: caolanm

Update of /cvs/pkgs/rpms/libassa/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20740

Modified Files:
	libassa.spec 
Added Files:
	libassa-3.5.0.includes.patch 
Log Message:
add stdarg.h for va_list and stdio.h for vsnprintf

libassa-3.5.0.includes.patch:

--- NEW FILE libassa-3.5.0.includes.patch ---
diff -ru libassa-3.5.0.orig/assa/Logger_Impl.cpp libassa-3.5.0/assa/Logger_Impl.cpp
--- libassa-3.5.0.orig/assa/Logger_Impl.cpp	2009-02-28 13:21:10.000000000 +0000
+++ libassa-3.5.0/assa/Logger_Impl.cpp	2009-02-28 13:28:48.000000000 +0000
@@ -21,6 +21,8 @@
 
 #if defined (WIN32)
 #  include <windows.h>			// for vsnprintf() bug
+#else
+#  include <stdio.h>
 #endif
 
 using namespace ASSA;
diff -ru libassa-3.5.0.orig/assa/Logger_Impl.h libassa-3.5.0/assa/Logger_Impl.h
--- libassa-3.5.0.orig/assa/Logger_Impl.h	2009-02-28 13:21:10.000000000 +0000
+++ libassa-3.5.0/assa/Logger_Impl.h	2009-02-28 13:22:37.000000000 +0000
@@ -21,7 +21,7 @@
 #include <sys/varargs.h>		// va_list
 #endif
 
-#if defined (__CYGWIN32__) || defined (__NetBSD__) || defined (WIN32)
+#if defined (__CYGWIN32__) || defined (__NetBSD__) || defined (WIN32) || defined(__GNUC__)
 # include <stdarg.h>
 #endif
 


Index: libassa.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libassa/devel/libassa.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- libassa.spec	25 Feb 2009 13:42:45 -0000	1.5
+++ libassa.spec	28 Feb 2009 13:35:51 -0000	1.6
@@ -11,11 +11,12 @@
 Summary:    C++ network-oriented application framework 
 Name:       libassa
 Version:    3.5.0
-Release:    4
+Release:    5
 License:    LGPLv2+
 Group:      System Environment/Libraries
 URL:        http://libassa.sourceforge.net/
 Source:     http://dl.sf.net/sourceforge/libassa/libassa-%{version}.tar.gz
+Patch1:     libassa-3.5.0.includes.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires: doxygen
@@ -61,6 +62,7 @@
 
 %prep
 %setup -q
+%patch1 -p1 -b .includes
 
 #===============================================================================
 # build section
@@ -124,6 +126,9 @@
 
 
 %changelog
+* Sat Feb 28 2009 Caolán McNamara - 3.5.0-5
+- add stdarg.h for va_list and stdio.h for vsnprintf
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.5.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list