rpms/zzuf/devel zzuf-0.9-open.patch,NONE,1.1 zzuf.spec,1.3,1.4
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Sun Aug 19 20:22:07 UTC 2007
Author: scop
Update of /cvs/pkgs/rpms/zzuf/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24601
Modified Files:
zzuf.spec
Added Files:
zzuf-0.9-open.patch
Log Message:
* Sun Aug 19 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.9-2
- Fix build with glibc >= 2.6.90 and -D_FORTIFY_SOURCE=2, thanks to
Jan Kratochvil.
zzuf-0.9-open.patch:
--- NEW FILE zzuf-0.9-open.patch ---
--- zzuf-0.9/src/lib-fd.c~ 2007-07-06 16:40:55.000000000 +0300
+++ zzuf-0.9/src/lib-fd.c 2007-08-19 22:58:56.000000000 +0300
@@ -148,13 +148,13 @@ static int (*ORIG(close)) (int fd)
} \
} while(0)
-int NEW(open)(const char *file, int oflag, ...)
+int (NEW(open))(const char *file, int oflag, ...)
{
int ret; OPEN(open); return ret;
}
#if defined HAVE_OPEN64
-int NEW(open64)(const char *file, int oflag, ...)
+int (NEW(open64))(const char *file, int oflag, ...)
{
int ret; OPEN(open64); return ret;
}
Index: zzuf.spec
===================================================================
RCS file: /cvs/pkgs/rpms/zzuf/devel/zzuf.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- zzuf.spec 10 Jul 2007 19:27:26 -0000 1.3
+++ zzuf.spec 19 Aug 2007 20:21:34 -0000 1.4
@@ -1,6 +1,6 @@
Name: zzuf
Version: 0.9
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Transparent application input fuzzer
Group: Development/Tools
@@ -8,6 +8,7 @@
URL: http://sam.zoy.org/zzuf/
Source0: http://sam.zoy.org/zzuf/%{name}-%{version}.tar.gz
Patch0: %{name}-0.8.1-optflags.patch
+Patch1: %{name}-0.9-open.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
@@ -22,6 +23,7 @@
touch -r configure.ac configure.ac.stamp
%patch0 -p1
touch -r configure.ac.stamp configure.ac
+%patch1 -p1
%build
@@ -49,6 +51,10 @@
%changelog
+* Sun Aug 19 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.9-2
+- Fix build with glibc >= 2.6.90 and -D_FORTIFY_SOURCE=2, thanks to
+ Jan Kratochvil.
+
* Tue Jul 10 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.9-1
- 0.9.
More information about the fedora-extras-commits
mailing list