rpms/vegastrike/devel vegastrike-0.5.0-boost-make_shared.patch, NONE, 1.1 vegastrike.spec, 1.15, 1.16

Benjamin Kosnik bkoz at fedoraproject.org
Sat Dec 20 07:20:44 UTC 2008


Author: bkoz

Update of /cvs/pkgs/rpms/vegastrike/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26369

Modified Files:
	vegastrike.spec 
Added Files:
	vegastrike-0.5.0-boost-make_shared.patch 
Log Message:
* Fri Dec 19 2008 Benjamin Kosnik  <bkoz at redhat.com> - 0.5.0-7
- Add boost-make_shared.patch
- Use -DBOOST_PYTHON_NO_PY_SIGNATURES.
- Rebuild for boost-1.37.0.



vegastrike-0.5.0-boost-make_shared.patch:

--- NEW FILE vegastrike-0.5.0-boost-make_shared.patch ---
*** vegastrike-source-0.5.0/src/networking/lowlevel/vsnet_socketset.cpp.orig	2008-12-19 22:27:11.000000000 -0800
--- vegastrike-source-0.5.0/src/networking/lowlevel/vsnet_socketset.cpp	2008-12-19 22:27:35.000000000 -0800
*************** int SocketSet::private_select( timeval* 
*** 180,186 ****
      
      if( !_client_mgr.expired() )
      {
!         boost::shared_ptr<VsnetDownload::Client::Manager> mgr( boost::make_shared(_client_mgr) );
          if( (bool)mgr )
          {
              mgr->lower_check_queues( );
--- 180,186 ----
      
      if( !_client_mgr.expired() )
      {
!       boost::shared_ptr<VsnetDownload::Client::Manager> mgr( _client_mgr.lock() );
          if( (bool)mgr )
          {
              mgr->lower_check_queues( );
*************** int SocketSet::private_select( timeval* 
*** 189,195 ****
  
      if( !_server_mgr.expired() )
      {
!         boost::shared_ptr<VsnetDownload::Server::Manager> mgr( boost::make_shared(_server_mgr) );
          if( (bool)mgr )
          {
              mgr->lower_check_queues( );
--- 189,195 ----
  
      if( !_server_mgr.expired() )
      {
!       boost::shared_ptr<VsnetDownload::Server::Manager> mgr( _server_mgr.lock() );
          if( (bool)mgr )
          {
              mgr->lower_check_queues( );


Index: vegastrike.spec
===================================================================
RCS file: /cvs/pkgs/rpms/vegastrike/devel/vegastrike.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- vegastrike.spec	1 Dec 2008 05:03:54 -0000	1.15
+++ vegastrike.spec	20 Dec 2008 07:20:13 -0000	1.16
@@ -1,6 +1,6 @@
 Name:           vegastrike
 Version:        0.5.0
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        3D OpenGL spaceflight simulator
 Group:          Amusements/Games
 License:        GPLv2+
@@ -17,6 +17,7 @@
 Patch4:         vegastrike-0.4.3-64-bit.patch
 Patch5:         vegastrike-0.4.3-openal.patch
 Patch6:         vegastrike-0.4.3-sys-python.patch
+Patch7:         vegastrike-0.5.0-boost-make_shared.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  libGLU-devel freeglut-devel libXi-devel libXmu-devel gtk2-devel
 BuildRequires:  libjpeg-devel libpng-devel boost-devel expat-devel python-devel
@@ -41,6 +42,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 iconv -f ISO-8859-1 -t UTF-8 README > README.tmp
 touch -r README README.tmp
 mv README.tmp README
@@ -51,7 +53,7 @@
 
 %build
 %configure --with-data-dir=%{_datadir}/%{name} --with-boost=system \
-  --enable-release --enable-flags="$RPM_OPT_FLAGS" --disable-ffmpeg \
+  --enable-release --enable-flags="-DBOOST_PYTHON_NO_PY_SIGNATURES $RPM_OPT_FLAGS" --disable-ffmpeg \
   --enable-stencil-buffer
 make %{?_smp_mflags}
 
@@ -96,6 +98,11 @@
 
 
 %changelog
+* Fri Dec 19 2008 Benjamin Kosnik  <bkoz at redhat.com> - 0.5.0-7
+- Add boost-make_shared.patch
+- Use -DBOOST_PYTHON_NO_PY_SIGNATURES.
+- Rebuild for boost-1.37.0.
+
 * Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 0.5.0-6
 - Rebuild for Python 2.6
 




More information about the fedora-extras-commits mailing list