rpms/libowfat/EL-5 libowfat-0.28-byteh.patch, NONE, 1.1 libowfat.spec, 1.3, 1.4

Matt Domsch mdomsch at fedoraproject.org
Fri Oct 16 03:13:24 UTC 2009


Author: mdomsch

Update of /cvs/extras/rpms/libowfat/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27553

Modified Files:
	libowfat.spec 
Added Files:
	libowfat-0.28-byteh.patch 
Log Message:
add patch to include byte.h as necessary to avoid gcc warning

libowfat-0.28-byteh.patch:
 io_dontwantread.c  |    2 ++
 io_dontwantwrite.c |    2 ++
 io_wantread.c      |    2 ++
 io_wantwrite.c     |    2 ++
 4 files changed, 8 insertions(+)

--- NEW FILE libowfat-0.28-byteh.patch ---
diff -urNp --exclude-from=/home/mdomsch/excludes --minimal libowfat-0.28.orig/io/io_dontwantread.c libowfat-0.28/io/io_dontwantread.c
--- libowfat-0.28.orig/io/io_dontwantread.c	2009-10-15 22:05:45.000000000 -0500
+++ libowfat-0.28/io/io_dontwantread.c	2009-10-15 22:07:53.000000000 -0500
@@ -17,6 +17,8 @@
 #include <sys/devpoll.h>
 #endif
 
+#include "byte.h"
+
 void io_dontwantread(int64 d) {
   int newfd;
   io_entry* e=array_get(&io_fds,sizeof(io_entry),d);
diff -urNp --exclude-from=/home/mdomsch/excludes --minimal libowfat-0.28.orig/io/io_dontwantwrite.c libowfat-0.28/io/io_dontwantwrite.c
--- libowfat-0.28.orig/io/io_dontwantwrite.c	2009-10-15 22:05:45.000000000 -0500
+++ libowfat-0.28/io/io_dontwantwrite.c	2009-10-15 22:07:41.000000000 -0500
@@ -17,6 +17,8 @@
 #include <sys/devpoll.h>
 #endif
 
+#include "byte.h"
+
 void io_dontwantwrite(int64 d) {
   int newfd;
   io_entry* e=array_get(&io_fds,sizeof(io_entry),d);
diff -urNp --exclude-from=/home/mdomsch/excludes --minimal libowfat-0.28.orig/io/io_wantread.c libowfat-0.28/io/io_wantread.c
--- libowfat-0.28.orig/io/io_wantread.c	2009-10-15 22:05:45.000000000 -0500
+++ libowfat-0.28/io/io_wantread.c	2009-10-15 22:07:28.000000000 -0500
@@ -23,6 +23,8 @@
 #include <mswsock.h>
 #endif
 
+#include "byte.h"
+
 void io_wantread(int64 d) {
   int newfd;
   io_entry* e=array_get(&io_fds,sizeof(io_entry),d);
diff -urNp --exclude-from=/home/mdomsch/excludes --minimal libowfat-0.28.orig/io/io_wantwrite.c libowfat-0.28/io/io_wantwrite.c
--- libowfat-0.28.orig/io/io_wantwrite.c	2009-10-15 22:05:45.000000000 -0500
+++ libowfat-0.28/io/io_wantwrite.c	2009-10-15 22:07:08.000000000 -0500
@@ -20,6 +20,8 @@
 #include <sys/devpoll.h>
 #endif
 
+#include "byte.h"
+
 void io_wantwrite(int64 d) {
   int newfd;
   io_entry* e=array_get(&io_fds,sizeof(io_entry),d);


Index: libowfat.spec
===================================================================
RCS file: /cvs/extras/rpms/libowfat/EL-5/libowfat.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- libowfat.spec	16 Oct 2009 03:02:41 -0000	1.3
+++ libowfat.spec	16 Oct 2009 03:13:23 -0000	1.4
@@ -8,6 +8,7 @@ Group:          System Environment/Libra
 License:        GPLv2
 URL:            http://www.fefe.de/libowfat/
 Source0:        http://dl.fefe.de/%{name}-%{version}.tar.bz2
+Patch1:         libowfat-0.28-byteh.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
@@ -40,6 +41,7 @@ layer of mmap and sendfile.
 
 %prep
 %setup -q
+%patch1 -p1
 
 sed -i '/^CFLAGS/d' GNUmakefile
 
@@ -72,6 +74,7 @@ rm -rf %{buildroot}
 %changelog
 * Thu Oct 15 2009 Matt Domsch <mdomsch at fedoraproject.org> - 0.28-4
 - build for EL-5, drop dietlibc usage
+- add patch to include byte.h as necessary to avoid gcc warning
 
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.28-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild




More information about the scm-commits mailing list