Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 2009 06:39:11 +0300 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/133041: [PATCH] net-p2p/rblibtorrent-devel: prepare for upcoming boost 1.37.0
Message-ID:  <20090325033911.6CE9310883C@hades.panopticon>
Resent-Message-ID: <200903250350.n2P3o1qU061894@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133041
>Category:       ports
>Synopsis:       [PATCH] net-p2p/rblibtorrent-devel: prepare for upcoming boost 1.37.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 25 03:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Mar 21 18:50:30 MSK 2009
>Description:
Prepare for upcoming boost 1.37.0

This change is incompatible with current boost, so it's to be committed with boost update

Added file(s):
- files/patch-configure

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- rblibtorrent-devel-0.14.2_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/net-p2p/rblibtorrent-devel/Makefile,v
retrieving revision 1.18
diff -u -u -r1.18 Makefile
--- Makefile	23 Mar 2009 21:42:11 -0000	1.18
+++ Makefile	24 Mar 2009 22:33:07 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	libtorrent
 PORTVERSION=	0.14.2
+PORTREVISION=	1
 CATEGORIES=	net-p2p
 MASTER_SITES=	SF
 PKGNAMEPREFIX=	rb
@@ -29,8 +30,10 @@
 		--with-boost-filesystem=boost_filesystem \
 		--with-boost-thread=boost_thread \
 		--with-boost-regex=boost_regex \
-		--with-boost-program-options=boost_program_options
+		--with-boost-program-options=boost_program_options \
+		--with-asio=system
 USE_LDCONFIG=	yes
+USE_GCC=	4.2+
 
 CPPFLAGS=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
 LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
Index: pkg-plist
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/net-p2p/rblibtorrent-devel/pkg-plist,v
retrieving revision 1.13
diff -u -u -r1.13 pkg-plist
--- pkg-plist	23 Mar 2009 21:42:11 -0000	1.13
+++ pkg-plist	24 Mar 2009 18:04:05 -0000
@@ -1,195 +1,6 @@
 include/libtorrent/GeoIP.h
 include/libtorrent/alert.hpp
 include/libtorrent/alert_types.hpp
-include/libtorrent/asio/basic_datagram_socket.hpp
-include/libtorrent/asio/basic_deadline_timer.hpp
-include/libtorrent/asio/basic_io_object.hpp
-include/libtorrent/asio/basic_raw_socket.hpp
-include/libtorrent/asio/basic_serial_port.hpp
-include/libtorrent/asio/basic_socket.hpp
-include/libtorrent/asio/basic_socket_acceptor.hpp
-include/libtorrent/asio/basic_socket_iostream.hpp
-include/libtorrent/asio/basic_socket_streambuf.hpp
-include/libtorrent/asio/basic_stream_socket.hpp
-include/libtorrent/asio/basic_streambuf.hpp
-include/libtorrent/asio/buffer.hpp
-include/libtorrent/asio/buffered_read_stream.hpp
-include/libtorrent/asio/buffered_read_stream_fwd.hpp
-include/libtorrent/asio/buffered_stream.hpp
-include/libtorrent/asio/buffered_stream_fwd.hpp
-include/libtorrent/asio/buffered_write_stream.hpp
-include/libtorrent/asio/buffered_write_stream_fwd.hpp
-include/libtorrent/asio/buffers_iterator.hpp
-include/libtorrent/asio/completion_condition.hpp
-include/libtorrent/asio/datagram_socket_service.hpp
-include/libtorrent/asio/deadline_timer.hpp
-include/libtorrent/asio/deadline_timer_service.hpp
-include/libtorrent/asio/detail/bind_handler.hpp
-include/libtorrent/asio/detail/buffer_resize_guard.hpp
-include/libtorrent/asio/detail/buffered_stream_storage.hpp
-include/libtorrent/asio/detail/call_stack.hpp
-include/libtorrent/asio/detail/const_buffers_iterator.hpp
-include/libtorrent/asio/detail/consuming_buffers.hpp
-include/libtorrent/asio/detail/deadline_timer_service.hpp
-include/libtorrent/asio/detail/descriptor_ops.hpp
-include/libtorrent/asio/detail/dev_poll_reactor.hpp
-include/libtorrent/asio/detail/dev_poll_reactor_fwd.hpp
-include/libtorrent/asio/detail/epoll_reactor.hpp
-include/libtorrent/asio/detail/epoll_reactor_fwd.hpp
-include/libtorrent/asio/detail/event.hpp
-include/libtorrent/asio/detail/fd_set_adapter.hpp
-include/libtorrent/asio/detail/handler_alloc_helpers.hpp
-include/libtorrent/asio/detail/handler_base_from_member.hpp
-include/libtorrent/asio/detail/handler_invoke_helpers.hpp
-include/libtorrent/asio/detail/handler_queue.hpp
-include/libtorrent/asio/detail/hash_map.hpp
-include/libtorrent/asio/detail/indirect_handler_queue.hpp
-include/libtorrent/asio/detail/io_control.hpp
-include/libtorrent/asio/detail/kqueue_reactor.hpp
-include/libtorrent/asio/detail/kqueue_reactor_fwd.hpp
-include/libtorrent/asio/detail/local_free_on_block_exit.hpp
-include/libtorrent/asio/detail/mutex.hpp
-include/libtorrent/asio/detail/noncopyable.hpp
-include/libtorrent/asio/detail/null_event.hpp
-include/libtorrent/asio/detail/null_mutex.hpp
-include/libtorrent/asio/detail/null_signal_blocker.hpp
-include/libtorrent/asio/detail/null_thread.hpp
-include/libtorrent/asio/detail/null_tss_ptr.hpp
-include/libtorrent/asio/detail/old_win_sdk_compat.hpp
-include/libtorrent/asio/detail/pipe_select_interrupter.hpp
-include/libtorrent/asio/detail/pop_options.hpp
-include/libtorrent/asio/detail/posix_event.hpp
-include/libtorrent/asio/detail/posix_fd_set_adapter.hpp
-include/libtorrent/asio/detail/posix_mutex.hpp
-include/libtorrent/asio/detail/posix_signal_blocker.hpp
-include/libtorrent/asio/detail/posix_thread.hpp
-include/libtorrent/asio/detail/posix_tss_ptr.hpp
-include/libtorrent/asio/detail/push_options.hpp
-include/libtorrent/asio/detail/reactive_descriptor_service.hpp
-include/libtorrent/asio/detail/reactive_serial_port_service.hpp
-include/libtorrent/asio/detail/reactive_socket_service.hpp
-include/libtorrent/asio/detail/reactor_op_queue.hpp
-include/libtorrent/asio/detail/resolver_service.hpp
-include/libtorrent/asio/detail/scoped_lock.hpp
-include/libtorrent/asio/detail/select_interrupter.hpp
-include/libtorrent/asio/detail/select_reactor.hpp
-include/libtorrent/asio/detail/select_reactor_fwd.hpp
-include/libtorrent/asio/detail/service_base.hpp
-include/libtorrent/asio/detail/service_id.hpp
-include/libtorrent/asio/detail/service_registry.hpp
-include/libtorrent/asio/detail/service_registry_fwd.hpp
-include/libtorrent/asio/detail/signal_blocker.hpp
-include/libtorrent/asio/detail/signal_init.hpp
-include/libtorrent/asio/detail/socket_holder.hpp
-include/libtorrent/asio/detail/socket_ops.hpp
-include/libtorrent/asio/detail/socket_option.hpp
-include/libtorrent/asio/detail/socket_select_interrupter.hpp
-include/libtorrent/asio/detail/socket_types.hpp
-include/libtorrent/asio/detail/strand_service.hpp
-include/libtorrent/asio/detail/task_io_service.hpp
-include/libtorrent/asio/detail/task_io_service_2lock.hpp
-include/libtorrent/asio/detail/task_io_service_fwd.hpp
-include/libtorrent/asio/detail/thread.hpp
-include/libtorrent/asio/detail/throw_error.hpp
-include/libtorrent/asio/detail/timer_queue.hpp
-include/libtorrent/asio/detail/timer_queue_base.hpp
-include/libtorrent/asio/detail/tss_ptr.hpp
-include/libtorrent/asio/detail/win_event.hpp
-include/libtorrent/asio/detail/win_fd_set_adapter.hpp
-include/libtorrent/asio/detail/win_iocp_handle_service.hpp
-include/libtorrent/asio/detail/win_iocp_io_service.hpp
-include/libtorrent/asio/detail/win_iocp_io_service_fwd.hpp
-include/libtorrent/asio/detail/win_iocp_serial_port_service.hpp
-include/libtorrent/asio/detail/win_iocp_socket_service.hpp
-include/libtorrent/asio/detail/win_mutex.hpp
-include/libtorrent/asio/detail/win_signal_blocker.hpp
-include/libtorrent/asio/detail/win_thread.hpp
-include/libtorrent/asio/detail/win_tss_ptr.hpp
-include/libtorrent/asio/detail/wince_thread.hpp
-include/libtorrent/asio/detail/winsock_init.hpp
-include/libtorrent/asio/detail/wrapped_handler.hpp
-include/libtorrent/asio/error.hpp
-include/libtorrent/asio/error_code.hpp
-include/libtorrent/asio/handler_alloc_hook.hpp
-include/libtorrent/asio/handler_invoke_hook.hpp
-include/libtorrent/asio/impl/error_code.ipp
-include/libtorrent/asio/impl/io_service.ipp
-include/libtorrent/asio/impl/read.ipp
-include/libtorrent/asio/impl/read_at.ipp
-include/libtorrent/asio/impl/read_until.ipp
-include/libtorrent/asio/impl/serial_port_base.ipp
-include/libtorrent/asio/impl/write.ipp
-include/libtorrent/asio/impl/write_at.ipp
-include/libtorrent/asio/io_service.hpp
-include/libtorrent/asio/ip/address.hpp
-include/libtorrent/asio/ip/address_v4.hpp
-include/libtorrent/asio/ip/address_v6.hpp
-include/libtorrent/asio/ip/basic_endpoint.hpp
-include/libtorrent/asio/ip/basic_resolver.hpp
-include/libtorrent/asio/ip/basic_resolver_entry.hpp
-include/libtorrent/asio/ip/basic_resolver_iterator.hpp
-include/libtorrent/asio/ip/basic_resolver_query.hpp
-include/libtorrent/asio/ip/detail/socket_option.hpp
-include/libtorrent/asio/ip/host_name.hpp
-include/libtorrent/asio/ip/icmp.hpp
-include/libtorrent/asio/ip/multicast.hpp
-include/libtorrent/asio/ip/resolver_query_base.hpp
-include/libtorrent/asio/ip/resolver_service.hpp
-include/libtorrent/asio/ip/tcp.hpp
-include/libtorrent/asio/ip/udp.hpp
-include/libtorrent/asio/ip/unicast.hpp
-include/libtorrent/asio/ip/v6_only.hpp
-include/libtorrent/asio/is_read_buffered.hpp
-include/libtorrent/asio/is_write_buffered.hpp
-include/libtorrent/asio/local/basic_endpoint.hpp
-include/libtorrent/asio/local/connect_pair.hpp
-include/libtorrent/asio/local/datagram_protocol.hpp
-include/libtorrent/asio/local/stream_protocol.hpp
-include/libtorrent/asio/placeholders.hpp
-include/libtorrent/asio/posix/basic_descriptor.hpp
-include/libtorrent/asio/posix/basic_stream_descriptor.hpp
-include/libtorrent/asio/posix/descriptor_base.hpp
-include/libtorrent/asio/posix/stream_descriptor.hpp
-include/libtorrent/asio/posix/stream_descriptor_service.hpp
-include/libtorrent/asio/raw_socket_service.hpp
-include/libtorrent/asio/read.hpp
-include/libtorrent/asio/read_at.hpp
-include/libtorrent/asio/read_until.hpp
-include/libtorrent/asio/serial_port.hpp
-include/libtorrent/asio/serial_port_base.hpp
-include/libtorrent/asio/serial_port_service.hpp
-include/libtorrent/asio/socket_acceptor_service.hpp
-include/libtorrent/asio/socket_base.hpp
-include/libtorrent/asio/ssl/basic_context.hpp
-include/libtorrent/asio/ssl/context.hpp
-include/libtorrent/asio/ssl/context_base.hpp
-include/libtorrent/asio/ssl/context_service.hpp
-include/libtorrent/asio/ssl/detail/openssl_context_service.hpp
-include/libtorrent/asio/ssl/detail/openssl_init.hpp
-include/libtorrent/asio/ssl/detail/openssl_operation.hpp
-include/libtorrent/asio/ssl/detail/openssl_stream_service.hpp
-include/libtorrent/asio/ssl/detail/openssl_types.hpp
-include/libtorrent/asio/ssl/stream.hpp
-include/libtorrent/asio/ssl/stream_base.hpp
-include/libtorrent/asio/ssl/stream_service.hpp
-include/libtorrent/asio/ssl.hpp
-include/libtorrent/asio/strand.hpp
-include/libtorrent/asio/stream_socket_service.hpp
-include/libtorrent/asio/streambuf.hpp
-include/libtorrent/asio/system_error.hpp
-include/libtorrent/asio/thread.hpp
-include/libtorrent/asio/time_traits.hpp
-include/libtorrent/asio/version.hpp
-include/libtorrent/asio/windows/basic_handle.hpp
-include/libtorrent/asio/windows/basic_random_access_handle.hpp
-include/libtorrent/asio/windows/basic_stream_handle.hpp
-include/libtorrent/asio/windows/random_access_handle.hpp
-include/libtorrent/asio/windows/random_access_handle_service.hpp
-include/libtorrent/asio/windows/stream_handle.hpp
-include/libtorrent/asio/windows/stream_handle_service.hpp
-include/libtorrent/asio/write.hpp
-include/libtorrent/asio/write_at.hpp
-include/libtorrent/asio.hpp
 include/libtorrent/assert.hpp
 include/libtorrent/aux_/session_impl.hpp
 include/libtorrent/bandwidth_limit.hpp
@@ -295,14 +106,4 @@
 @dirrm include/libtorrent/kademlia
 @dirrm include/libtorrent/extensions
 @dirrm include/libtorrent/aux_
-@dirrm include/libtorrent/asio/windows
-@dirrm include/libtorrent/asio/ssl/detail
-@dirrm include/libtorrent/asio/ssl
-@dirrm include/libtorrent/asio/posix
-@dirrm include/libtorrent/asio/local
-@dirrm include/libtorrent/asio/ip/detail
-@dirrm include/libtorrent/asio/ip
-@dirrm include/libtorrent/asio/impl
-@dirrm include/libtorrent/asio/detail
-@dirrm include/libtorrent/asio
 @dirrm include/libtorrent
Index: files/patch-configure
===================================================================
RCS file: files/patch-configure
diff -N files/patch-configure
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-configure	24 Mar 2009 14:47:13 -0000
@@ -0,0 +1,14 @@
+--- configure.orig	2009-02-18 11:42:51.000000000 +0300
++++ configure	2009-03-24 17:47:12.000000000 +0300
+@@ -21727,11 +21727,6 @@
+     	LDFLAGS="$LDFLAGS_SAVED"
+ 	fi
+ 
+-      if test -z "$BOOST_SYSTEM_LIB"; then
+-      { { echo "$as_me:$LINENO: error: unable to find Boost.System library, currently this is required." >&5
+-echo "$as_me: error: unable to find Boost.System library, currently this is required." >&2;}
+-   { (exit 1); exit 1; }; }
+-   fi
+ 
+ 
+ 
--- rblibtorrent-devel-0.14.2_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090325033911.6CE9310883C>