[bes] Update to 3.9.2 Add patch to support gcc 4.7

Orion Poplawski orion at fedoraproject.org
Fri Jan 13 20:51:33 UTC 2012


commit b1480ebd67682644cf0b23930e42b4d3183d0eae
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Fri Jan 13 13:51:30 2012 -0700

    Update to 3.9.2
    Add patch to support gcc 4.7

 .gitignore              |    1 +
 bes-3.8.4-openssl.patch |   30 ------------------------------
 bes-gcc47.patch         |   11 +++++++++++
 bes.spec                |   12 ++++++++----
 sources                 |    2 +-
 5 files changed, 21 insertions(+), 35 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7839394..abef404 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 bes-3.8.4.tar.gz
 /bes-3.9.0.tar.gz
+/bes-3.9.2.tar.gz
diff --git a/bes-gcc47.patch b/bes-gcc47.patch
new file mode 100644
index 0000000..453f1bf
--- /dev/null
+++ b/bes-gcc47.patch
@@ -0,0 +1,11 @@
+diff -up bes-3.9.2/dispatch/BESDebug.cc.gcc47 bes-3.9.2/dispatch/BESDebug.cc
+--- bes-3.9.2/dispatch/BESDebug.cc.gcc47	2011-08-01 10:43:30.000000000 -0600
++++ bes-3.9.2/dispatch/BESDebug.cc	2012-01-13 12:28:38.414752409 -0700
+@@ -33,6 +33,7 @@
+ #include "config.h"
+ 
+ #include <time.h>
++#include <unistd.h>
+ 
+ #include <fstream>
+ #include <iostream>
diff --git a/bes.spec b/bes.spec
index 9ffe5d5..cc9e361 100644
--- a/bes.spec
+++ b/bes.spec
@@ -5,15 +5,15 @@
 %define besgroup %{name}
 
 Name:           bes
-Version:        3.9.0
-Release:        2%{?dist}
+Version:        3.9.2
+Release:        1%{?dist}
 Summary:        Back-end server software framework for OPeNDAP
 
 Group:          System Environment/Libraries
 License:        LGPLv2+
 URL:            http://www.opendap.org/download/BES.html
 Source0:        http://www.opendap.org/pub/source/bes-%{version}.tar.gz
-Patch2:         bes-3.8.4-openssl.patch
+Patch0:         bes-gcc47.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -64,7 +64,7 @@ Documentation of OPeNDAP BES.
 
 %prep
 %setup -q
-%patch2 -p1 -b .openssl
+%patch0 -p1 -b .gcc47
 chmod a-x dispatch/BESStreamResponseHandler*
 
 %build
@@ -157,6 +157,10 @@ exit 0
 %doc COPYING __distribution_docs/api-html/
 
 %changelog
+* Fri Jan 13 2012 Orion Poplawski <orion at cora.nwra.com> - 3.9.2-1
+- Update to 3.9.2
+- Add patch to support gcc 4.7
+
 * Thu Jan 12 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.9.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index af4ddb8..f7f78ef 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2a062618914d9ca4fe246e4a64f49233  bes-3.9.0.tar.gz
+d5e189201722f23c39ba3ded95f25f8d  bes-3.9.2.tar.gz


More information about the scm-commits mailing list