orion pushed to flow-tools (epel7). "getopt() is now in unistd.h"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 13 21:32:28 UTC 2015


>From fb35041833d1c34b4df15a42a53016e084cc01ed Mon Sep 17 00:00:00 2001
From: Paul P Komkoff Jr <stingray at fedoraproject.org>
Date: Sun, 25 Mar 2007 08:21:00 +0000
Subject: getopt() is now in unistd.h


diff --git a/flow-tools-0.68-getopt.patch b/flow-tools-0.68-getopt.patch
new file mode 100644
index 0000000..cd677c4
--- /dev/null
+++ b/flow-tools-0.68-getopt.patch
@@ -0,0 +1,11 @@
+diff -urN flow-tools-0.68/src/flow-header.c flow-tools-0.68.s/src/flow-header.c
+--- flow-tools-0.68/src/flow-header.c	2003-04-02 22:03:02.000000000 +0400
++++ flow-tools-0.68.s/src/flow-header.c	2007-03-24 23:35:30.000000000 +0300
+@@ -32,6 +32,7 @@
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ 
+ void usage(void);
+ 
diff --git a/flow-tools.spec b/flow-tools.spec
index e95b0bc..8991c5b 100644
--- a/flow-tools.spec
+++ b/flow-tools.spec
@@ -1,7 +1,7 @@
 Version: 0.68
 Name: flow-tools
 Summary: Tool set for working with NetFlow data
-Release: 15%{?dist}
+Release: 16%{?dist}
 Group: Applications/System
 License: BSD 
 URL: http://www.splintered.net/sw/flow-tools/
@@ -15,6 +15,7 @@ Patch6: flow-tools-0.68-0006-Fix-unitialized-variable-in-flow-send.patch
 Patch7: flow-tools-0.68-0007-Add-extra-debugging-to-ftpdu_verify.patch
 Patch8: flow-tools-0.68-0008-Fix-unitialized-variable-in-flow-export.c.patch
 Patch9: flow-tools-0.68.rpt72.patch
+Patch10: flow-tools-0.68-getopt.patch
 
 Requires: rrdtool-python
 
@@ -58,6 +59,7 @@ libft.
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
 
 %build
 autoreconf -f -i -s
@@ -96,6 +98,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/*.h
 
 %changelog
+* Sun Mar 25 2007 Paul P Komkoff Jr <i at stingr.net> - 0.68-16
+- getopt() is now in unistd.h
+
 * Sun Mar 18 2007 Paul P Komkoff Jr <i at stingr.net> - 0.68-15
 - Add runtime dependency for python-rrdtool
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/flow-tools.git/commit/?h=epel7&id=fb35041833d1c34b4df15a42a53016e084cc01ed


More information about the scm-commits mailing list