diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-11-06 03:35:39 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-11-06 03:35:39 +0000 |
commit | 19592a61d205c266709015cfb4070fdd0f6e6b39 (patch) | |
tree | 12b09473048da539ad806d3e96d1a6a613363f5d /devel/dbus/files | |
parent | ef1c55ecf7c5534fdac06274888ca0dd80db597f (diff) | |
download | ports-19592a61d205c266709015cfb4070fdd0f6e6b39.tar.gz ports-19592a61d205c266709015cfb4070fdd0f6e6b39.zip |
Notes
Diffstat (limited to 'devel/dbus/files')
-rw-r--r-- | devel/dbus/files/patch-bus_bus.c | 2 | ||||
-rw-r--r-- | devel/dbus/files/patch-bus_session.conf.in | 10 | ||||
-rw-r--r-- | devel/dbus/files/patch-configure | 28 | ||||
-rw-r--r-- | devel/dbus/files/patch-dbus-1.pc.in | 11 | ||||
-rw-r--r-- | devel/dbus/files/patch-dbus_dbus-sysdeps-unix.c | 43 | ||||
-rw-r--r-- | devel/dbus/files/patch-tools_Makefile.in | 28 |
6 files changed, 19 insertions, 103 deletions
diff --git a/devel/dbus/files/patch-bus_bus.c b/devel/dbus/files/patch-bus_bus.c index 857d6379f738..82d0cc35e533 100644 --- a/devel/dbus/files/patch-bus_bus.c +++ b/devel/dbus/files/patch-bus_bus.c @@ -5,7 +5,7 @@ _dbus_list_foreach (bus_config_parser_get_conf_dirs (parser), (DBusForeachFunction) bus_watch_directory, - NULL); -+ bus_context_get_loop (context)); ++ context); _DBUS_ASSERT_ERROR_IS_CLEAR (error); retval = TRUE; diff --git a/devel/dbus/files/patch-bus_session.conf.in b/devel/dbus/files/patch-bus_session.conf.in deleted file mode 100644 index 955de71323ec..000000000000 --- a/devel/dbus/files/patch-bus_session.conf.in +++ /dev/null @@ -1,10 +0,0 @@ ---- bus/session.conf.in.orig Mon Jun 6 22:18:31 2005 -+++ bus/session.conf.in Mon Jun 6 22:31:35 2005 -@@ -11,6 +11,7 @@ - <listen>unix:tmpdir=@DBUS_SESSION_SOCKET_DIR@</listen> - - <servicedir>@EXPANDED_DATADIR@/dbus-1/services</servicedir> -+ <servicedir>%%X11BASE%%/share/dbus-1/services</servicedir> - - <policy context="default"> - <!-- Allow everything to be sent --> diff --git a/devel/dbus/files/patch-configure b/devel/dbus/files/patch-configure deleted file mode 100644 index 06e076299880..000000000000 --- a/devel/dbus/files/patch-configure +++ /dev/null @@ -1,28 +0,0 @@ ---- configure.orig Sat Oct 28 21:07:14 2006 -+++ configure Sat Oct 28 21:08:23 2006 -@@ -463,7 +463,7 @@ ac_includes_default="\ - # include <unistd.h> - #endif" - --ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar GETTEXT_PACKAGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LT_CURRENT LT_REVISION LT_AGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CPP EGREP DBUS_BUILD_TESTS_TRUE DBUS_BUILD_TESTS_FALSE R_DYNAMIC_LDFLAG SED LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL DBUS_GCOV_ENABLED_TRUE DBUS_GCOV_ENABLED_FALSE DBUS_INT64_TYPE DBUS_INT64_CONSTANT DBUS_UINT64_CONSTANT DBUS_HAVE_INT64 DBUS_INT32_TYPE DBUS_INT16_TYPE DBUS_PATH_OR_ABSTRACT PKG_CONFIG LIBXML_CFLAGS LIBXML_LIBS DBUS_USE_EXPAT_TRUE DBUS_USE_EXPAT_FALSE DBUS_USE_LIBXML_TRUE DBUS_USE_LIBXML_FALSE HAVE_SELINUX_TRUE HAVE_SELINUX_FALSE DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX_TRUE DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX_FALSE DBUS_BUS_ENABLE_KQUEUE_TRUE DBUS_BUS_ENABLE_KQUEUE_FALSE HAVE_CONSOLE_OWNER_FILE_TRUE HAVE_CONSOLE_OWNER_FILE_FALSE DBUS_CLIENT_CFLAGS DBUS_CLIENT_LIBS DBUS_BUS_CFLAGS DBUS_BUS_LIBS DBUS_TEST_CFLAGS DBUS_TEST_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS DBUS_X_CFLAGS DBUS_X_LIBS DOXYGEN DBUS_DOXYGEN_DOCS_ENABLED_TRUE DBUS_DOXYGEN_DOCS_ENABLED_FALSE XMLTO DBUS_XML_DOCS_ENABLED_TRUE DBUS_XML_DOCS_ENABLED_FALSE EXPANDED_LOCALSTATEDIR EXPANDED_SYSCONFDIR EXPANDED_BINDIR EXPANDED_LIBDIR EXPANDED_DATADIR DBUS_INIT_SCRIPTS_RED_HAT_TRUE DBUS_INIT_SCRIPTS_RED_HAT_FALSE DBUS_INIT_SCRIPTS_SLACKWARE_TRUE DBUS_INIT_SCRIPTS_SLACKWARE_FALSE DBUS_SYSTEM_SOCKET DBUS_SYSTEM_BUS_DEFAULT_ADDRESS DBUS_SYSTEM_PID_FILE DBUS_CONSOLE_AUTH_DIR DBUS_CONSOLE_OWNER_FILE DBUS_USER DBUS_DAEMONDIR DBUS_BINDIR TEST_SERVICE_DIR TEST_SERVICE_BINARY TEST_SHELL_SERVICE_BINARY TEST_EXIT_BINARY TEST_SEGFAULT_BINARY TEST_SLEEP_FOREVER_BINARY TEST_SOCKET_DIR DBUS_SESSION_SOCKET_DIR LIBOBJS LTLIBOBJS' -+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar GETTEXT_PACKAGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LT_CURRENT LT_REVISION LT_AGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CPP EGREP DBUS_BUILD_TESTS_TRUE DBUS_BUILD_TESTS_FALSE R_DYNAMIC_LDFLAG SED LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL DBUS_GCOV_ENABLED_TRUE DBUS_GCOV_ENABLED_FALSE DBUS_INT64_TYPE DBUS_INT64_CONSTANT DBUS_UINT64_CONSTANT DBUS_HAVE_INT64 DBUS_INT32_TYPE DBUS_INT16_TYPE DBUS_PATH_OR_ABSTRACT PKG_CONFIG LIBXML_CFLAGS LIBXML_LIBS DBUS_USE_EXPAT_TRUE DBUS_USE_EXPAT_FALSE DBUS_USE_LIBXML_TRUE DBUS_USE_LIBXML_FALSE HAVE_SELINUX_TRUE HAVE_SELINUX_FALSE DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX_TRUE DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX_FALSE DBUS_BUS_ENABLE_KQUEUE_TRUE DBUS_BUS_ENABLE_KQUEUE_FALSE HAVE_CONSOLE_OWNER_FILE_TRUE HAVE_CONSOLE_OWNER_FILE_FALSE DBUS_CLIENT_CFLAGS DBUS_CLIENT_LIBS DBUS_BUS_CFLAGS DBUS_BUS_LIBS DBUS_TEST_CFLAGS DBUS_TEST_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS DBUS_X_CFLAGS DBUS_X_LIBS DOXYGEN DBUS_DOXYGEN_DOCS_ENABLED_TRUE DBUS_DOXYGEN_DOCS_ENABLED_FALSE XMLTO DBUS_XML_DOCS_ENABLED_TRUE DBUS_XML_DOCS_ENABLED_FALSE EXPANDED_LOCALSTATEDIR EXPANDED_SYSCONFDIR EXPANDED_BINDIR EXPANDED_LIBDIR EXPANDED_DATADIR DBUS_INIT_SCRIPTS_RED_HAT_TRUE DBUS_INIT_SCRIPTS_RED_HAT_FALSE DBUS_INIT_SCRIPTS_SLACKWARE_TRUE DBUS_INIT_SCRIPTS_SLACKWARE_FALSE DBUS_SYSTEM_SOCKET DBUS_SYSTEM_BUS_DEFAULT_ADDRESS DBUS_SYSTEM_PID_FILE DBUS_CONSOLE_AUTH_DIR DBUS_CONSOLE_OWNER_FILE DBUS_USER DBUS_DAEMONDIR DBUS_BINDIR TEST_SERVICE_DIR TEST_SERVICE_BINARY TEST_SHELL_SERVICE_BINARY TEST_EXIT_BINARY TEST_SEGFAULT_BINARY TEST_SLEEP_FOREVER_BINARY TEST_SOCKET_DIR DBUS_SESSION_SOCKET_DIR LIBOBJS LTLIBOBJS PTHREAD_LIBS' - ac_subst_files='' - - # Initialize some variables set by options. -@@ -25531,7 +25531,7 @@ DBUS_CLIENT_LIBS= - - - DBUS_BUS_CFLAGS=$XML_CFLAGS --DBUS_BUS_LIBS="$XML_LIBS $SELINUX_LIBS $INTLLIBS" -+DBUS_BUS_LIBS="$XML_LIBS $SELINUX_LIBS $INTLLIBS $PTHREAD_LIBS" - - - -@@ -28283,6 +28283,7 @@ s,@X_LIBS@,$X_LIBS,;t t - s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t - s,@DBUS_X_CFLAGS@,$DBUS_X_CFLAGS,;t t - s,@DBUS_X_LIBS@,$DBUS_X_LIBS,;t t -+s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t - s,@DOXYGEN@,$DOXYGEN,;t t - s,@DBUS_DOXYGEN_DOCS_ENABLED_TRUE@,$DBUS_DOXYGEN_DOCS_ENABLED_TRUE,;t t - s,@DBUS_DOXYGEN_DOCS_ENABLED_FALSE@,$DBUS_DOXYGEN_DOCS_ENABLED_FALSE,;t t diff --git a/devel/dbus/files/patch-dbus-1.pc.in b/devel/dbus/files/patch-dbus-1.pc.in deleted file mode 100644 index b9c5fdcc2333..000000000000 --- a/devel/dbus/files/patch-dbus-1.pc.in +++ /dev/null @@ -1,11 +0,0 @@ ---- ./dbus-1.pc.in.orig Thu Mar 16 22:20:14 2006 -+++ ./dbus-1.pc.in Sun Oct 8 02:02:33 2006 -@@ -9,6 +9,6 @@ session_bus_services_dir=@EXPANDED_DATAD - Name: dbus - Description: Free desktop message bus - Version: @VERSION@ --Libs: -L${libdir} -ldbus-1 --Cflags: -I${includedir}/dbus-1.0 -I${libdir}/dbus-1.0/include -+Libs: -L${libdir} -ldbus-1 @PTHREAD_LIBS@ -+Cflags: -I${includedir}/dbus-1.0 -I${includedir}/dbus-1.0/include - diff --git a/devel/dbus/files/patch-dbus_dbus-sysdeps-unix.c b/devel/dbus/files/patch-dbus_dbus-sysdeps-unix.c index 42a7509663bc..83b1c33d72be 100644 --- a/devel/dbus/files/patch-dbus_dbus-sysdeps-unix.c +++ b/devel/dbus/files/patch-dbus_dbus-sysdeps-unix.c @@ -1,10 +1,10 @@ ---- dbus/dbus-sysdeps-unix.c.orig Thu Sep 14 01:07:11 2006 -+++ dbus/dbus-sysdeps-unix.c Sat Oct 7 12:23:40 2006 -@@ -719,16 +719,16 @@ write_credentials_byte (int +--- dbus/dbus-sysdeps-unix.c.orig Wed Nov 1 18:30:46 2006 ++++ dbus/dbus-sysdeps-unix.c Sun Nov 5 21:57:27 2006 +@@ -834,10 +834,10 @@ write_credentials_byte (int { int bytes_written; char buf[1] = { '\0' }; --#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) +-#if defined(HAVE_CMSGCRED) - struct { +#if defined(HAVE_CMSGCRED) + union { @@ -14,14 +14,7 @@ } cmsg; struct iovec iov; struct msghdr msg; - #endif - --#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) -+#if defined(HAVE_CMSGCRED) - iov.iov_base = buf; - iov.iov_len = 1; - -@@ -736,10 +736,10 @@ write_credentials_byte (int +@@ -848,10 +848,10 @@ write_credentials_byte (int msg.msg_iov = &iov; msg.msg_iovlen = 1; @@ -35,16 +28,7 @@ cmsg.hdr.cmsg_level = SOL_SOCKET; cmsg.hdr.cmsg_type = SCM_CREDS; #endif -@@ -748,7 +748,7 @@ write_credentials_byte (int - - again: - --#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) -+#if defined(HAVE_CMSGCRED) - bytes_written = sendmsg (server_fd, &msg, 0); - #else - bytes_written = write (server_fd, buf, 1); -@@ -806,9 +806,10 @@ _dbus_read_credentials_unix_socket (int +@@ -918,9 +918,10 @@ _dbus_read_credentials_unix_socket (int char buf; #ifdef HAVE_CMSGCRED @@ -57,7 +41,7 @@ } cmsg; #elif defined(LOCAL_CREDS) -@@ -845,8 +846,8 @@ _dbus_read_credentials_unix_socket (int +@@ -957,8 +958,8 @@ _dbus_read_credentials_unix_socket (int #if defined(HAVE_CMSGCRED) || defined(LOCAL_CREDS) memset (&cmsg, 0, sizeof (cmsg)); @@ -68,7 +52,7 @@ #endif again: -@@ -869,7 +870,8 @@ _dbus_read_credentials_unix_socket (int +@@ -981,7 +982,8 @@ _dbus_read_credentials_unix_socket (int } #if defined(HAVE_CMSGCRED) || defined(LOCAL_CREDS) @@ -78,7 +62,7 @@ { dbus_set_error (error, DBUS_ERROR_FAILED, "Message from recvmsg() was not SCM_CREDS"); -@@ -897,9 +899,10 @@ _dbus_read_credentials_unix_socket (int +@@ -1009,9 +1011,10 @@ _dbus_read_credentials_unix_socket (int cr_len, (int) sizeof (cr), _dbus_strerror (errno)); } #elif defined(HAVE_CMSGCRED) @@ -92,3 +76,12 @@ #elif defined(LOCAL_CREDS) credentials->pid = DBUS_PID_UNSET; credentials->uid = cmsg.cred.sc_uid; +@@ -2687,7 +2690,7 @@ _dbus_get_standard_session_servicedirs ( + } + else + { +- if (!_dbus_string_append (&servicedir_path, "/usr/local/share:/usr/share:")) ++ if (!_dbus_string_append (&servicedir_path, "/usr/local/share:/usr/X11R6/share:/usr/share:")) + goto oom; + } + diff --git a/devel/dbus/files/patch-tools_Makefile.in b/devel/dbus/files/patch-tools_Makefile.in deleted file mode 100644 index 6d23d4e0f1b4..000000000000 --- a/devel/dbus/files/patch-tools_Makefile.in +++ /dev/null @@ -1,28 +0,0 @@ ---- tools/Makefile.in.orig Sat Oct 28 21:10:56 2006 -+++ tools/Makefile.in Sat Oct 28 21:13:39 2006 -@@ -158,6 +158,7 @@ DBUS_XML_DOCS_ENABLED_FALSE = @DBUS_XML_ - DBUS_XML_DOCS_ENABLED_TRUE = @DBUS_XML_DOCS_ENABLED_TRUE@ - DBUS_X_CFLAGS = @DBUS_X_CFLAGS@ - DBUS_X_LIBS = @DBUS_X_LIBS@ -+PTHREAD_LIBS = @PTHREAD_LIBS@ - DEFS = @DEFS@ - DEPDIR = @DEPDIR@ - DOXYGEN = @DOXYGEN@ -@@ -296,13 +297,13 @@ dbus_cleanup_sockets_SOURCES = \ - dbus_uuidgen_SOURCES = \ - dbus-uuidgen.c - --dbus_send_LDADD = $(top_builddir)/dbus/libdbus-1.la -+dbus_send_LDADD = $(top_builddir)/dbus/libdbus-1.la $(PTHREAD_LIBS) - dbus_send_LDFLAGS = @R_DYNAMIC_LDFLAG@ --dbus_monitor_LDADD = $(top_builddir)/dbus/libdbus-1.la -+dbus_monitor_LDADD = $(top_builddir)/dbus/libdbus-1.la $(PTHREAD_LIBS) - dbus_monitor_LDFLAGS = @R_DYNAMIC_LDFLAG@ --dbus_uuidgen_LDADD = $(top_builddir)/dbus/libdbus-1.la -+dbus_uuidgen_LDADD = $(top_builddir)/dbus/libdbus-1.la $(PTHREAD_LIBS) - dbus_uuidgen_LDFLAGS = @R_DYNAMIC_LDFLAG@ --dbus_launch_LDADD = $(DBUS_X_LIBS) -+dbus_launch_LDADD = $(DBUS_X_LIBS) $(PTHREAD_LIBS) - dbus_launch_LDFLAGS = @R_DYNAMIC_LDFLAG@ - man_MANS = dbus-send.1 dbus-monitor.1 dbus-launch.1 dbus-cleanup-sockets.1 dbus-uuidgen.1 - EXTRA_DIST = $(man_MANS) run-with-tmp-session-bus.sh |