Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

3
net/ORBit/DESCR Normal file
View File

@@ -0,0 +1,3 @@
ORBit is a high-performance CORBA ORB with support for the C language.
It allows programs to send requests and receive replies from other
programs, regardless of the locations of the two programs.

43
net/ORBit/Makefile Normal file
View File

@@ -0,0 +1,43 @@
# $NetBSD: Makefile,v 1.124 2013/04/06 20:27:26 rodent Exp $
DISTNAME= ORBit-0.5.17
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/ORBit/0.5/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= High-performance CORBA ORB with support for the C language
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_TOOLS+= bison flex gmake xgettext
USE_LIBTOOL= YES
PTHREAD_AUTO_VARS= YES
GNU_CONFIGURE= YES
CONFIGURE_ENV+= LIBWRAP_PATH=${BUILDLINK_PREFIX.tcp_wrappers}/lib/libwrap.a
CONFIGURE_ENV+= LIB_WRAP="-lwrap"
PKGCONFIG_OVERRIDE+= ORBit.pc.in
PKGCONFIG_OVERRIDE+= libIDL/libIDL.pc.in
INFO_FILES= yes
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "NetBSD" && ${OPSYS} != "Linux"
DEPENDS+= gindent-[0-9]*:../../devel/gindent
.endif
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib/buildlink3.mk"
.include "../../security/tcp_wrappers/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.if ${PTHREAD_TYPE} != "native"
CPPFLAGS+= -D_POSIX_THREAD_SYSCALL_SOFT=1
.endif
.include "../../mk/bsd.pkg.mk"

85
net/ORBit/PLIST Normal file
View File

@@ -0,0 +1,85 @@
@comment $NetBSD: PLIST,v 1.13 2009/06/14 21:00:03 joerg Exp $
bin/libIDL-config
bin/name-client
bin/old-name-server
bin/orbit-config
bin/orbit-event-server
bin/orbit-idl
bin/orbit-ird
bin/orbit-name-server
include/libIDL-1.0/libIDL/IDL.h
include/orbit-1.0/IIOP/IIOP-config.h
include/orbit-1.0/IIOP/IIOP-types.h
include/orbit-1.0/IIOP/IIOP.h
include/orbit-1.0/IIOP/giop-msg-buffer.h
include/orbit-1.0/IIOP/iiop-encoders.h
include/orbit-1.0/IIOP/iiop-endian.h
include/orbit-1.0/ORBitservices/CosNaming.h
include/orbit-1.0/ORBitservices/CosNaming_impl.h
include/orbit-1.0/ORBitutil/basic_types.h
include/orbit-1.0/ORBitutil/compat.h
include/orbit-1.0/ORBitutil/orbit-os-config.h
include/orbit-1.0/ORBitutil/os-feature-alloca.h
include/orbit-1.0/ORBitutil/os-specifics.h
include/orbit-1.0/ORBitutil/thread-safety.h
include/orbit-1.0/ORBitutil/trace.h
include/orbit-1.0/ORBitutil/util.h
include/orbit-1.0/orb/allocator-defs.h
include/orbit-1.0/orb/allocators.h
include/orbit-1.0/orb/cdr.h
include/orbit-1.0/orb/corba_any.h
include/orbit-1.0/orb/corba_any_proto.h
include/orbit-1.0/orb/corba_any_type.h
include/orbit-1.0/orb/corba_basic_sequences_type.h
include/orbit-1.0/orb/corba_context.h
include/orbit-1.0/orb/corba_env.h
include/orbit-1.0/orb/corba_env_type.h
include/orbit-1.0/orb/corba_object.h
include/orbit-1.0/orb/corba_object_type.h
include/orbit-1.0/orb/corba_orb.h
include/orbit-1.0/orb/corba_orb_type.h
include/orbit-1.0/orb/corba_portableserver.h
include/orbit-1.0/orb/corba_portableserver_type.h
include/orbit-1.0/orb/corba_sequences.h
include/orbit-1.0/orb/corba_sequences_type.h
include/orbit-1.0/orb/corba_typecode.h
include/orbit-1.0/orb/corba_typecode_type.h
include/orbit-1.0/orb/dii.h
include/orbit-1.0/orb/dynany.h
include/orbit-1.0/orb/env.h
include/orbit-1.0/orb/interface_repository.h
include/orbit-1.0/orb/iop.h
include/orbit-1.0/orb/ir.h
include/orbit-1.0/orb/options.h
include/orbit-1.0/orb/orb.h
include/orbit-1.0/orb/orbit.h
include/orbit-1.0/orb/orbit_config.h
include/orbit-1.0/orb/orbit_object.h
include/orbit-1.0/orb/orbit_object_type.h
include/orbit-1.0/orb/orbit_poa.h
include/orbit-1.0/orb/orbit_poa_type.h
include/orbit-1.0/orb/orbit_typecode.h
include/orbit-1.0/orb/orbit_types.h
include/orbit-1.0/orb/poa.h
include/orbit-1.0/orb/sequences.h
include/orbit-1.0/orb/typecode.h
include/orbit-1.0/orbit-idl2.h
info/libIDL.info
lib/libIDL.la
lib/libIDLConf.sh
lib/libIIOP.la
lib/libORBit.la
lib/libORBitCosNaming.la
lib/libORBitutil.la
lib/libname-server.a
lib/liborbit-c-backend.a
lib/pkgconfig/ORBit.pc
lib/pkgconfig/libIDL.pc
share/aclocal/ORBit.m4
share/aclocal/libIDL.m4
share/idl/orbit-1.0/CosEventChannel.idl
share/idl/orbit-1.0/CosEventComm.idl
share/idl/orbit-1.0/CosNaming.idl
share/idl/orbit-1.0/CosTypedEventChannel.idl
share/idl/orbit-1.0/CosTypedEventComm.idl
share/idl/orbit-1.0/LName.pidl

17
net/ORBit/buildlink3.mk Normal file
View File

@@ -0,0 +1,17 @@
# $NetBSD: buildlink3.mk,v 1.12 2011/04/22 13:42:01 obache Exp $
BUILDLINK_TREE+= ORBit
.if !defined(ORBIT_BUILDLINK3_MK)
ORBIT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ORBit+= ORBit>=0.5.15nb5
BUILDLINK_ABI_DEPENDS.ORBit+= ORBit>=0.5.17nb2
BUILDLINK_PKGSRCDIR.ORBit?= ../../net/ORBit
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib/buildlink3.mk"
.include "../../security/tcp_wrappers/buildlink3.mk"
.endif # ORBIT_BUILDLINK3_MK
BUILDLINK_TREE+= -ORBit

20
net/ORBit/distinfo Normal file
View File

@@ -0,0 +1,20 @@
$NetBSD: distinfo,v 1.30 2010/10/02 13:19:11 obache Exp $
SHA1 (ORBit-0.5.17.tar.bz2) = c8b2daef43b028d65d0ab82f0a88558942be6217
RMD160 (ORBit-0.5.17.tar.bz2) = 9087d6659adbd0066d76a3eed5cc2799de640df4
Size (ORBit-0.5.17.tar.bz2) = 1065003 bytes
SHA1 (patch-aa) = 9b8854a5e5e988222de4cb5b27da3e82f87df4e3
SHA1 (patch-ab) = c2b7cc5f83230035c214600bff59d4dfefd92422
SHA1 (patch-ac) = b46d9dc6fcb3ca598aa986c25a25053fa3e1410a
SHA1 (patch-ad) = e5bc096da2201f03331a971c1c97875c1d549aba
SHA1 (patch-ae) = 95cc6f46fa2cfcd34af2e546f3d4a8d55194e5eb
SHA1 (patch-af) = 88b7f08410322b4408d2209762f77cb43758a4ff
SHA1 (patch-ag) = 875e83a597ab39d57abcfd9259d8ec15707ea45c
SHA1 (patch-ah) = 3395e8613077f9b3cc0c274e35c9a35d5e3d9227
SHA1 (patch-ai) = 06e1cb2bc9f4f5460cdde71526417cdaa38ff310
SHA1 (patch-ak) = d569014320dbea40ccdb9e369e07c984ee7bd9de
SHA1 (patch-al) = 651fb6d0fa832bb71f7a0acab49faa7d606b3a95
SHA1 (patch-am) = f52369447d04a382d6e93a6bddaf3962a3ab6677
SHA1 (patch-an) = fa9bb500ddcd0ec8e64b5ff1edbe0f02f5cb0f39
SHA1 (patch-ao) = b80bf3da551bacccd23a7a27677be8e985e6b543
SHA1 (patch-ap) = 83bbb85866a18d26cc88edaf1eada6108898affc

24
net/ORBit/hacks.mk Normal file
View File

@@ -0,0 +1,24 @@
# $NetBSD: hacks.mk,v 1.2 2006/05/14 21:10:01 schwarz Exp $
.if !defined(ORBIT_HACKS_MK)
ORBIT_HACKS_MK= # defined
### [Sun Apr 30 22:45:25 CDT 2006 : schwarz]
### Make sure ORBit does not define socklen_t if it has already been
### typedef'd in devel/pth's pthread.h.
### This works around the problem reported in pkg/27009.
###
.if exists(${LOCALBASE}/include/pthread.h)
_SOCKLEN_T_TYPEDEFD!= ${GREP} -c '^typedef\ .*\ socklen_t;$$' ${LOCALBASE}/include/pthread.h || ${TRUE}
. if ${_SOCKLEN_T_TYPEDEFD} == "1"
PKG_HACKS+= socklen_t-already-typedefd-in-pthread.h
SUBST_CLASSES+= socklen_t
SUBST_FILES.socklen_t= configure
SUBST_STAGE.socklen_t= post-patch
SUBST_SED.socklen_t= -e 's/^\#define\ socklen_t\ size_t$$//'
# remark: \ before # needed to prevent make from interpreting
# remainder of line as a comment
. endif
.endif
.endif

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.13 2005/04/27 08:57:00 wiz Exp $
--- ORBit.m4.orig 2002-06-06 13:07:26.000000000 +0200
+++ ORBit.m4
@@ -1,7 +1,7 @@
dnl AM_PATH_ORBIT([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for ORBit, and define ORBIT_CFLAGS and ORBIT_LIBS
dnl
-AC_DEFUN(AM_PATH_ORBIT,
+AC_DEFUN([AM_PATH_ORBIT],
[dnl
dnl Get the cflags and libraries from the orbit-config script
dnl

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.5 2002/04/25 12:17:05 agc Exp $
--- Makefile.in.orig Wed Mar 20 15:46:08 2002
+++ Makefile.in
@@ -99,7 +99,7 @@
AUTOMAKE_OPTIONS = 1.3 # required version of automake.
-SUBDIRS = popt libIDL src test
+SUBDIRS = popt libIDL src
bin_SCRIPTS = orbit-config

View File

@@ -0,0 +1,40 @@
$NetBSD: patch-ac,v 1.14 2005/01/13 09:58:57 adam Exp $
--- configure.orig 2002-06-06 11:27:24.000000000 +0000
+++ configure
@@ -7922,7 +7922,7 @@ EOF
fi
done
-for ac_header in stddef.h wchar.h wcstr.h wctype.h machine/types.h tcpd.h
+for ac_header in alloca.h stddef.h wchar.h wcstr.h wctype.h machine/types.h tcpd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:7928: checking for $ac_header" >&5
@@ -8835,6 +8835,7 @@ rm -f conftest.$ac_objext conftest.$ac_e
echo "$as_me:8836: checking \"whether to use TCP wrappers\"" >&5
echo $ECHO_N "checking \"whether to use TCP wrappers\"... $ECHO_C" >&6
+if test -z "$LIBWRAP_PATH" && test -z "$LIB_WRAP"; then
LIBWRAP_PATH=""
LIB_WRAP=""
for I in $LDFLAGS $LIBS -L/usr/lib; do
@@ -8846,6 +8847,10 @@ for I in $LDFLAGS $LIBS -L/usr/lib; do
LIB_WRAP=-lwrap
echo "Found $THEFILE/libwrap.so" 1>&5
break
+ elif test -f `set $THEFILE/libwrap.so.*.*; echo $1`; then
+ LIB_WRAP=-lwrap
+ echo "Found $THEFILE/libwrap.so" 1>&5
+ break
else
echo "From $I, checking in dir $THEFILE for libwrap.a" 1>&5
if test -f $THEFILE/libwrap.a; then
@@ -8856,6 +8861,7 @@ for I in $LDFLAGS $LIBS -L/usr/lib; do
fi
esac
done
+fi
if test -n "$LIBWRAP_PATH" || test -n "$LIB_WRAP"; then
echo "$as_me:8860: result: yes" >&5
echo "${ECHO_T}yes" >&6

View File

@@ -0,0 +1,33 @@
$NetBSD: patch-ad,v 1.10 2010/10/02 13:19:11 obache Exp $
--- popt/Makefile.in.orig 2002-06-06 11:34:39.000000000 +0000
+++ popt/Makefile.in
@@ -108,16 +108,16 @@ AUTOMAKE_OPTIONS = 1.4 foreign
EXTRA_DIST = CHANGES autogen.sh $(noinst_MANS) popt.spec testit.sh po/Makefile.in.in po/POTFILES.in po/popt.pot popt.ps po/cs.po po/ro.po po/uk.po po/zh_CN.GB2312.po po/gl.po po/sk.po po/wa.po
-SUBDIRS = intl po
+SUBDIRS =
INCLUDES = -I$(top_srcdir)
noinst_PROGRAMS = test1 test2
test1_SOURCES = test1.c
-test1_LDFLAGS = -all-static
+test1_LDFLAGS =
test1_LDADD = $(noinst_LTLIBRARIES)
test2_SOURCES = test2.c
-test2_LDFLAGS = -all-static
+test2_LDFLAGS =
test2_LDADD = $(noinst_LTLIBRARIES)
noinst_SCRIPTS = testit.sh
@@ -141,7 +141,7 @@ CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
libpopt_la_LDFLAGS =
-libpopt_la_LIBADD =
+libpopt_la_LIBADD = $(INTLLIBS)
libpopt_la_OBJECTS = popt.lo findme.lo poptparse.lo poptconfig.lo \
popthelp.lo
noinst_PROGRAMS = test1$(EXEEXT) test2$(EXEEXT)

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ae,v 1.9 2002/04/25 12:17:05 agc Exp $
--- src/services/name/Makefile.in.orig Wed Mar 20 15:46:26 2002
+++ src/services/name/Makefile.in
@@ -126,7 +126,7 @@
DEPS = $(top_builddir)/src/orb/libORBit.la $(top_builddir)/src/ORBitutil/libORBitutil.la $(top_builddir)/src/IIOP/libIIOP.la libORBitCosNaming.la
-LDADDS = $(top_builddir)/src/orb/libORBit.la $(top_builddir)/src/IIOP/libIIOP.la $(top_builddir)/src/ORBitutil/libORBitutil.la libORBitCosNaming.la @GLIB_LIBS@ -lm
+LDADDS = $(top_builddir)/src/orb/libORBit.la $(top_builddir)/src/IIOP/libIIOP.la $(top_builddir)/src/ORBitutil/libORBitutil.la libORBitCosNaming.la @GLIB_LIBS@ -lm @LIB_WRAP@
#name-client.c boot.c orbit-name-server.c new-name-server.c: CosNaming.h

View File

@@ -0,0 +1,18 @@
$NetBSD: patch-af,v 1.10 2005/01/13 09:58:57 adam Exp $
--- src/IIOP/Makefile.in.orig 2002-06-06 11:34:50.000000000 +0000
+++ src/IIOP/Makefile.in
@@ -409,8 +409,11 @@ $(libwrap_files): make_libwrap_files
make_libwrap_files: $(LIBWRAP_PATH)
ar x $(LIBWRAP_PATH)
- for I in $(basename $(libwrap_files)); do mv $$I.o $$I.lo; done
- ar x $(LIBWRAP_PATH)
+ for I in $(basename $(libwrap_files)); do \
+ ( echo "# $$I.lo - a libtool object file"; \
+ echo "# Generated by ltmain.sh - GNU libtool 1.4a (fake)"; \
+ echo pic_object=none; echo non_pic_object=$$I.o ) >$$I.lo; \
+ done
touch make_libwrap_files
# Tell versions [3.59,3.63) of GNU make to not export all variables.

View File

@@ -0,0 +1,67 @@
$NetBSD: patch-ag,v 1.7 2001/10/04 19:25:26 rh Exp $
--- src/IIOP/connection.c.orig Sun May 13 09:07:46 2001
+++ src/IIOP/connection.c
@@ -1,4 +1,7 @@
#include "config.h"
+#include <sys/types.h>
+#include <sys/param.h>
+#include <stdio.h>
#if defined (__hpux) && ! defined (_XOPEN_SOURCE_EXTENDED)
# define _XOPEN_SOURCE_EXTENDED 1
# define WE_DEFINED_XOPEN_SOURCE_EXTENDED 1
@@ -13,7 +16,6 @@
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
-#include <sys/types.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/un.h>
@@ -31,8 +33,9 @@
#include <sys/ioctl.h>
#include <signal.h>
#include <syslog.h>
+#include <pthread.h>
-#if defined(HAVE_TCPD_H) && defined(HAVE_HOSTS_ACCESS)
+#if defined(HAVE_TCPD_H)
#include <tcpd.h>
#endif
@@ -80,7 +83,7 @@
GIOPConnectionList giop_connection_list;
static GSList *iiop_unix_socket_list = NULL;
-#if defined(HAVE_HOSTS_ACCESS) && defined (HAVE_TCPD_H)
+#if defined (HAVE_TCPD_H)
static const char *argv0_val = NULL;
#endif
@@ -104,7 +107,7 @@
struct sigaction mypipe;
g_assert(sizeof(GIOPMessageHeader) == 12);
-#if defined(HAVE_HOSTS_ACCESS) && defined (HAVE_TCPD_H)
+#if defined (HAVE_TCPD_H)
argv0_val = g_strdup(g_basename(argv0)); /* For TCP wrappers */
#endif
@@ -1007,7 +1010,7 @@
*/
int allow_severity = LOG_INFO, deny_severity = LOG_NOTICE;
-#if defined(HAVE_HOSTS_ACCESS) && defined(HAVE_TCPD_H)
+#if defined(HAVE_TCPD_H)
DEFINE_LOCK(tcp_wrappers_usage);
#endif
@@ -1033,7 +1036,7 @@
newfd = accept(GIOP_CONNECTION_GET_FD(connection), &sock, &n);
-#if defined(HAVE_HOSTS_ACCESS) && defined(HAVE_TCPD_H)
+#if defined(HAVE_TCPD_H)
/* tcp wrappers access checking */
switch(IIOP_CONNECTION(connection)->icnxtype) {
case IIOP_IPV4:

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ah,v 1.9 2005/04/27 09:06:39 wiz Exp $
--- libIDL/libIDL.m4.in.orig 2002-06-06 13:07:29.000000000 +0200
+++ libIDL/libIDL.m4.in
@@ -3,7 +3,7 @@
dnl AM_PATH_LIBIDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for LIBIDL, and define LIBIDL_CFLAGS and LIBIDL_LIBS
dnl
-AC_DEFUN(AM_PATH_LIBIDL,
+AC_DEFUN([AM_PATH_LIBIDL],
[dnl
dnl Get the cflags and libraries from the libIDL-config script
dnl

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ai,v 1.5 2002/04/25 12:17:05 agc Exp $
--- libIDL/Makefile.in.orig Wed Mar 20 15:46:13 2002
+++ libIDL/Makefile.in
@@ -125,7 +125,7 @@
libIDL_la_SOURCES = parser.c parser.h lexer.c ns.c util.c util.h rename.h
-libIDL_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE)
+libIDL_la_LDFLAGS = -version-info $(LIBIDL_MAJOR_VERSION):$(LIBIDL_MINOR_VERSION)
m4datadir = $(datadir)/aclocal

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ak,v 1.4 2002/01/15 23:52:11 rh Exp $
--- orbit-config.in.orig Thu Sep 20 03:09:00 2001
+++ orbit-config.in
@@ -87,7 +87,7 @@
;;
client|server)
- the_libs="$the_libs -L$libdir -lORBit -lIIOP -lORBitutil `glib-config --libs` @LIBS@ -lm"
+ the_libs="$the_libs -L$libdir -Wl,-R$libdir -lORBit -lIIOP -lwrap -lORBitutil `glib-config --libs` @LIBS@ -lm"
the_flags="$the_flags `glib-config --cflags` "
test "x$includedir" = "x/usr/include" \
|| the_flags="$the_flags -I$includedir "

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-al,v 1.9 2005/03/09 15:57:08 jmmv Exp $
--- src/daemons/interface_repository/Makefile.in.orig Wed Mar 20 15:46:31 2002
+++ src/daemons/interface_repository/Makefile.in Tue Oct 7 19:08:10 2003
@@ -105,8 +105,8 @@
orbit_ird_DEPENDENCIES = $(top_builddir)/src/orb/libORBit.la $(top_builddir)/src/IIOP/libIIOP.la $(top_builddir)/src/ORBitutil/libORBitutil.la
-orbit_ird_LDFLAGS = -static
-orbit_ird_LDADD = $(top_builddir)/src/orb/libORBit.la $(top_builddir)/src/IIOP/libIIOP.la $(top_builddir)/src/ORBitutil/libORBitutil.la @GLIB_LIBS@ -lm
+orbit_ird_LDFLAGS = #HF# -static
+orbit_ird_LDADD = $(top_builddir)/src/orb/libORBit.la $(top_builddir)/src/IIOP/libIIOP.la $(top_builddir)/src/ORBitutil/libORBitutil.la @GLIB_LIBS@ -lm @LIB_WRAP@
orbit_ird_SOURCES = interface_repository-skels.c interface_repository-impl.c

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-am,v 1.4 2002/04/25 12:17:05 agc Exp $
--- src/services/event/Makefile.in.orig Wed Mar 20 15:46:29 2002
+++ src/services/event/Makefile.in
@@ -113,7 +113,7 @@
DEPS = $(top_builddir)/src/orb/libORBit.la $(top_builddir)/src/ORBitutil/libORBitutil.la $(top_builddir)/src/IIOP/libIIOP.la
-LDADDS = $(top_builddir)/src/orb/libORBit.la $(top_builddir)/src/IIOP/libIIOP.la $(top_builddir)/src/ORBitutil/libORBitutil.la @GLIB_LIBS@ -lm
+LDADDS = $(top_builddir)/src/orb/libORBit.la $(top_builddir)/src/IIOP/libIIOP.la $(top_builddir)/src/ORBitutil/libORBitutil.la @GLIB_LIBS@ -lm @LIB_WRAP@
event_consumer_SOURCES = event-consumer.c CosEventComm-skels.c CosEventChannel-common.c CosEventChannel-stubs.c

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-an,v 1.4 2003/08/29 06:48:08 martti Exp $
--- src/IIOP/giop-msg-buffer.c.orig 2002-03-11 14:40:02.000000000 +0200
+++ src/IIOP/giop-msg-buffer.c 2003-08-29 08:48:27.000000000 +0300
@@ -210,7 +210,11 @@
res = writev (fd, curvec, MIN (nvecs, MAX_LIMITED_IOVECS));
/* fprintf (stderr, "wrote %ld bytes [%d]\n", res, (int) errno); */
#else
+#ifndef __NetBSD__
res = writev (fd, curvec, nvecs);
+#else
+ res = writev (fd, curvec, MIN(nvecs, IOV_MAX));
+#endif
#endif
} while (res < 0 && errno == EINTR);

View File

@@ -0,0 +1,29 @@
$NetBSD: patch-ao,v 1.2 2003/12/16 11:22:31 sketch Exp $
--- configure.in.orig 2002-03-20 14:44:16.000000000 +0000
+++ configure.in 2003-12-15 17:54:00.425996281 +0000
@@ -116,7 +116,7 @@
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h unistd.h sys/endian.h endian.h machine/endian.h sys/machine.h sys/isa_defs.h sys/poll.h)
-AC_CHECK_HEADERS(stddef.h wchar.h wcstr.h wctype.h machine/types.h tcpd.h)
+AC_CHECK_HEADERS(alloca.h stddef.h wchar.h wcstr.h wctype.h machine/types.h tcpd.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
@@ -154,6 +154,7 @@
# Modified to prefer shared libwrap by Adam Powell
AC_MSG_CHECKING("whether to use TCP wrappers")
+if test -z "$LIBWRAP_PATH" && test -z "$LIB_WRAP"; then
LIBWRAP_PATH=""
LIB_WRAP=""
for I in $LDFLAGS $LIBS -L/usr/lib; do
@@ -175,6 +176,7 @@
fi
esac
done
+fi
if test -n "$LIBWRAP_PATH" || test -n "$LIB_WRAP"; then
AC_MSG_RESULT(yes)
else

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-ap,v 1.3 2005/08/18 05:46:16 grant Exp $
--- config.h.in.orig 2002-06-06 21:25:14.000000000 +1000
+++ config.h.in
@@ -33,9 +33,10 @@
#undef HAVE_HOSTS_ACCESS
#undef HAVE_TCPD_H
-#undef ORBIT_HAVE_ALLOCA_H
+/* Define if you have the <alloca.h> header file. */
+#undef HAVE_ALLOCA_H
-#ifdef ORBIT_HAVE_ALLOCA_H
+#if HAVE_ALLOCA_H
#include <alloca.h>
#endif