View | Details | Raw Unified | Return to bug 79469
Collapse All | Expand All

(-)devel/libassa/Makefile (-7 / +8 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	libassa
9
PORTNAME=	libassa
10
PORTVERSION=	3.2.0
10
PORTVERSION=	3.3.0
11
CATEGORIES=	devel
11
CATEGORIES=	devel
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 15-32 Link Here
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	An C++ networking library and application framework
16
COMMENT=	An C++ networking library and application framework
17
17
18
USE_GNOME=	gnomehack
18
USE_GNOME=	gnomehack gnometarget pkgconfig
19
GNU_CONFIGURE=	yes
19
USE_REINPLACE=	yes
20
USE_LIBTOOL_VER=	15
21
CONFIGURE_ARGS=	--disable-html-docs
20
INSTALLS_SHLIB=	yes
22
INSTALLS_SHLIB=	yes
21
23
22
.include <bsd.port.pre.mk>
24
.include <bsd.port.pre.mk>
23
25
24
.if ${OSVERSION} >= 502126
25
USE_GCC=	3.3
26
.endif
27
28
.if ${ARCH} == "sparc64"
26
.if ${ARCH} == "sparc64"
29
BROKEN=		"Does not build"
27
BROKEN=		"Does not build"
30
.endif
28
.endif
29
30
post-patch:
31
	@${REINPLACE_CMD} -e '/^SUBDIRS/s: doc : :g' ${WRKSRC}/Makefile.in
31
32
32
.include <bsd.port.post.mk>
33
.include <bsd.port.post.mk>
(-)devel/libassa/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (libassa-3.2.0.tar.gz) = c935e06017ea5958f78271d3e8eec497
1
MD5 (libassa-3.3.0.tar.gz) = 904fcf589b69463a8af99a29ec24383d
2
SIZE (libassa-3.2.0.tar.gz) = 429390
2
SIZE (libassa-3.3.0.tar.gz) = 540733
(-)devel/libassa/files/patch-assa:Connector.h (-14 / +5 lines)
Lines 1-20 Link Here
1
--- assa/Connector.h.orig	Wed Dec 24 17:32:49 2003
1
--- assa/Connector.h.orig	Tue Mar  1 20:40:39 2005
2
+++ assa/Connector.h	Wed Dec 24 17:34:16 2003
2
+++ assa/Connector.h	Tue Mar 22 20:13:07 2005
3
@@ -407,7 +407,7 @@
3
@@ -406,7 +406,7 @@
4
 	int error;
4
 	int error;
5
 	int ret;
5
 	int ret;
6
 	error = ret = errno = 0;
6
 	error = ret = errno = 0;
7
-	size_t n = sizeof (error);
7
-	size_t n = sizeof (error);
8
+	socklen_t n = sizeof (error);
8
+	socklen_t n = sizeof (error);
9
 
9
 
10
 	/* Always remove IO handler first. */
10
 	/** Always remove IO handler first. 
11
 	m_reactor->removeHandler (this, WRITE_EVENT);	
11
 	 */
12
@@ -415,7 +415,7 @@
13
 #if defined(linux)
14
 	ret = getsockopt (m_fd, SOL_SOCKET, SO_ERROR, (void*)&error, &n);
15
 #else  // Solaris 2.6 
16
-	ret = getsockopt (m_fd, SOL_SOCKET, SO_ERROR, (char*)&error, (int*)&n);
17
+	ret = getsockopt (m_fd, SOL_SOCKET, SO_ERROR, (char*)&error, &n);
18
 #endif
19
 
20
 	if (ret == 0) {
(-)devel/libassa/files/patch-assa:GenServer.cpp (-19 lines)
Lines 1-19 Link Here
1
--- assa/GenServer.cpp.orig	Wed Dec 24 16:14:51 2003
2
+++ assa/GenServer.cpp	Wed Dec 24 17:24:09 2003
3
@@ -154,14 +154,14 @@
4
 	
5
     ignore_act.register_action( SIGPIPE );
6
     ignore_act.register_action( SIGCHLD );
7
-    ignore_act.register_action( SIGCLD );
8
+//    ignore_act.register_action( SIGCLD );
9
     ignore_act.register_action( SIGALRM );
10
 	
11
     /**
12
 	 * Catch SIGPOLL - sigPOLL handler just does nothing except
13
 	 * of catching signal.
14
 	 */
15
-    m_sig_dispatcher.install ( SIGPOLL, &m_sig_poll );
16
+    m_sig_dispatcher.install ( SIGIO, &m_sig_poll );
17
 
18
     /**
19
 	 * SIGINT is generated by the terminal driver when an interrupt
(-)devel/libassa/files/patch-assa:Handlers.h (-11 lines)
Lines 1-11 Link Here
1
--- assa/Handlers.h.orig	Wed Dec 24 17:02:53 2003
2
+++ assa/Handlers.h	Wed Dec 24 17:22:41 2003
3
@@ -256,7 +256,7 @@
4
 	int handle_signal ( int signum_ ) { 
5
 		trace_with_mask("SIGPOLLHandler::handle_signal", SIGHAND);
6
 			
7
-		return (signum_ == SIGPOLL) ? 0 : -1; 
8
+		return (signum_ == SIGIO) ? 0 : -1; 
9
 	}
10
 };
11
 
(-)devel/libassa/files/patch-assa:IniFile.h (-11 lines)
Lines 1-11 Link Here
1
--- assa/IniFile.h.orig	Sat Sep 13 19:01:00 2003
2
+++ assa/IniFile.h	Thu Jan 29 09:05:01 2004
3
@@ -171,7 +171,7 @@
4
 
5
 		/** Return iterator past the last section.
6
 		 */
7
-		const_config_iterator sect_end () const { return m_config.end (); }
8
+		config_iterator sect_end () { return m_config.end (); }
9
 
10
 		/** Return number of sections in the cache
11
 		 */
(-)devel/libassa/files/patch-ltmain.sh (-15 lines)
Lines 1-15 Link Here
1
--- ltmain.sh.orig	Thu Dec 25 16:06:09 2003
2
+++ ltmain.sh	Thu Dec 25 16:06:24 2003
3
@@ -4330,10 +4330,12 @@
4
 	fi
5
 
6
 	# Install the pseudo-library for information purposes.
7
+	if /usr/bin/false ; then
8
 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
9
 	instname="$dir/$name"i
10
 	$show "$install_prog $instname $destdir/$name"
11
 	$run eval "$install_prog $instname $destdir/$name" || exit $?
12
+	fi
13
 
14
 	# Maybe install the static library, too.
15
 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
(-)devel/libassa/files/patch-tests:pq_test.cpp (-13 lines)
Lines 1-13 Link Here
1
--- tests/pq_test.cpp.orig	Thu Jan 29 08:39:07 2004
2
+++ tests/pq_test.cpp	Thu Jan 29 08:40:48 2004
3
@@ -23,10 +23,6 @@
4
 #include <iostream>
5
 using namespace std;
6
 
7
-#include <getopt.h>
8
-extern char *optarg;
9
-extern int optind, opterr, optopt;
10
-
11
 // ASSA
12
 #include "assa/PriorityQueue.h"
13
 using namespace ASSA;
(-)devel/libassa/files/patch-tests:ttcp_assa.cpp (-21 / +3 lines)
Lines 1-5 Link Here
1
--- tests/ttcp_assa.cpp.orig	Wed Dec 24 17:39:58 2003
1
--- tests/ttcp_assa.cpp.orig	Fri Jan  7 10:46:12 2005
2
+++ tests/ttcp_assa.cpp	Wed Dec 24 17:41:13 2003
2
+++ tests/ttcp_assa.cpp	Tue Mar 22 16:32:30 2005
3
@@ -91,7 +91,7 @@
3
@@ -91,7 +91,7 @@
4
 IPv4Socket* sock = 0;		// Communication socket
4
 IPv4Socket* sock = 0;		// Communication socket
5
 
5
 
Lines 9-24 Link Here
9
 
9
 
10
 int domain, fromlen;
10
 int domain, fromlen;
11
 int fd;				/* fd of network socket */
11
 int fd;				/* fd of network socket */
12
@@ -384,7 +384,7 @@
12
@@ -775,7 +775,7 @@
13
 	}
14
 #else
15
 	if (getpeername(fd, (struct sockaddr*) &peer, 
16
-			(int*) &peerlen) < 0) {
17
+			&peerlen) < 0) {
18
 	    err("getpeername");
19
 	}
20
 #endif /* defined(_POSIX_SOURCE) */
21
@@ -783,7 +783,7 @@
22
 Nread( int fd_, void* buf_, int count )
13
 Nread( int fd_, void* buf_, int count )
23
 {
14
 {
24
     struct sockaddr_in from;
15
     struct sockaddr_in from;
Lines 27-38 Link Here
27
     register int cnt;
18
     register int cnt;
28
 
19
 
29
     if( udp )  
20
     if( udp )  
30
@@ -795,7 +795,7 @@
31
 #else  // _POSIX_SOURCE
32
 	cnt = recvfrom( fd_, (char*) buf_, count, 0, 
33
 			(struct sockaddr*) &from, 
34
-			(int*) &len );
35
+			&len );
36
 #endif
37
 	numCalls++;
38
     } else {
(-)devel/libassa/pkg-plist (-2 / +1 lines)
Lines 56-65 Link Here
56
include/assa/UNIXAddress.h
56
include/assa/UNIXAddress.h
57
include/assa/UnConUDPSocket.h
57
include/assa/UnConUDPSocket.h
58
include/assa/xdrIOBuffer.h
58
include/assa/xdrIOBuffer.h
59
@dirrm include/assa
60
lib/libassa.a
59
lib/libassa.a
61
lib/libassa.so
60
lib/libassa.so
62
lib/libassa.so.3
61
lib/libassa.so.3
63
libdata/pkgconfig/assa.pc
62
libdata/pkgconfig/assa.pc
64
share/aclocal/assa.m4
63
share/aclocal/assa.m4
65
@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
64
@dirrm include/assa

Return to bug 79469