summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorken5a4 <ken5a4@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-06-03 16:40:13 +0000
committerken5a4 <ken5a4@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-06-03 16:40:13 +0000
commit8e95a2b9b83d237ffa16c43866359ce7d38a9034 (patch)
tree99731031f4f975c5d568e2ee51ef8b41628876b7
parent00c9ea8ae85f7edcbda5a32a1f89ea71abe87f1a (diff)
downloadATCD-8e95a2b9b83d237ffa16c43866359ce7d38a9034.tar.gz
Added ace-tao-strrecvfd.patch (related to bug #3291).
Changed make loop construct to abort when subcomponent fails. Removed PSS from TAO build list. Added ace-tao-unusedarg.patch (related to bug #3270). Made qt3 BuildRequires conditional on Fedora version.
-rw-r--r--ACE/ChangeLog11
-rw-r--r--ACE/rpmbuild/ace-tao-strrecvfd.patch10
-rw-r--r--ACE/rpmbuild/ace-tao-unusedarg.patch20
-rw-r--r--ACE/rpmbuild/ace-tao.spec41
4 files changed, 72 insertions, 10 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index c2fd23d6174..bd4b8ff8780 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,14 @@
+Tue Jun 3 16:14:39 UTC 2008 Ken Sedgwick <ken+5a4@bonsai.com>
+
+ * rpmbuild/ace-tao.spec:
+ * rpmbuild/ace-tao-unusedarg.patch:
+ * rpmbuild/ace-tao-strrecvfd.patch:
+ Added ace-tao-strrecvfd.patch (related to bug #3291).
+ Changed make loop construct to abort when subcomponent fails.
+ Removed PSS from TAO build list.
+ Added ace-tao-unusedarg.patch (related to bug #3270).
+ Made qt3 BuildRequires conditional on Fedora version.
+
Mon Jun 2 15:26:57 UTC 2008 Douglas C. Schmidt <schmidt@dre.vanderbilt.edu>
* ace/Log_Record.cpp (format_msg): Make sure to divide sizeof ctp
diff --git a/ACE/rpmbuild/ace-tao-strrecvfd.patch b/ACE/rpmbuild/ace-tao-strrecvfd.patch
new file mode 100644
index 00000000000..f4261ebe859
--- /dev/null
+++ b/ACE/rpmbuild/ace-tao-strrecvfd.patch
@@ -0,0 +1,10 @@
+--- ACE_wrappers/ace/config-linux-common.h~ 2008-05-15 05:53:03.000000000 -0700
++++ ACE_wrappers/ace/config-linux-common.h 2008-06-02 01:36:45.000000000 -0700
+@@ -368,6 +368,7 @@
+ // this define is set
+ #if defined _XOPEN_STREAMS && _XOPEN_STREAMS == -1
+ # define ACE_LACKS_STROPTS_H
++# define ACE_LACKS_STRRECVFD
+ #endif
+
+ #if !defined (ACE_LACKS_STROPTS_H)
diff --git a/ACE/rpmbuild/ace-tao-unusedarg.patch b/ACE/rpmbuild/ace-tao-unusedarg.patch
new file mode 100644
index 00000000000..cc9c0aae09e
--- /dev/null
+++ b/ACE/rpmbuild/ace-tao-unusedarg.patch
@@ -0,0 +1,20 @@
+--- ACE_wrappers/ace/config-macros.h~ 2008-03-04 06:51:23.000000000 -0800
++++ ACE_wrappers/ace/config-macros.h 2008-06-02 13:25:50.000000000 -0700
+@@ -375,7 +375,7 @@
+ // should keep them quiet.
+ // ============================================================================
+
+-#if defined (ghs) || defined (__GNUC__) || defined (__hpux) || defined (__sgi) || defined (__DECCXX) || defined (__rational__) || defined (__USLC__) || defined (ACE_RM544) || defined (__DCC__) || defined (__PGI) || defined (__TANDEM)
++#if defined (ghs) || defined (__hpux) || defined (__sgi) || defined (__DECCXX) || defined (__rational__) || defined (__USLC__) || defined (ACE_RM544) || defined (__DCC__) || defined (__PGI) || defined (__TANDEM)
+ // Some compilers complain about "statement with no effect" with (a).
+ // This eliminates the warnings, and no code is generated for the null
+ // conditional statement. @note that may only be true if -O is enabled,
+@@ -385,6 +385,8 @@
+ #define ACE_UNUSED_ID(identifier)
+ template <class T>
+ inline void ACE_UNUSED_ARG(const T& ACE_UNUSED_ID(t)) { }
++#elif defined (__GNUC__)
++# define ACE_UNUSED_ARG(a) (void) (a)
+ #else /* ghs || __GNUC__ || ..... */
+ # define ACE_UNUSED_ARG(a) (a)
+ #endif /* ghs || __GNUC__ || ..... */
diff --git a/ACE/rpmbuild/ace-tao.spec b/ACE/rpmbuild/ace-tao.spec
index 6ce9f78c905..8233a4adb2e 100644
--- a/ACE/rpmbuild/ace-tao.spec
+++ b/ACE/rpmbuild/ace-tao.spec
@@ -37,7 +37,7 @@
Summary: The ADAPTIVE Communication Environment (ACE) and The ACE ORB (TAO)
Name: ace-tao
Version: %{ACEVER}
-Release: 4%{?OPTTAG}%{?dist}
+Release: 5%{?OPTTAG}%{?dist}
Group: Development/Libraries
URL: http://www.cs.wustl.edu/~schmidt/ACE.html
License: DOC License
@@ -47,6 +47,8 @@ Source0: http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO+CIAO-%{ACE
## Patch0: ace-tao-config.patch
## Patch4: ace-tao-gperf-info.patch
## Patch5: ace-tao-orbsvcs-daemon.patch
+## Patch6: ace-tao-strrecvfd.patch
+## Patch7: ace-tao-unusedarg.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): /sbin/install-info, /sbin/install-info
@@ -54,16 +56,22 @@ Requires(preun): /sbin/install-info
Requires(postun): /sbin/ldconfig
BuildRequires: openssl-devel
-BuildRequires: gcc-c++
# Read: true if _with_guilibs is defined, false if not defined.
%if %{?_with_guilibs:1}%{!?_with_guilibs:0}
BuildRequires: perl
BuildRequires: fltk-devel
-BuildRequires: qt-devel
BuildRequires: tcl-devel
BuildRequires: tk-devel
BuildRequires: tk
+
+# qt3 has a name change in F9
+%if 0%{?fedora} > 8
+BuildRequires: qt3-devel
+%else
+BuildRequires: qt-devel
+%endif
+
# The xorg package naming scheme changed, use specific files for now.
# old -> BuildRequires: xorg-x11-devel
# new -> BuildRequires: libX11-devel
@@ -618,6 +626,10 @@ export CIAO_ROOT=$TAO_ROOT/CIAO
cat ${ACE_ROOT}/rpmbuild/ace-tao-gperf-info.patch | patch -p 1
#patch5 -p 1
cat ${ACE_ROOT}/rpmbuild/ace-tao-orbsvcs-daemon.patch | patch -p 1
+#%patch6 -p 1
+cat ${ACE_ROOT}/rpmbuild/ace-tao-strrecvfd.patch | patch -p 1
+#%patch7 -p 1
+cat ${ACE_ROOT}/rpmbuild/ace-tao-unusedarg.patch | patch -p 1
# don't use patch8 until we verify wether needed
@@ -783,6 +795,7 @@ export LD_LIBRARY_PATH=$ACE_ROOT/lib
%if %skip_make
cd .. && rm -rf ACE_wrappers && ln -s ACE_wrappers-BUILT ACE_wrappers
%else
+
MAKECMD="make %{?_smp_mflags}"
# build ACE components
@@ -792,9 +805,10 @@ for ace_comp in \
ACEXML \
apps/gperf \
protocols \
- websvcs; do (
-$MAKECMD -C $ACE_ROOT/$ace_comp
-); done
+ websvcs;
+do
+ $MAKECMD -C $ACE_ROOT/$ace_comp;
+done
# build TAO components
$MAKECMD -C $TAO_ROOT/TAO_IDL
@@ -804,7 +818,6 @@ $MAKECMD -C $TAO_ROOT/tao
# $ACE_ROOT/orbsvcs/GNUmakefile less the performance-tests, tests and
# examples.
for orbsvcs_comp in \
- PSS \
TAO_Service \
orbsvcs \
Trading_Service \
@@ -824,9 +837,10 @@ for orbsvcs_comp in \
Event_Service \
Dump_Schedule \
CosEvent_Service \
- Concurrency_Service; do (
-$MAKECMD -C $TAO_ROOT/orbsvcs/$orbsvcs_comp
-); done
+ Concurrency_Service;
+do
+ $MAKECMD -C $TAO_ROOT/orbsvcs/$orbsvcs_comp;
+done
$MAKECMD -C $TAO_ROOT/utils
@@ -2172,6 +2186,13 @@ fi
# ================================================================
%changelog
+* Mon Jun 2 2008 Ken Sedgwick <ken+5a4@bonsai.com> - 5.6.5-5
+- Added ace-tao-strrecvfd.patch (related to bug #3291).
+- Changed make loop construct to abort when subcomponent fails.
+- Removed PSS from TAO build list.
+- Added ace-tao-unusedarg.patch (related to bug #3270).
+- Made qt3 BuildRequires conditional on Fedora version.
+
* Wed May 28 2008 Ken Sedgwick <ken+5a4@bonsai.com> - 5.6.5-4
- Added ace-tao-orbsvcs-daemon.patch.
- Fixed tao-cosconcurrency command line arguments.