pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add ekiga 4.0.1 and its dependencies
Module Name: pkgsrc-wip
Committed By: Ryo ONODERA <ryoon%NetBSD.org@localhost>
Pushed By: ryoon
Date: Sun Mar 13 20:18:49 2016 +0900
Changeset: 4c3a4c1e3ba5ddaf37fcabd898852c660beb35aa
Added Files:
ekiga/DESCR
ekiga/Makefile
ekiga/PLIST
ekiga/distinfo
ekiga/options.mk
ekiga/patches/patch-configure
gsm/DESCR
gsm/Makefile
gsm/PLIST
gsm/buildlink3.mk
gsm/distinfo
gsm/patches/patch-aa
gsm/patches/patch-ab
opal/DESCR
opal/Makefile
opal/PLIST
opal/buildlink3.mk
opal/distinfo
opal/patches/patch-configure
opal/patches/patch-plugins_configure
opal/patches/patch-plugins_video_H.263-1998_Makefile.in
opal/patches/patch-plugins_video_H.263-1998_h263-1993.cxx
opal/patches/patch-plugins_video_H.263-1998_h263-1998.h
opal/patches/patch-plugins_video_H.263-1998_rfc2429.cxx
opal/patches/patch-plugins_video_H.264_h264-x264.cxx
opal/patches/patch-plugins_video_MPEG4-ffmpeg_Makefile.in
opal/patches/patch-plugins_video_MPEG4-ffmpeg_mpeg4.cxx
opal/patches/patch-plugins_video_common_dyna.cxx
opal/patches/patch-plugins_video_common_dyna.h
opal/patches/patch-plugins_video_common_ffmpeg.h
ptlib/DESCR
ptlib/Makefile
ptlib/PLIST
ptlib/buildlink3.mk
ptlib/distinfo
ptlib/patches/patch-Nucleus-NucleusPTime.cxx
ptlib/patches/patch-configure
ptlib/patches/patch-configure.ac
ptlib/patches/patch-include_ptbuildopts.h.in
ptlib/patches/patch-include_ptclib_pldap.h
ptlib/patches/patch-include_ptlib_critsec.h
ptlib/patches/patch-include_ptlib_object.h
ptlib/patches/patch-include_ptlib_pmachdep.h
ptlib/patches/patch-make_unix.mak
ptlib/patches/patch-plugins_sound_esd_sound_esd.h
ptlib/patches/patch-plugins_sound_oss_sound_oss.cxx
ptlib/patches/patch-plugins_sound_oss_sound_oss.h
ptlib/patches/patch-plugins_vidinput_bsd_vidinput_bsd.h
ptlib/patches/patch-src_ptclib_pldap.cxx
ptlib/patches/patch-src_ptlib_common_getdate.y
ptlib/patches/patch-src_ptlib_unix_svcproc.cxx
ptlib/patches/patch-unix-config.cxx
ptlib/patches/patch-unix-ossaix.cxx
ptlib/patches/patch-unix-osutil.cxx
ptlib/patches/patch-unix-pmachdep.h
ptlib/patches/patch-unix-serchan.cxx
ptlib/patches/patch-unix-socket.cxx
ptlib/patches/patch-unix-switch.cxx
ptlib/patches/patch-unix-tlib.cxx
Log Message:
Add ekiga 4.0.1 and its dependencies
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4c3a4c1e3ba5ddaf37fcabd898852c660beb35aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ekiga/DESCR | 4 +
ekiga/Makefile | 50 ++
ekiga/PLIST | 604 +++++++++++++++++++++
ekiga/distinfo | 7 +
ekiga/options.mk | 57 ++
ekiga/patches/patch-configure | 22 +
gsm/DESCR | 2 +
gsm/Makefile | 26 +
gsm/PLIST | 14 +
gsm/buildlink3.mk | 13 +
gsm/distinfo | 8 +
gsm/patches/patch-aa | 35 ++
gsm/patches/patch-ab | 207 +++++++
opal/DESCR | 5 +
opal/Makefile | 66 +++
opal/PLIST | 159 ++++++
opal/buildlink3.mk | 17 +
opal/distinfo | 18 +
opal/patches/patch-configure | 29 +
opal/patches/patch-plugins_configure | 13 +
.../patch-plugins_video_H.263-1998_Makefile.in | 13 +
.../patch-plugins_video_H.263-1998_h263-1993.cxx | 197 +++++++
.../patch-plugins_video_H.263-1998_h263-1998.h | 13 +
.../patch-plugins_video_H.263-1998_rfc2429.cxx | 34 ++
.../patch-plugins_video_H.264_h264-x264.cxx | 46 ++
.../patch-plugins_video_MPEG4-ffmpeg_Makefile.in | 13 +
.../patch-plugins_video_MPEG4-ffmpeg_mpeg4.cxx | 113 ++++
opal/patches/patch-plugins_video_common_dyna.cxx | 47 ++
opal/patches/patch-plugins_video_common_dyna.h | 44 ++
opal/patches/patch-plugins_video_common_ffmpeg.h | 12 +
ptlib/DESCR | 4 +
ptlib/Makefile | 62 +++
ptlib/PLIST | 179 ++++++
ptlib/buildlink3.mk | 22 +
ptlib/distinfo | 30 +
ptlib/patches/patch-Nucleus-NucleusPTime.cxx | 15 +
ptlib/patches/patch-configure | 124 +++++
ptlib/patches/patch-configure.ac | 23 +
ptlib/patches/patch-include_ptbuildopts.h.in | 14 +
ptlib/patches/patch-include_ptclib_pldap.h | 19 +
ptlib/patches/patch-include_ptlib_critsec.h | 13 +
ptlib/patches/patch-include_ptlib_object.h | 13 +
ptlib/patches/patch-include_ptlib_pmachdep.h | 46 ++
ptlib/patches/patch-make_unix.mak | 47 ++
ptlib/patches/patch-plugins_sound_esd_sound_esd.h | 17 +
.../patches/patch-plugins_sound_oss_sound_oss.cxx | 19 +
ptlib/patches/patch-plugins_sound_oss_sound_oss.h | 17 +
.../patch-plugins_vidinput_bsd_vidinput_bsd.h | 18 +
ptlib/patches/patch-src_ptclib_pldap.cxx | 20 +
ptlib/patches/patch-src_ptlib_common_getdate.y | 53 ++
ptlib/patches/patch-src_ptlib_unix_svcproc.cxx | 34 ++
ptlib/patches/patch-unix-config.cxx | 14 +
ptlib/patches/patch-unix-ossaix.cxx | 17 +
ptlib/patches/patch-unix-osutil.cxx | 33 ++
ptlib/patches/patch-unix-pmachdep.h | 41 ++
ptlib/patches/patch-unix-serchan.cxx | 15 +
ptlib/patches/patch-unix-socket.cxx | 60 ++
ptlib/patches/patch-unix-switch.cxx | 15 +
ptlib/patches/patch-unix-tlib.cxx | 15 +
59 files changed, 2887 insertions(+)
diffs:
diff --git a/ekiga/DESCR b/ekiga/DESCR
new file mode 100644
index 0000000..bcafe4b
--- /dev/null
+++ b/ekiga/DESCR
@@ -0,0 +1,4 @@
+Ekiga (formely known as GnomeMeeting) is an open source VoIP and video
+conferencing application for GNOME. Ekiga uses both the H.323 and SIP
+protocols. It supports many audio and video codecs, and is interoperable
+with other SIP compliant software and also with Microsoft NetMeeting.
diff --git a/ekiga/Makefile b/ekiga/Makefile
new file mode 100644
index 0000000..db02a86
--- /dev/null
+++ b/ekiga/Makefile
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile,v 1.67 2016/03/05 11:29:03 jperkin Exp $
+#
+
+DISTNAME= ekiga-4.0.1
+CATEGORIES= net comms
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/ekiga/4.0/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.ekiga.org/
+COMMENT= VoIP and video conferencing application for GNOME
+LICENSE= gnu-gpl-v2
+
+PREV_PKGPATH= net/ekiga-devel
+
+USE_TOOLS+= gmake intltool msgfmt pkg-config
+USE_PKGLOCALEDIR= yes
+
+CONFIGURE_ARGS+= --with-ldap-dir=${BUILDLINK_PREFIX.openldap-client}
+CONFIGURE_ARGS+= --with-libsasl2-dir=${BUILDLINK_PREFIX.cyrus-sasl}
+CONFIGURE_ARGS+= --with-boost-libdir=${BUILDLINK_PREFIX.boost-libs}/lib
+CONFIGURE_ARGS+= --enable-gstreamer
+
+.include "options.mk"
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+CXXFLAGS+= -std=c++11
+
+.include "../../audio/esound/buildlink3.mk"
+.include "../../databases/openldap-client/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../wip/opal/buildlink3.mk"
+.include "../../wip/ptlib/buildlink3.mk"
+.include "../../graphics/gnome-icon-theme/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/libv4l/buildlink3.mk"
+.include "../../multimedia/gstreamer0.10/buildlink3.mk"
+.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
+.include "../../security/cyrus-sasl/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../textproc/gnome-doc-utils/buildlink3.mk"
+.include "../../mk/omf-scrollkeeper.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/libXv/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ekiga/PLIST b/ekiga/PLIST
new file mode 100644
index 0000000..f7835a9
--- /dev/null
+++ b/ekiga/PLIST
@@ -0,0 +1,604 @@
+@comment $NetBSD$
+bin/ekiga
+bin/ekiga-config-tool
+${PLIST.dbus}bin/ekiga-helper
+lib/ekiga/${PKGVERSION}/libekiga.la
+lib/ekiga/${PKGVERSION}/plugins/libgmgstreamer.la
+lib/ekiga/${PKGVERSION}/plugins/libgmldap.la
+lib/ekiga/${PKGVERSION}/plugins/libgmlibnotify.la
+man/man1/ekiga.1
+share/applications/ekiga.desktop
+${PLIST.dbus}share/dbus-1/services/org.ekiga.Ekiga.service
+${PLIST.dbus}share/dbus-1/services/org.ekiga.Helper.service
+${PLIST.gconf}share/gconf/schemas/ekiga.schemas
+share/gnome/help/ekiga/C/ekiga.xml
+share/gnome/help/ekiga/C/figures/accounts_d1.png
+share/gnome/help/ekiga/C/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/C/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/C/figures/accounts_h323.png
+share/gnome/help/ekiga/C/figures/accounts_sip.png
+share/gnome/help/ekiga/C/figures/addressbook_d1.png
+share/gnome/help/ekiga/C/figures/addressbook_d2.png
+share/gnome/help/ekiga/C/figures/addressbook_d3.png
+share/gnome/help/ekiga/C/figures/audio_codecs.png
+share/gnome/help/ekiga/C/figures/call_d1.png
+share/gnome/help/ekiga/C/figures/call_history.png
+share/gnome/help/ekiga/C/figures/call_window.png
+share/gnome/help/ekiga/C/figures/chat_d1.png
+share/gnome/help/ekiga/C/figures/config_d1.png
+share/gnome/help/ekiga/C/figures/config_d2.png
+share/gnome/help/ekiga/C/figures/config_d3.png
+share/gnome/help/ekiga/C/figures/config_d4.png
+share/gnome/help/ekiga/C/figures/config_d5.png
+share/gnome/help/ekiga/C/figures/config_d6.png
+share/gnome/help/ekiga/C/figures/config_d7.png
+share/gnome/help/ekiga/C/figures/config_d8.png
+share/gnome/help/ekiga/C/figures/config_d9.png
+share/gnome/help/ekiga/C/figures/lumi.png
+share/gnome/help/ekiga/C/figures/monitoring_lines.png
+share/gnome/help/ekiga/C/figures/roster.png
+share/gnome/help/ekiga/C/figures/status.png
+share/gnome/help/ekiga/C/figures/video_codecs.png
+share/gnome/help/ekiga/bg/ekiga.xml
+share/gnome/help/ekiga/bg/figures/accounts_d1.png
+share/gnome/help/ekiga/bg/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/bg/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/bg/figures/accounts_h323.png
+share/gnome/help/ekiga/bg/figures/accounts_sip.png
+share/gnome/help/ekiga/bg/figures/addressbook_d1.png
+share/gnome/help/ekiga/bg/figures/addressbook_d2.png
+share/gnome/help/ekiga/bg/figures/addressbook_d3.png
+share/gnome/help/ekiga/bg/figures/audio_codecs.png
+share/gnome/help/ekiga/bg/figures/call_d1.png
+share/gnome/help/ekiga/bg/figures/call_history.png
+share/gnome/help/ekiga/bg/figures/call_window.png
+share/gnome/help/ekiga/bg/figures/chat_d1.png
+share/gnome/help/ekiga/bg/figures/config_d1.png
+share/gnome/help/ekiga/bg/figures/config_d2.png
+share/gnome/help/ekiga/bg/figures/config_d3.png
+share/gnome/help/ekiga/bg/figures/config_d4.png
+share/gnome/help/ekiga/bg/figures/config_d5.png
+share/gnome/help/ekiga/bg/figures/config_d6.png
+share/gnome/help/ekiga/bg/figures/config_d7.png
+share/gnome/help/ekiga/bg/figures/config_d8.png
+share/gnome/help/ekiga/bg/figures/config_d9.png
+share/gnome/help/ekiga/bg/figures/lumi.png
+share/gnome/help/ekiga/bg/figures/monitoring_lines.png
+share/gnome/help/ekiga/bg/figures/roster.png
+share/gnome/help/ekiga/bg/figures/status.png
+share/gnome/help/ekiga/bg/figures/video_codecs.png
+share/gnome/help/ekiga/ca/ekiga.xml
+share/gnome/help/ekiga/ca/figures/accounts_d1.png
+share/gnome/help/ekiga/ca/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/ca/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/ca/figures/accounts_h323.png
+share/gnome/help/ekiga/ca/figures/accounts_sip.png
+share/gnome/help/ekiga/ca/figures/addressbook_d1.png
+share/gnome/help/ekiga/ca/figures/addressbook_d2.png
+share/gnome/help/ekiga/ca/figures/addressbook_d3.png
+share/gnome/help/ekiga/ca/figures/audio_codecs.png
+share/gnome/help/ekiga/ca/figures/call_d1.png
+share/gnome/help/ekiga/ca/figures/call_history.png
+share/gnome/help/ekiga/ca/figures/call_window.png
+share/gnome/help/ekiga/ca/figures/chat_d1.png
+share/gnome/help/ekiga/ca/figures/config_d1.png
+share/gnome/help/ekiga/ca/figures/config_d2.png
+share/gnome/help/ekiga/ca/figures/config_d3.png
+share/gnome/help/ekiga/ca/figures/config_d4.png
+share/gnome/help/ekiga/ca/figures/config_d5.png
+share/gnome/help/ekiga/ca/figures/config_d6.png
+share/gnome/help/ekiga/ca/figures/config_d7.png
+share/gnome/help/ekiga/ca/figures/config_d8.png
+share/gnome/help/ekiga/ca/figures/config_d9.png
+share/gnome/help/ekiga/ca/figures/lumi.png
+share/gnome/help/ekiga/ca/figures/monitoring_lines.png
+share/gnome/help/ekiga/ca/figures/roster.png
+share/gnome/help/ekiga/ca/figures/status.png
+share/gnome/help/ekiga/ca/figures/video_codecs.png
+share/gnome/help/ekiga/de/ekiga.xml
+share/gnome/help/ekiga/de/figures/accounts_d1.png
+share/gnome/help/ekiga/de/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/de/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/de/figures/accounts_h323.png
+share/gnome/help/ekiga/de/figures/accounts_sip.png
+share/gnome/help/ekiga/de/figures/addressbook_d1.png
+share/gnome/help/ekiga/de/figures/addressbook_d2.png
+share/gnome/help/ekiga/de/figures/addressbook_d3.png
+share/gnome/help/ekiga/de/figures/audio_codecs.png
+share/gnome/help/ekiga/de/figures/call_d1.png
+share/gnome/help/ekiga/de/figures/call_history.png
+share/gnome/help/ekiga/de/figures/call_window.png
+share/gnome/help/ekiga/de/figures/chat_d1.png
+share/gnome/help/ekiga/de/figures/config_d1.png
+share/gnome/help/ekiga/de/figures/config_d2.png
+share/gnome/help/ekiga/de/figures/config_d3.png
+share/gnome/help/ekiga/de/figures/config_d4.png
+share/gnome/help/ekiga/de/figures/config_d5.png
+share/gnome/help/ekiga/de/figures/config_d6.png
+share/gnome/help/ekiga/de/figures/config_d7.png
+share/gnome/help/ekiga/de/figures/config_d8.png
+share/gnome/help/ekiga/de/figures/config_d9.png
+share/gnome/help/ekiga/de/figures/lumi.png
+share/gnome/help/ekiga/de/figures/monitoring_lines.png
+share/gnome/help/ekiga/de/figures/roster.png
+share/gnome/help/ekiga/de/figures/status.png
+share/gnome/help/ekiga/de/figures/video_codecs.png
+share/gnome/help/ekiga/el/ekiga.xml
+share/gnome/help/ekiga/el/figures/accounts_d1.png
+share/gnome/help/ekiga/el/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/el/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/el/figures/accounts_h323.png
+share/gnome/help/ekiga/el/figures/accounts_sip.png
+share/gnome/help/ekiga/el/figures/addressbook_d1.png
+share/gnome/help/ekiga/el/figures/addressbook_d2.png
+share/gnome/help/ekiga/el/figures/addressbook_d3.png
+share/gnome/help/ekiga/el/figures/audio_codecs.png
+share/gnome/help/ekiga/el/figures/call_d1.png
+share/gnome/help/ekiga/el/figures/call_history.png
+share/gnome/help/ekiga/el/figures/call_window.png
+share/gnome/help/ekiga/el/figures/chat_d1.png
+share/gnome/help/ekiga/el/figures/config_d1.png
+share/gnome/help/ekiga/el/figures/config_d2.png
+share/gnome/help/ekiga/el/figures/config_d3.png
+share/gnome/help/ekiga/el/figures/config_d4.png
+share/gnome/help/ekiga/el/figures/config_d5.png
+share/gnome/help/ekiga/el/figures/config_d6.png
+share/gnome/help/ekiga/el/figures/config_d7.png
+share/gnome/help/ekiga/el/figures/config_d8.png
+share/gnome/help/ekiga/el/figures/config_d9.png
+share/gnome/help/ekiga/el/figures/lumi.png
+share/gnome/help/ekiga/el/figures/monitoring_lines.png
+share/gnome/help/ekiga/el/figures/roster.png
+share/gnome/help/ekiga/el/figures/status.png
+share/gnome/help/ekiga/el/figures/video_codecs.png
+share/gnome/help/ekiga/en_GB/ekiga.xml
+share/gnome/help/ekiga/en_GB/figures/accounts_d1.png
+share/gnome/help/ekiga/en_GB/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/en_GB/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/en_GB/figures/accounts_h323.png
+share/gnome/help/ekiga/en_GB/figures/accounts_sip.png
+share/gnome/help/ekiga/en_GB/figures/addressbook_d1.png
+share/gnome/help/ekiga/en_GB/figures/addressbook_d2.png
+share/gnome/help/ekiga/en_GB/figures/addressbook_d3.png
+share/gnome/help/ekiga/en_GB/figures/audio_codecs.png
+share/gnome/help/ekiga/en_GB/figures/call_d1.png
+share/gnome/help/ekiga/en_GB/figures/call_history.png
+share/gnome/help/ekiga/en_GB/figures/call_window.png
+share/gnome/help/ekiga/en_GB/figures/chat_d1.png
+share/gnome/help/ekiga/en_GB/figures/config_d1.png
+share/gnome/help/ekiga/en_GB/figures/config_d2.png
+share/gnome/help/ekiga/en_GB/figures/config_d3.png
+share/gnome/help/ekiga/en_GB/figures/config_d4.png
+share/gnome/help/ekiga/en_GB/figures/config_d5.png
+share/gnome/help/ekiga/en_GB/figures/config_d6.png
+share/gnome/help/ekiga/en_GB/figures/config_d7.png
+share/gnome/help/ekiga/en_GB/figures/config_d8.png
+share/gnome/help/ekiga/en_GB/figures/config_d9.png
+share/gnome/help/ekiga/en_GB/figures/lumi.png
+share/gnome/help/ekiga/en_GB/figures/monitoring_lines.png
+share/gnome/help/ekiga/en_GB/figures/roster.png
+share/gnome/help/ekiga/en_GB/figures/status.png
+share/gnome/help/ekiga/en_GB/figures/video_codecs.png
+share/gnome/help/ekiga/es/ekiga.xml
+share/gnome/help/ekiga/es/figures/accounts_d1.png
+share/gnome/help/ekiga/es/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/es/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/es/figures/accounts_h323.png
+share/gnome/help/ekiga/es/figures/accounts_sip.png
+share/gnome/help/ekiga/es/figures/addressbook_d1.png
+share/gnome/help/ekiga/es/figures/addressbook_d2.png
+share/gnome/help/ekiga/es/figures/addressbook_d3.png
+share/gnome/help/ekiga/es/figures/audio_codecs.png
+share/gnome/help/ekiga/es/figures/call_d1.png
+share/gnome/help/ekiga/es/figures/call_history.png
+share/gnome/help/ekiga/es/figures/call_window.png
+share/gnome/help/ekiga/es/figures/chat_d1.png
+share/gnome/help/ekiga/es/figures/config_d1.png
+share/gnome/help/ekiga/es/figures/config_d2.png
+share/gnome/help/ekiga/es/figures/config_d3.png
+share/gnome/help/ekiga/es/figures/config_d4.png
+share/gnome/help/ekiga/es/figures/config_d5.png
+share/gnome/help/ekiga/es/figures/config_d6.png
+share/gnome/help/ekiga/es/figures/config_d7.png
+share/gnome/help/ekiga/es/figures/config_d8.png
+share/gnome/help/ekiga/es/figures/config_d9.png
+share/gnome/help/ekiga/es/figures/lumi.png
+share/gnome/help/ekiga/es/figures/monitoring_lines.png
+share/gnome/help/ekiga/es/figures/roster.png
+share/gnome/help/ekiga/es/figures/status.png
+share/gnome/help/ekiga/es/figures/video_codecs.png
+share/gnome/help/ekiga/eu/ekiga.xml
+share/gnome/help/ekiga/eu/figures/accounts_d1.png
+share/gnome/help/ekiga/eu/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/eu/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/eu/figures/accounts_h323.png
+share/gnome/help/ekiga/eu/figures/accounts_sip.png
+share/gnome/help/ekiga/eu/figures/addressbook_d1.png
+share/gnome/help/ekiga/eu/figures/addressbook_d2.png
+share/gnome/help/ekiga/eu/figures/addressbook_d3.png
+share/gnome/help/ekiga/eu/figures/audio_codecs.png
+share/gnome/help/ekiga/eu/figures/call_d1.png
+share/gnome/help/ekiga/eu/figures/call_history.png
+share/gnome/help/ekiga/eu/figures/call_window.png
+share/gnome/help/ekiga/eu/figures/chat_d1.png
+share/gnome/help/ekiga/eu/figures/config_d1.png
+share/gnome/help/ekiga/eu/figures/config_d2.png
+share/gnome/help/ekiga/eu/figures/config_d3.png
+share/gnome/help/ekiga/eu/figures/config_d4.png
+share/gnome/help/ekiga/eu/figures/config_d5.png
+share/gnome/help/ekiga/eu/figures/config_d6.png
+share/gnome/help/ekiga/eu/figures/config_d7.png
+share/gnome/help/ekiga/eu/figures/config_d8.png
+share/gnome/help/ekiga/eu/figures/config_d9.png
+share/gnome/help/ekiga/eu/figures/lumi.png
+share/gnome/help/ekiga/eu/figures/monitoring_lines.png
+share/gnome/help/ekiga/eu/figures/roster.png
+share/gnome/help/ekiga/eu/figures/status.png
+share/gnome/help/ekiga/eu/figures/video_codecs.png
+share/gnome/help/ekiga/fi/ekiga.xml
+share/gnome/help/ekiga/fi/figures/accounts_d1.png
+share/gnome/help/ekiga/fi/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/fi/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/fi/figures/accounts_h323.png
+share/gnome/help/ekiga/fi/figures/accounts_sip.png
+share/gnome/help/ekiga/fi/figures/addressbook_d1.png
+share/gnome/help/ekiga/fi/figures/addressbook_d2.png
+share/gnome/help/ekiga/fi/figures/addressbook_d3.png
+share/gnome/help/ekiga/fi/figures/audio_codecs.png
+share/gnome/help/ekiga/fi/figures/call_d1.png
+share/gnome/help/ekiga/fi/figures/call_history.png
+share/gnome/help/ekiga/fi/figures/call_window.png
+share/gnome/help/ekiga/fi/figures/chat_d1.png
+share/gnome/help/ekiga/fi/figures/config_d1.png
+share/gnome/help/ekiga/fi/figures/config_d2.png
+share/gnome/help/ekiga/fi/figures/config_d3.png
+share/gnome/help/ekiga/fi/figures/config_d4.png
+share/gnome/help/ekiga/fi/figures/config_d5.png
+share/gnome/help/ekiga/fi/figures/config_d6.png
+share/gnome/help/ekiga/fi/figures/config_d7.png
+share/gnome/help/ekiga/fi/figures/config_d8.png
+share/gnome/help/ekiga/fi/figures/config_d9.png
+share/gnome/help/ekiga/fi/figures/lumi.png
+share/gnome/help/ekiga/fi/figures/monitoring_lines.png
+share/gnome/help/ekiga/fi/figures/roster.png
+share/gnome/help/ekiga/fi/figures/status.png
+share/gnome/help/ekiga/fi/figures/video_codecs.png
+share/gnome/help/ekiga/fr/ekiga.xml
+share/gnome/help/ekiga/fr/figures/accounts_d1.png
+share/gnome/help/ekiga/fr/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/fr/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/fr/figures/accounts_h323.png
+share/gnome/help/ekiga/fr/figures/accounts_sip.png
+share/gnome/help/ekiga/fr/figures/addressbook_d1.png
+share/gnome/help/ekiga/fr/figures/addressbook_d2.png
+share/gnome/help/ekiga/fr/figures/addressbook_d3.png
+share/gnome/help/ekiga/fr/figures/audio_codecs.png
+share/gnome/help/ekiga/fr/figures/call_d1.png
+share/gnome/help/ekiga/fr/figures/call_history.png
+share/gnome/help/ekiga/fr/figures/call_window.png
+share/gnome/help/ekiga/fr/figures/chat_d1.png
+share/gnome/help/ekiga/fr/figures/config_d1.png
+share/gnome/help/ekiga/fr/figures/config_d2.png
+share/gnome/help/ekiga/fr/figures/config_d3.png
+share/gnome/help/ekiga/fr/figures/config_d4.png
+share/gnome/help/ekiga/fr/figures/config_d5.png
+share/gnome/help/ekiga/fr/figures/config_d6.png
+share/gnome/help/ekiga/fr/figures/config_d7.png
+share/gnome/help/ekiga/fr/figures/config_d8.png
+share/gnome/help/ekiga/fr/figures/config_d9.png
+share/gnome/help/ekiga/fr/figures/lumi.png
+share/gnome/help/ekiga/fr/figures/monitoring_lines.png
+share/gnome/help/ekiga/fr/figures/roster.png
+share/gnome/help/ekiga/fr/figures/status.png
+share/gnome/help/ekiga/fr/figures/video_codecs.png
+share/gnome/help/ekiga/oc/ekiga.xml
+share/gnome/help/ekiga/oc/figures/accounts_d1.png
+share/gnome/help/ekiga/oc/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/oc/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/oc/figures/accounts_h323.png
+share/gnome/help/ekiga/oc/figures/accounts_sip.png
+share/gnome/help/ekiga/oc/figures/addressbook_d1.png
+share/gnome/help/ekiga/oc/figures/addressbook_d2.png
+share/gnome/help/ekiga/oc/figures/addressbook_d3.png
+share/gnome/help/ekiga/oc/figures/audio_codecs.png
+share/gnome/help/ekiga/oc/figures/call_d1.png
+share/gnome/help/ekiga/oc/figures/call_history.png
+share/gnome/help/ekiga/oc/figures/call_window.png
+share/gnome/help/ekiga/oc/figures/chat_d1.png
+share/gnome/help/ekiga/oc/figures/config_d1.png
+share/gnome/help/ekiga/oc/figures/config_d2.png
+share/gnome/help/ekiga/oc/figures/config_d3.png
+share/gnome/help/ekiga/oc/figures/config_d4.png
+share/gnome/help/ekiga/oc/figures/config_d5.png
+share/gnome/help/ekiga/oc/figures/config_d6.png
+share/gnome/help/ekiga/oc/figures/config_d7.png
+share/gnome/help/ekiga/oc/figures/config_d8.png
+share/gnome/help/ekiga/oc/figures/config_d9.png
+share/gnome/help/ekiga/oc/figures/lumi.png
+share/gnome/help/ekiga/oc/figures/monitoring_lines.png
+share/gnome/help/ekiga/oc/figures/roster.png
+share/gnome/help/ekiga/oc/figures/status.png
+share/gnome/help/ekiga/oc/figures/video_codecs.png
+share/gnome/help/ekiga/pt_BR/ekiga.xml
+share/gnome/help/ekiga/pt_BR/figures/accounts_d1.png
+share/gnome/help/ekiga/pt_BR/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/pt_BR/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/pt_BR/figures/accounts_h323.png
+share/gnome/help/ekiga/pt_BR/figures/accounts_sip.png
+share/gnome/help/ekiga/pt_BR/figures/addressbook_d1.png
+share/gnome/help/ekiga/pt_BR/figures/addressbook_d2.png
+share/gnome/help/ekiga/pt_BR/figures/addressbook_d3.png
+share/gnome/help/ekiga/pt_BR/figures/audio_codecs.png
+share/gnome/help/ekiga/pt_BR/figures/call_d1.png
+share/gnome/help/ekiga/pt_BR/figures/call_history.png
+share/gnome/help/ekiga/pt_BR/figures/call_window.png
+share/gnome/help/ekiga/pt_BR/figures/chat_d1.png
+share/gnome/help/ekiga/pt_BR/figures/config_d1.png
+share/gnome/help/ekiga/pt_BR/figures/config_d2.png
+share/gnome/help/ekiga/pt_BR/figures/config_d3.png
+share/gnome/help/ekiga/pt_BR/figures/config_d4.png
+share/gnome/help/ekiga/pt_BR/figures/config_d5.png
+share/gnome/help/ekiga/pt_BR/figures/config_d6.png
+share/gnome/help/ekiga/pt_BR/figures/config_d7.png
+share/gnome/help/ekiga/pt_BR/figures/config_d8.png
+share/gnome/help/ekiga/pt_BR/figures/config_d9.png
+share/gnome/help/ekiga/pt_BR/figures/lumi.png
+share/gnome/help/ekiga/pt_BR/figures/monitoring_lines.png
+share/gnome/help/ekiga/pt_BR/figures/roster.png
+share/gnome/help/ekiga/pt_BR/figures/status.png
+share/gnome/help/ekiga/pt_BR/figures/video_codecs.png
+share/gnome/help/ekiga/ru/ekiga.xml
+share/gnome/help/ekiga/ru/figures/accounts_d1.png
+share/gnome/help/ekiga/ru/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/ru/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/ru/figures/accounts_h323.png
+share/gnome/help/ekiga/ru/figures/accounts_sip.png
+share/gnome/help/ekiga/ru/figures/addressbook_d1.png
+share/gnome/help/ekiga/ru/figures/addressbook_d2.png
+share/gnome/help/ekiga/ru/figures/addressbook_d3.png
+share/gnome/help/ekiga/ru/figures/audio_codecs.png
+share/gnome/help/ekiga/ru/figures/call_d1.png
+share/gnome/help/ekiga/ru/figures/call_history.png
+share/gnome/help/ekiga/ru/figures/call_window.png
+share/gnome/help/ekiga/ru/figures/chat_d1.png
+share/gnome/help/ekiga/ru/figures/config_d1.png
+share/gnome/help/ekiga/ru/figures/config_d2.png
+share/gnome/help/ekiga/ru/figures/config_d3.png
+share/gnome/help/ekiga/ru/figures/config_d4.png
+share/gnome/help/ekiga/ru/figures/config_d5.png
+share/gnome/help/ekiga/ru/figures/config_d6.png
+share/gnome/help/ekiga/ru/figures/config_d7.png
+share/gnome/help/ekiga/ru/figures/config_d8.png
+share/gnome/help/ekiga/ru/figures/config_d9.png
+share/gnome/help/ekiga/ru/figures/lumi.png
+share/gnome/help/ekiga/ru/figures/monitoring_lines.png
+share/gnome/help/ekiga/ru/figures/roster.png
+share/gnome/help/ekiga/ru/figures/status.png
+share/gnome/help/ekiga/ru/figures/video_codecs.png
+share/gnome/help/ekiga/sl/ekiga.xml
+share/gnome/help/ekiga/sl/figures/accounts_d1.png
+share/gnome/help/ekiga/sl/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/sl/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/sl/figures/accounts_h323.png
+share/gnome/help/ekiga/sl/figures/accounts_sip.png
+share/gnome/help/ekiga/sl/figures/addressbook_d1.png
+share/gnome/help/ekiga/sl/figures/addressbook_d2.png
+share/gnome/help/ekiga/sl/figures/addressbook_d3.png
+share/gnome/help/ekiga/sl/figures/audio_codecs.png
+share/gnome/help/ekiga/sl/figures/call_d1.png
+share/gnome/help/ekiga/sl/figures/call_history.png
+share/gnome/help/ekiga/sl/figures/call_window.png
+share/gnome/help/ekiga/sl/figures/chat_d1.png
+share/gnome/help/ekiga/sl/figures/config_d1.png
+share/gnome/help/ekiga/sl/figures/config_d2.png
+share/gnome/help/ekiga/sl/figures/config_d3.png
+share/gnome/help/ekiga/sl/figures/config_d4.png
+share/gnome/help/ekiga/sl/figures/config_d5.png
+share/gnome/help/ekiga/sl/figures/config_d6.png
+share/gnome/help/ekiga/sl/figures/config_d7.png
+share/gnome/help/ekiga/sl/figures/config_d8.png
+share/gnome/help/ekiga/sl/figures/config_d9.png
+share/gnome/help/ekiga/sl/figures/lumi.png
+share/gnome/help/ekiga/sl/figures/monitoring_lines.png
+share/gnome/help/ekiga/sl/figures/roster.png
+share/gnome/help/ekiga/sl/figures/status.png
+share/gnome/help/ekiga/sl/figures/video_codecs.png
+share/gnome/help/ekiga/sv/ekiga.xml
+share/gnome/help/ekiga/sv/figures/accounts_d1.png
+share/gnome/help/ekiga/sv/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/sv/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/sv/figures/accounts_h323.png
+share/gnome/help/ekiga/sv/figures/accounts_sip.png
+share/gnome/help/ekiga/sv/figures/addressbook_d1.png
+share/gnome/help/ekiga/sv/figures/addressbook_d2.png
+share/gnome/help/ekiga/sv/figures/addressbook_d3.png
+share/gnome/help/ekiga/sv/figures/audio_codecs.png
+share/gnome/help/ekiga/sv/figures/call_d1.png
+share/gnome/help/ekiga/sv/figures/call_history.png
+share/gnome/help/ekiga/sv/figures/call_window.png
+share/gnome/help/ekiga/sv/figures/chat_d1.png
+share/gnome/help/ekiga/sv/figures/config_d1.png
+share/gnome/help/ekiga/sv/figures/config_d2.png
+share/gnome/help/ekiga/sv/figures/config_d3.png
+share/gnome/help/ekiga/sv/figures/config_d4.png
+share/gnome/help/ekiga/sv/figures/config_d5.png
+share/gnome/help/ekiga/sv/figures/config_d6.png
+share/gnome/help/ekiga/sv/figures/config_d7.png
+share/gnome/help/ekiga/sv/figures/config_d8.png
+share/gnome/help/ekiga/sv/figures/config_d9.png
+share/gnome/help/ekiga/sv/figures/lumi.png
+share/gnome/help/ekiga/sv/figures/monitoring_lines.png
+share/gnome/help/ekiga/sv/figures/roster.png
+share/gnome/help/ekiga/sv/figures/status.png
+share/gnome/help/ekiga/sv/figures/video_codecs.png
+share/gnome/help/ekiga/uk/ekiga.xml
+share/gnome/help/ekiga/uk/figures/accounts_d1.png
+share/gnome/help/ekiga/uk/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/uk/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/uk/figures/accounts_h323.png
+share/gnome/help/ekiga/uk/figures/accounts_sip.png
+share/gnome/help/ekiga/uk/figures/addressbook_d1.png
+share/gnome/help/ekiga/uk/figures/addressbook_d2.png
+share/gnome/help/ekiga/uk/figures/addressbook_d3.png
+share/gnome/help/ekiga/uk/figures/audio_codecs.png
+share/gnome/help/ekiga/uk/figures/call_d1.png
+share/gnome/help/ekiga/uk/figures/call_history.png
+share/gnome/help/ekiga/uk/figures/call_window.png
+share/gnome/help/ekiga/uk/figures/chat_d1.png
+share/gnome/help/ekiga/uk/figures/config_d1.png
+share/gnome/help/ekiga/uk/figures/config_d2.png
+share/gnome/help/ekiga/uk/figures/config_d3.png
+share/gnome/help/ekiga/uk/figures/config_d4.png
+share/gnome/help/ekiga/uk/figures/config_d5.png
+share/gnome/help/ekiga/uk/figures/config_d6.png
+share/gnome/help/ekiga/uk/figures/config_d7.png
+share/gnome/help/ekiga/uk/figures/config_d8.png
+share/gnome/help/ekiga/uk/figures/config_d9.png
+share/gnome/help/ekiga/uk/figures/lumi.png
+share/gnome/help/ekiga/uk/figures/monitoring_lines.png
+share/gnome/help/ekiga/uk/figures/roster.png
+share/gnome/help/ekiga/uk/figures/status.png
+share/gnome/help/ekiga/uk/figures/video_codecs.png
+share/gnome/help/ekiga/zh_CN/ekiga.xml
+share/gnome/help/ekiga/zh_CN/figures/accounts_d1.png
+share/gnome/help/ekiga/zh_CN/figures/accounts_ekiga_call_out.png
+share/gnome/help/ekiga/zh_CN/figures/accounts_ekiga_net.png
+share/gnome/help/ekiga/zh_CN/figures/accounts_h323.png
+share/gnome/help/ekiga/zh_CN/figures/accounts_sip.png
+share/gnome/help/ekiga/zh_CN/figures/addressbook_d1.png
+share/gnome/help/ekiga/zh_CN/figures/addressbook_d2.png
+share/gnome/help/ekiga/zh_CN/figures/addressbook_d3.png
+share/gnome/help/ekiga/zh_CN/figures/audio_codecs.png
+share/gnome/help/ekiga/zh_CN/figures/call_d1.png
+share/gnome/help/ekiga/zh_CN/figures/call_history.png
+share/gnome/help/ekiga/zh_CN/figures/call_window.png
+share/gnome/help/ekiga/zh_CN/figures/chat_d1.png
+share/gnome/help/ekiga/zh_CN/figures/config_d1.png
+share/gnome/help/ekiga/zh_CN/figures/config_d2.png
+share/gnome/help/ekiga/zh_CN/figures/config_d3.png
+share/gnome/help/ekiga/zh_CN/figures/config_d4.png
+share/gnome/help/ekiga/zh_CN/figures/config_d5.png
+share/gnome/help/ekiga/zh_CN/figures/config_d6.png
+share/gnome/help/ekiga/zh_CN/figures/config_d7.png
+share/gnome/help/ekiga/zh_CN/figures/config_d8.png
+share/gnome/help/ekiga/zh_CN/figures/config_d9.png
+share/gnome/help/ekiga/zh_CN/figures/lumi.png
+share/gnome/help/ekiga/zh_CN/figures/monitoring_lines.png
+share/gnome/help/ekiga/zh_CN/figures/roster.png
+share/gnome/help/ekiga/zh_CN/figures/status.png
+share/gnome/help/ekiga/zh_CN/figures/video_codecs.png
+share/icons/hicolor/128x128/apps/ekiga.png
+share/icons/hicolor/16x16/apps/ekiga.png
+share/icons/hicolor/22x22/apps/ekiga.png
+share/icons/hicolor/24x24/apps/ekiga.png
+share/icons/hicolor/32x32/apps/ekiga.png
+share/icons/hicolor/48x48/apps/ekiga.png
+share/icons/hicolor/64x64/apps/ekiga.png
+share/icons/hicolor/72x72/apps/ekiga.png
+share/locale/am/LC_MESSAGES/ekiga.mo
+share/locale/ar/LC_MESSAGES/ekiga.mo
+share/locale/as/LC_MESSAGES/ekiga.mo
+share/locale/ast/LC_MESSAGES/ekiga.mo
+share/locale/az/LC_MESSAGES/ekiga.mo
+share/locale/bg/LC_MESSAGES/ekiga.mo
+share/locale/bn/LC_MESSAGES/ekiga.mo
+share/locale/bn_IN/LC_MESSAGES/ekiga.mo
+share/locale/bs/LC_MESSAGES/ekiga.mo
+share/locale/ca/LC_MESSAGES/ekiga.mo
+share/locale/ca@valencia/LC_MESSAGES/ekiga.mo
+share/locale/crh/LC_MESSAGES/ekiga.mo
+share/locale/cs/LC_MESSAGES/ekiga.mo
+share/locale/cy/LC_MESSAGES/ekiga.mo
+share/locale/da/LC_MESSAGES/ekiga.mo
+share/locale/de/LC_MESSAGES/ekiga.mo
+share/locale/dz/LC_MESSAGES/ekiga.mo
+share/locale/el/LC_MESSAGES/ekiga.mo
+share/locale/en@shaw/LC_MESSAGES/ekiga.mo
+share/locale/en_CA/LC_MESSAGES/ekiga.mo
+share/locale/en_GB/LC_MESSAGES/ekiga.mo
+share/locale/eo/LC_MESSAGES/ekiga.mo
+share/locale/es/LC_MESSAGES/ekiga.mo
+share/locale/et/LC_MESSAGES/ekiga.mo
+share/locale/eu/LC_MESSAGES/ekiga.mo
+share/locale/fa/LC_MESSAGES/ekiga.mo
+share/locale/fi/LC_MESSAGES/ekiga.mo
+share/locale/fr/LC_MESSAGES/ekiga.mo
+share/locale/ga/LC_MESSAGES/ekiga.mo
+share/locale/gl/LC_MESSAGES/ekiga.mo
+share/locale/gu/LC_MESSAGES/ekiga.mo
+share/locale/he/LC_MESSAGES/ekiga.mo
+share/locale/hi/LC_MESSAGES/ekiga.mo
+share/locale/hr/LC_MESSAGES/ekiga.mo
+share/locale/hu/LC_MESSAGES/ekiga.mo
+share/locale/id/LC_MESSAGES/ekiga.mo
+share/locale/is/LC_MESSAGES/ekiga.mo
+share/locale/it/LC_MESSAGES/ekiga.mo
+share/locale/ja/LC_MESSAGES/ekiga.mo
+share/locale/ka/LC_MESSAGES/ekiga.mo
+share/locale/kk/LC_MESSAGES/ekiga.mo
+share/locale/kn/LC_MESSAGES/ekiga.mo
+share/locale/ko/LC_MESSAGES/ekiga.mo
+share/locale/ku/LC_MESSAGES/ekiga.mo
+share/locale/lt/LC_MESSAGES/ekiga.mo
+share/locale/lv/LC_MESSAGES/ekiga.mo
+share/locale/mai/LC_MESSAGES/ekiga.mo
+share/locale/mk/LC_MESSAGES/ekiga.mo
+share/locale/ml/LC_MESSAGES/ekiga.mo
+share/locale/mn/LC_MESSAGES/ekiga.mo
+share/locale/mr/LC_MESSAGES/ekiga.mo
+share/locale/ms/LC_MESSAGES/ekiga.mo
+share/locale/nb/LC_MESSAGES/ekiga.mo
+share/locale/ne/LC_MESSAGES/ekiga.mo
+share/locale/nl/LC_MESSAGES/ekiga.mo
+share/locale/nn/LC_MESSAGES/ekiga.mo
+share/locale/oc/LC_MESSAGES/ekiga.mo
+share/locale/or/LC_MESSAGES/ekiga.mo
+share/locale/pa/LC_MESSAGES/ekiga.mo
+share/locale/pl/LC_MESSAGES/ekiga.mo
+share/locale/pt/LC_MESSAGES/ekiga.mo
+share/locale/pt_BR/LC_MESSAGES/ekiga.mo
+share/locale/ro/LC_MESSAGES/ekiga.mo
+share/locale/ru/LC_MESSAGES/ekiga.mo
+share/locale/rw/LC_MESSAGES/ekiga.mo
+share/locale/si/LC_MESSAGES/ekiga.mo
+share/locale/sk/LC_MESSAGES/ekiga.mo
+share/locale/sl/LC_MESSAGES/ekiga.mo
+share/locale/sq/LC_MESSAGES/ekiga.mo
+share/locale/sr/LC_MESSAGES/ekiga.mo
+share/locale/sr@latin/LC_MESSAGES/ekiga.mo
+share/locale/sv/LC_MESSAGES/ekiga.mo
+share/locale/ta/LC_MESSAGES/ekiga.mo
+share/locale/te/LC_MESSAGES/ekiga.mo
+share/locale/th/LC_MESSAGES/ekiga.mo
+share/locale/tr/LC_MESSAGES/ekiga.mo
+share/locale/ug/LC_MESSAGES/ekiga.mo
+share/locale/uk/LC_MESSAGES/ekiga.mo
+share/locale/vi/LC_MESSAGES/ekiga.mo
+share/locale/wa/LC_MESSAGES/ekiga.mo
+share/locale/xh/LC_MESSAGES/ekiga.mo
+share/locale/zh_CN/LC_MESSAGES/ekiga.mo
+share/locale/zh_HK/LC_MESSAGES/ekiga.mo
+share/locale/zh_TW/LC_MESSAGES/ekiga.mo
+share/omf/ekiga/ekiga-C.omf
+share/omf/ekiga/ekiga-bg.omf
+share/omf/ekiga/ekiga-ca.omf
+share/omf/ekiga/ekiga-de.omf
+share/omf/ekiga/ekiga-el.omf
+share/omf/ekiga/ekiga-en_GB.omf
+share/omf/ekiga/ekiga-es.omf
+share/omf/ekiga/ekiga-eu.omf
+share/omf/ekiga/ekiga-fi.omf
+share/omf/ekiga/ekiga-fr.omf
+share/omf/ekiga/ekiga-oc.omf
+share/omf/ekiga/ekiga-pt_BR.omf
+share/omf/ekiga/ekiga-ru.omf
+share/omf/ekiga/ekiga-sl.omf
+share/omf/ekiga/ekiga-sv.omf
+share/omf/ekiga/ekiga-uk.omf
+share/omf/ekiga/ekiga-zh_CN.omf
+share/pixmaps/ekiga/ekiga-logo.png
+share/sounds/ekiga/busytone.wav
+share/sounds/ekiga/dialtone.wav
+share/sounds/ekiga/newmessage.wav
+share/sounds/ekiga/ring.wav
+share/sounds/ekiga/voicemail.wav
diff --git a/ekiga/distinfo b/ekiga/distinfo
new file mode 100644
index 0000000..3efc081
--- /dev/null
+++ b/ekiga/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.14 2015/11/04 00:34:59 agc Exp $
+
+SHA1 (ekiga-4.0.1.tar.xz) = da489d3aed19272016d297314abdcde42a1af0fb
+RMD160 (ekiga-4.0.1.tar.xz) = 378eac3477644ee181c946442111ee6a5449323e
+SHA512 (ekiga-4.0.1.tar.xz) = 3c4dd5eab6e91434da4bbfe5728ac5943ed5ae89b8b2241fb59abb3e41bcd08ba187b5d60c9d839b1010edd7fc97b53cc6db57a6eec40ba81757a772febd2217
+Size (ekiga-4.0.1.tar.xz) = 8339364 bytes
+SHA1 (patch-configure) = 0b82cc31bd6a564c3e8ed741a142cec78c81da86
diff --git a/ekiga/options.mk b/ekiga/options.mk
new file mode 100644
index 0000000..c22da4e
--- /dev/null
+++ b/ekiga/options.mk
@@ -0,0 +1,57 @@
+# $NetBSD: options.mk,v 1.5 2013/11/06 13:31:21 joerg Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.ekiga
+PKG_SUPPORTED_OPTIONS+= avahi dbus evolution-data-server gconf gnome notify
+PKG_SUGGESTED_OPTIONS+= avahi dbus gconf notify
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= dbus gconf not-gconf
+
+.if !empty(PKG_OPTIONS:Mavahi)
+.include "../../net/avahi/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-avahi
+.endif
+
+.if !empty(PKG_OPTIONS:Mdbus)
+CONFIGURE_ARGS+= --enable-dbus --enable-dbus-service
+PLIST.dbus= yes
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-dbus --disable-dbus-service
+.endif
+
+.if !empty(PKG_OPTIONS:Mevolution-data-server)
+CONFIGURE_ARGS+= --enable-eds
+.include "../../mail/evolution-data-server/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-eds
+.endif
+
+.if !empty(PKG_OPTIONS:Mgconf)
+PLIST.gconf= yes
+GCONF_SCHEMAS= ekiga.schemas
+CONFIGURE_ARGS+= --enable-gconf
+CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${PREFIX}/share/gconf/schemas
+.include "../../devel/GConf/schemas.mk"
+.else
+PLIST.not-gconf= yes
+CONFIGURE_ARGS+= --disable-gconf
+.endif
+
+.if !empty(PKG_OPTIONS:Mgnome)
+CONFIGURE_ARGS+= --enable-gnome
+.include "../../devel/libgnome/buildlink3.mk"
+.include "../../devel/libgnomeui/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-gnome
+.endif
+
+.if !empty(PKG_OPTIONS:Mnotify)
+CONFIGURE_ARGS+= --enable-notify
+.include "../../sysutils/libnotify/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-notify
+.endif
diff --git a/ekiga/patches/patch-configure b/ekiga/patches/patch-configure
new file mode 100644
index 0000000..f39dcda
--- /dev/null
+++ b/ekiga/patches/patch-configure
@@ -0,0 +1,22 @@
+$NetBSD: patch-configure,v 1.1 2011/12/04 23:17:30 marino Exp $
+
+--- configure.orig 2013-02-20 21:44:15.000000000 +0000
++++ configure
+@@ -18242,7 +18242,7 @@ fi
+ fi
+
+
+-if test "x${ax_cv_boost_signals}" == "xno"; then
++if test "x${ax_cv_boost_signals}" = "xno"; then
+ as_fn_error $? "You need the boost signals library to compile Ekiga" "$LINENO" 5
+ fi
+
+@@ -18351,7 +18351,7 @@ if test "x${gm_platform}" != "xmingw" ;
+ # Check whether --enable-gconf was given.
+ if test "${enable_gconf+set}" = set; then :
+ enableval=$enable_gconf; if test "x$enableval" = "xyes"; then
+- enable_gconf = yes
++ enable_gconf=yes
+ fi
+ else
+ enable_gconf=yes
diff --git a/gsm/DESCR b/gsm/DESCR
new file mode 100644
index 0000000..1436934
--- /dev/null
+++ b/gsm/DESCR
@@ -0,0 +1,2 @@
+gsm is a conversion package and library for converting u-law audio to
+gsm encoding (which is much more efficient) and back again.
diff --git a/gsm/Makefile b/gsm/Makefile
new file mode 100644
index 0000000..bbc4dd0
--- /dev/null
+++ b/gsm/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.34 2012/09/12 00:24:36 asau Exp $
+#
+
+DISTNAME= gsm-1.0.14
+CATEGORIES= audio
+MASTER_SITES= http://www.quut.com/gsm/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.quut.com/gsm/
+COMMENT= Audio converter and library for converting u-law to gsm encoding
+LICENSE= mit
+
+WRKSRC= ${WRKDIR}/gsm-1.0-pl14
+USE_LIBTOOL= yes
+
+NO_CONFIGURE= yes
+MAKE_ENV+= ROOT=${WRKSRC:Q}
+INSTALL_ENV+= INSTALL_ROOT=${DESTDIR:Q}${PREFIX:Q}
+INSTALLATION_DIRS= bin include/gsm lib ${PKGMANDIR}/man1 ${PKGMANDIR}/man3
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/inc/private.h ${DESTDIR}${PREFIX}/include/gsm
+ ${INSTALL_DATA} ${WRKSRC}/inc/proto.h ${DESTDIR}${PREFIX}/include/gsm
+ ${INSTALL_DATA} ${WRKSRC}/inc/unproto.h ${DESTDIR}${PREFIX}/include/gsm
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/gsm/PLIST b/gsm/PLIST
new file mode 100644
index 0000000..9a5fe56
--- /dev/null
+++ b/gsm/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:32:10 joerg Exp $
+bin/tcat
+bin/toast
+bin/untoast
+include/gsm.h
+include/gsm/private.h
+include/gsm/proto.h
+include/gsm/unproto.h
+lib/libgsm.la
+man/man1/toast.1
+man/man3/gsm.3
+man/man3/gsm_explode.3
+man/man3/gsm_option.3
+man/man3/gsm_print.3
diff --git a/gsm/buildlink3.mk b/gsm/buildlink3.mk
new file mode 100644
index 0000000..0d4d2e6
--- /dev/null
+++ b/gsm/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.9 2009/03/20 19:23:53 joerg Exp $
+
+BUILDLINK_TREE+= gsm
+
+.if !defined(GSM_BUILDLINK3_MK)
+GSM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gsm+= gsm>=1.0.10
+BUILDLINK_ABI_DEPENDS.gsm+= gsm>=1.0.12
+BUILDLINK_PKGSRCDIR.gsm?= ../../wip/gsm
+.endif # GSM_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -gsm
diff --git a/gsm/distinfo b/gsm/distinfo
new file mode 100644
index 0000000..a4d8386
--- /dev/null
+++ b/gsm/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.10 2015/11/03 01:12:34 agc Exp $
+
+SHA1 (gsm-1.0.14.tar.gz) = e02ca2b69e974271d2e713f5f4433ae4b6a03ae0
+RMD160 (gsm-1.0.14.tar.gz) = 0508d3d9f31c82661df086df390d0ed52d087854
+SHA512 (gsm-1.0.14.tar.gz) = eefe19bdbc1fd3bc7499db664067b997c57d718e40598d6d330be971d9d2b0a744fc92b135acb5bbad83aacea59bdb061b4230dc0ebcf063bf4afede0e4a2827
+Size (gsm-1.0.14.tar.gz) = 62372 bytes
+SHA1 (patch-aa) = e50ac3bba1c8a6ccd54d6d035232eca739d3f9fa
+SHA1 (patch-ab) = b9af8e40884aeac19e7e5b11df27819408465b65
diff --git a/gsm/patches/patch-aa b/gsm/patches/patch-aa
new file mode 100644
index 0000000..7684c51
--- /dev/null
+++ b/gsm/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.4 2009/02/03 06:09:09 obache Exp $
+
+--- inc/config.h.orig 2006-04-26 19:14:26.000000000 +0000
++++ inc/config.h
+@@ -10,7 +10,10 @@
+ #define CONFIG_H
+
+ /*efine SIGHANDLER_T int /* signal handlers are void */
+-/*efine HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */
++
++#if defined(__INTERIX)
++#define HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */
++#endif
+
+ #define HAS_STDLIB_H 1 /* /usr/include/stdlib.h */
+ #define HAS_LIMITS_H 1 /* /usr/include/limits.h */
+@@ -28,10 +31,17 @@
+ /*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */
+
+ #define HAS_UNISTD_H 1 /* /usr/include/unistd.h */
++
++#if defined(__INTERIX)
+ #define HAS_UTIME 1 /* POSIX utime(path, times) */
+-/*efine HAS_UTIMES 1 /* use utimes() syscall instead */
++#else
++#define HAS_UTIMES 1 /* use utimes() syscall instead */
++#endif
+ #define HAS_UTIME_H 1 /* UTIME header file */
++
++#if defined(__INTERIX)
+ #define HAS_UTIMBUF 1 /* struct utimbuf */
++#endif
+ /*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */
+
+ #endif /* CONFIG_H */
diff --git a/gsm/patches/patch-ab b/gsm/patches/patch-ab
new file mode 100644
index 0000000..df4dce7
--- /dev/null
+++ b/gsm/patches/patch-ab
@@ -0,0 +1,207 @@
+$NetBSD: patch-ab,v 1.10 2009/02/03 06:09:09 obache Exp $
+
+--- Makefile.orig 2006-04-26 19:14:26.000000000 +0000
++++ Makefile
+@@ -43,7 +43,7 @@ WAV49 = -DWAV49
+ # CC = /usr/lang/acc
+ # CCFLAGS = -c -O
+
+-CC = gcc -ansi -pedantic
++# CC = gcc -ansi -pedantic
+ CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1
+
+ LD = $(CC)
+@@ -71,7 +71,7 @@ LD = $(CC)
+ # Leave INSTALL_ROOT empty (or just don't execute "make install") to
+ # not install gsm and toast outside of this directory.
+
+-INSTALL_ROOT =
++# INSTALL_ROOT =
+
+ # Where do you want to install the gsm library, header file, and manpages?
+ #
+@@ -80,8 +80,8 @@ INSTALL_ROOT =
+
+ GSM_INSTALL_ROOT = $(INSTALL_ROOT)
+ GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib
+-GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/inc
+-GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3
++GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/include
++GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/${PKGMANDIR}/man3
+
+
+ # Where do you want to install the toast binaries and their manpage?
+@@ -91,13 +91,14 @@ GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/ma
+
+ TOAST_INSTALL_ROOT = $(INSTALL_ROOT)
+ TOAST_INSTALL_BIN = $(TOAST_INSTALL_ROOT)/bin
+-TOAST_INSTALL_MAN = $(TOAST_INSTALL_ROOT)/man/man1
++TOAST_INSTALL_MAN = $(TOAST_INSTALL_ROOT)/${PKGMANDIR}/man1
+
+ # Other tools
+
+ SHELL = /bin/sh
+-LN = ln
++LN = ln -s
+ BASENAME = basename
++DIRNAME = dirname
+ AR = ar
+ ARFLAGS = cr
+ RMFLAGS =
+@@ -114,7 +115,7 @@ RANLIB = ranlib
+
+ # Local Directories
+
+-ROOT = .
++#ROOT = .
+ ADDTST = $(ROOT)/add-test
+ TST = $(ROOT)/tst
+ MAN = $(ROOT)/man
+@@ -129,7 +130,7 @@ INC = $(ROOT)/inc
+ # DEBUG = -DNDEBUG
+ ######### Remove -DNDEBUG to enable assertions.
+
+-CFLAGS = $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \
++CFLAGS += $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \
+ $(WAV49) $(CCINC) -I$(INC)
+ ######### It's $(CC) $(CFLAGS)
+
+@@ -139,7 +140,7 @@ LFLAGS = $(LDFLAGS) $(LDINC)
+
+ # Targets
+
+-LIBGSM = $(LIB)/libgsm.a
++LIBGSM = $(LIB)/libgsm.la
+
+ TOAST = $(BIN)/toast
+ UNTOAST = $(BIN)/untoast
+@@ -257,7 +258,7 @@ STUFF = ChangeLog \
+ # Install targets
+
+ GSM_INSTALL_TARGETS = \
+- $(GSM_INSTALL_LIB)/libgsm.a \
++ $(GSM_INSTALL_LIB)/libgsm.la \
+ $(GSM_INSTALL_INC)/gsm.h \
+ $(GSM_INSTALL_MAN)/gsm.3 \
+ $(GSM_INSTALL_MAN)/gsm_explode.3 \
+@@ -273,10 +274,15 @@ TOAST_INSTALL_TARGETS = \
+
+ # Default rules
+
++.SUFFIXES: .o .lo
++
+ .c.o:
+ $(CC) $(CFLAGS) $?
+ @-mv `$(BASENAME) $@` $@ > /dev/null 2>&1
+
++.c.lo:
++ cd `${DIRNAME} $@` && ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} $?
++
+ # Target rules
+
+ all: $(LIBGSM) $(TOAST) $(TCAT) $(UNTOAST)
+@@ -299,16 +305,20 @@ install: toastinstall gsminstall
+
+ # The basic API: libgsm
+
+-$(LIBGSM): $(LIB) $(GSM_OBJECTS)
++$(LIBGSM): $(LIB) $(GSM_OBJECTS:.o=.lo)
+ -rm $(RMFLAGS) $(LIBGSM)
+- $(AR) $(ARFLAGS) $(LIBGSM) $(GSM_OBJECTS)
+- $(RANLIB) $(LIBGSM)
++ cd $(LIB) && \
++ $(LIBTOOL) --mode=link $(CC) -o `$(BASENAME) $@` \
++ $(GSM_OBJECTS:.o=.lo) \
++ -rpath $(PREFIX)/lib -version-info 1:12
+
+
+ # Toast, Untoast and Tcat -- the compress-like frontends to gsm.
+
+ $(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIBGSM)
+- $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSM) $(LDLIB)
++ cd $(BIN) && \
++ $(LIBTOOL) --mode=link $(LD) $(LFLAGS) -o `$(BASENAME) $@` \
++ $(TOAST_OBJECTS) $(LIBGSM) $(LDLIB)
+
+ $(UNTOAST): $(BIN) $(TOAST)
+ -rm $(RMFLAGS) $(UNTOAST)
+@@ -332,12 +342,12 @@ $(LIB):
+
+ gsminstall:
+ -if [ x"$(GSM_INSTALL_ROOT)" != x ] ; then \
+- make $(GSM_INSTALL_TARGETS) ; \
++ $(MAKE) $(GSM_INSTALL_TARGETS) ; \
+ fi
+
+ toastinstall:
+ -if [ x"$(TOAST_INSTALL_ROOT)" != x ]; then \
+- make $(TOAST_INSTALL_TARGETS); \
++ $(MAKE) $(TOAST_INSTALL_TARGETS); \
+ fi
+
+ gsmuninstall:
+@@ -351,52 +361,34 @@ toastuninstall:
+ fi
+
+ $(TOAST_INSTALL_BIN)/toast: $(TOAST)
+- -rm $@
+- cp $(TOAST) $@
+- chmod 755 $@
++ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} $? $(TOAST_INSTALL_BIN)
+
+ $(TOAST_INSTALL_BIN)/untoast: $(TOAST_INSTALL_BIN)/toast
+- -rm $@
+- ln $? $@
++ ${LN} -f toast $@
+
+ $(TOAST_INSTALL_BIN)/tcat: $(TOAST_INSTALL_BIN)/toast
+- -rm $@
+- ln $? $@
++ ${LN} -f toast $@
+
+ $(TOAST_INSTALL_MAN)/toast.1: $(MAN)/toast.1
+- -rm $@
+- cp $? $@
+- chmod 444 $@
++ ${BSD_INSTALL_MAN} $? $(TOAST_INSTALL_MAN)
+
+ $(GSM_INSTALL_MAN)/gsm.3: $(MAN)/gsm.3
+- -rm $@
+- cp $? $@
+- chmod 444 $@
++ ${BSD_INSTALL_MAN} $? $(GSM_INSTALL_MAN)
+
+ $(GSM_INSTALL_MAN)/gsm_option.3: $(MAN)/gsm_option.3
+- -rm $@
+- cp $? $@
+- chmod 444 $@
++ ${BSD_INSTALL_MAN} $? $(GSM_INSTALL_MAN)
+
+ $(GSM_INSTALL_MAN)/gsm_explode.3: $(MAN)/gsm_explode.3
+- -rm $@
+- cp $? $@
+- chmod 444 $@
++ ${BSD_INSTALL_MAN} $? $(GSM_INSTALL_MAN)
+
+ $(GSM_INSTALL_MAN)/gsm_print.3: $(MAN)/gsm_print.3
+- -rm $@
+- cp $? $@
+- chmod 444 $@
++ ${BSD_INSTALL_MAN} $? $(GSM_INSTALL_MAN)
+
+ $(GSM_INSTALL_INC)/gsm.h: $(INC)/gsm.h
+- -rm $@
+- cp $? $@
+- chmod 444 $@
+-
+-$(GSM_INSTALL_LIB)/libgsm.a: $(LIBGSM)
+- -rm $@
+- cp $? $@
+- chmod 444 $@
++ ${BSD_INSTALL_DATA} $? $(GSM_INSTALL_INC)
++
++$(GSM_INSTALL_LIB)/libgsm.la: $(LIBGSM)
++ ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} $? $(GSM_INSTALL_LIB)
+
+
+ # Distribution
diff --git a/opal/DESCR b/opal/DESCR
new file mode 100644
index 0000000..4c2cb4a
--- /dev/null
+++ b/opal/DESCR
@@ -0,0 +1,5 @@
+OPAL is the "next generation" of OpenH323 that has a new architecture.
+Not only does it support H.323 and SIP, but new VoIP protocols or
+devices can be added very easily.
+BTW: OPAL is an acronym for Open Phone Abstraction Library, but
+that is not really important :)
diff --git a/opal/Makefile b/opal/Makefile
new file mode 100644
index 0000000..63d1291
--- /dev/null
+++ b/opal/Makefile
@@ -0,0 +1,66 @@
+# $NetBSD: Makefile,v 1.30 2016/03/05 11:27:46 jperkin Exp $
+#
+
+DISTNAME= opal-3.10.10
+CATEGORIES= devel net comms
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/opal/3.10/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.opalvoip.org/
+COMMENT= Open Phone Abstraction Library
+LICENSE= mpl-1.0
+
+PREV_PKGPATH= devel/opal-devel
+
+OPALLIBDIR= ${DISTNAME}
+
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+BUILD_TARGET= opt
+CONFIG_SHELL= bash
+
+CONFIGURE_ARGS+= --enable-h264
+# ekiga developers say that the ffmpeg-h263 plugin is
+# not used and should be disabled in favour of the
+# h263+ plugin, so do so
+CONFIGURE_ARGS+= --disable-ffmpeg-h263
+CONFIGURE_ARGS+= --disable-localgsm
+CONFIGURE_ARGS+= --disable-localspeex
+CONFIGURE_ARGS+= --disable-ivr
+
+USE_LANGUAGES= c c++
+# plugins/configure uses bash style += assignment.
+USE_TOOLS+= bash gmake pkg-config
+
+PLIST_SUBST+= OPALLIBDIR=${OPALLIBDIR:Q}
+
+.if "${MACHINE_ARCH}" == "i386"
+PLIST_SUBST+= LIBARCH=x86
+.else
+PLIST_SUBST+= LIBARCH=${MACHINE_ARCH:Q}
+.endif
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/opal
+ ${INSTALL_DATA} ${WRKSRC}/opal_inc.mak ${DESTDIR}${PREFIX}/share/opal
+ ${INSTALL_DATA} ${WRKSRC}/version.h ${DESTDIR}${PREFIX}/share/opal
+
+# pkgsrc's gsm is shlib, need additional linker flags.
+GSM_LIBS= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gsm}/lib
+GSM_LIBS+= -L${BUILDLINK_PREFIX.gsm}/lib -lgsm
+SUBST_CLASSES+= gsm
+SUBST_STAGE.gsm= pre-configure
+SUBST_FILES.gsm= plugins/configure
+SUBST_SED.gsm= -e 's;GSM_LIBS="-lgsm";GSM_LIBS="${GSM_LIBS}";g'
+
+#for WAV49
+BUILDLINK_API_DEPENDS.gsm+= gsm>=1.0.12
+.include "../../audio/gsm/buildlink3.mk"
+.include "../../audio/speex/buildlink3.mk"
+.include "../../devel/ptlib/buildlink3.mk"
+.include "../../multimedia/ffmpeg3/buildlink3.mk"
+.include "../../multimedia/libtheora/buildlink3.mk"
+.include "../../multimedia/x264-devel/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/opal/PLIST b/opal/PLIST
new file mode 100644
index 0000000..24cc6e7
--- /dev/null
+++ b/opal/PLIST
@@ -0,0 +1,159 @@
+@comment $NetBSD$
+include/opal/asn/gcc.h
+include/opal/asn/h225.h
+include/opal/asn/h235.h
+include/opal/asn/h235_srtp.h
+include/opal/asn/h245.h
+include/opal/asn/h248.h
+include/opal/asn/h4501.h
+include/opal/asn/h45010.h
+include/opal/asn/h45011.h
+include/opal/asn/h4502.h
+include/opal/asn/h4503.h
+include/opal/asn/h4504.h
+include/opal/asn/h4505.h
+include/opal/asn/h4506.h
+include/opal/asn/h4507.h
+include/opal/asn/h4508.h
+include/opal/asn/h4509.h
+include/opal/asn/h501.h
+include/opal/asn/mcs.h
+include/opal/asn/t38.h
+include/opal/asn/x880.h
+include/opal/codec/echocancel.h
+include/opal/codec/g711a1_plc.h
+include/opal/codec/g711codec.h
+include/opal/codec/opalplugin.h
+include/opal/codec/opalpluginmgr.h
+include/opal/codec/opalwavfile.h
+include/opal/codec/ratectl.h
+include/opal/codec/rfc2435.h
+include/opal/codec/rfc2833.h
+include/opal/codec/rfc4175.h
+include/opal/codec/silencedetect.h
+include/opal/codec/vidcodec.h
+include/opal/h323/channels.h
+include/opal/h323/gkclient.h
+include/opal/h323/gkserver.h
+include/opal/h323/h225ras.h
+include/opal/h323/h235auth.h
+include/opal/h323/h323.h
+include/opal/h323/h323annexg.h
+include/opal/h323/h323caps.h
+include/opal/h323/h323con.h
+include/opal/h323/h323ep.h
+include/opal/h323/h323neg.h
+include/opal/h323/h323pdu.h
+include/opal/h323/h323rtp.h
+include/opal/h323/h323trans.h
+include/opal/h323/h450pdu.h
+include/opal/h323/h501pdu.h
+include/opal/h323/peclient.h
+include/opal/h323/q931.h
+include/opal/h323/svcctrl.h
+include/opal/h323/transaddr.h
+include/opal/h460/h460.h
+include/opal/h460/h4601.h
+include/opal/h460/h46018.h
+include/opal/h460/h46019.h
+include/opal/h460/h4609.h
+include/opal/h460/h460p.h
+include/opal/h460/h460pres.h
+include/opal/h460/h460tm.h
+include/opal/iax2/callprocessor.h
+include/opal/iax2/causecode.h
+include/opal/iax2/frame.h
+include/opal/iax2/iax2.h
+include/opal/iax2/iax2con.h
+include/opal/iax2/iax2ep.h
+include/opal/iax2/iax2medstrm.h
+include/opal/iax2/iedata.h
+include/opal/iax2/ies.h
+include/opal/iax2/overview.h
+include/opal/iax2/processor.h
+include/opal/iax2/receiver.h
+include/opal/iax2/regprocessor.h
+include/opal/iax2/remote.h
+include/opal/iax2/safestrings.h
+include/opal/iax2/sound.h
+include/opal/iax2/specialprocessor.h
+include/opal/iax2/transmit.h
+include/opal/iax2/version.h
+include/opal/im/im.h
+include/opal/im/msrp.h
+include/opal/im/rfc4103.h
+include/opal/im/sipim.h
+include/opal/im/t140.h
+include/opal/lids/capi_ep.h
+include/opal/lids/lid.h
+include/opal/lids/lidep.h
+include/opal/lids/lidplugin.h
+include/opal/lids/lidpluginmgr.h
+include/opal/opal.h
+include/opal/opal/buildopts.h
+include/opal/opal/call.h
+include/opal/opal/connection.h
+include/opal/opal/console_mgr.h
+include/opal/opal/endpoint.h
+include/opal/opal/guid.h
+include/opal/opal/ivr.h
+include/opal/opal/localep.h
+include/opal/opal/manager.h
+include/opal/opal/mediacmd.h
+include/opal/opal/mediafmt.h
+include/opal/opal/mediastrm.h
+include/opal/opal/mediatype.h
+include/opal/opal/opalmixer.h
+include/opal/opal/opalvxml.h
+include/opal/opal/patch.h
+include/opal/opal/pcss.h
+include/opal/opal/pres_ent.h
+include/opal/opal/recording.h
+include/opal/opal/rtpconn.h
+include/opal/opal/rtpep.h
+include/opal/opal/transcoders.h
+include/opal/opal/transports.h
+include/opal/rtp/jitter.h
+include/opal/rtp/metrics.h
+include/opal/rtp/pcapfile.h
+include/opal/rtp/rtp.h
+include/opal/rtp/srtp.h
+include/opal/rtp/zrtpudp.h
+include/opal/sip/handlers.h
+include/opal/sip/sdp.h
+include/opal/sip/sip.h
+include/opal/sip/sipcon.h
+include/opal/sip/sipep.h
+include/opal/sip/sippdu.h
+include/opal/sip/sippres.h
+include/opal/t120/h323t120.h
+include/opal/t120/t120proto.h
+include/opal/t120/x224.h
+include/opal/t38/h323t38.h
+include/opal/t38/sipt38.h
+include/opal/t38/t38proto.h
+include/opal/zrtp/opalzrtp.h
+include/opal/zrtp/zrtpeventproc.h
+lib/libopal.so
+lib/libopal.so.${PKGVERSION}
+lib/libopal_s.a
+lib/${PKGNAME}/codecs/audio/g7221_ptplugin.so
+lib/${PKGNAME}/codecs/audio/g7222_ptplugin.so
+lib/${PKGNAME}/codecs/audio/g722_ptplugin.so
+lib/${PKGNAME}/codecs/audio/g726_ptplugin.so
+lib/${PKGNAME}/codecs/audio/gsm0610_ptplugin.so
+lib/${PKGNAME}/codecs/audio/gsmamrcodec_ptplugin.so
+lib/${PKGNAME}/codecs/audio/iLBC_ptplugin.so
+lib/${PKGNAME}/codecs/audio/ima_adpcm_ptplugin.so
+lib/${PKGNAME}/codecs/audio/lpc10_ptplugin.so
+lib/${PKGNAME}/codecs/audio/silk_ptplugin.so
+lib/${PKGNAME}/codecs/audio/speex_ptplugin.so
+lib/${PKGNAME}/codecs/video/h261_vic_ptplugin.so
+lib/${PKGNAME}/codecs/video/h263_ffmpeg_ptplugin.so
+lib/${PKGNAME}/codecs/video/h264_video_pwplugin_helper
+lib/${PKGNAME}/codecs/video/h264_x264_ptplugin.so
+lib/${PKGNAME}/codecs/video/mpeg4_ffmpeg_ptplugin.so
+lib/${PKGNAME}/codecs/video/theora_ptplugin.so
+lib/pkgconfig/opal.pc
+share/opal/opal_inc.mak
+share/opal/version.h
diff --git a/opal/buildlink3.mk b/opal/buildlink3.mk
new file mode 100644
index 0000000..512db47
--- /dev/null
+++ b/opal/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.12 2016/03/05 11:27:46 jperkin Exp $
+
+BUILDLINK_TREE+= opal
+
+.if !defined(OPAL_BUILDLINK3_MK)
+OPAL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.opal+= opal>=3.6.1
+BUILDLINK_ABI_DEPENDS.opal+= opal>=3.6.6nb12
+BUILDLINK_PKGSRCDIR.opal?= ../../wip/opal
+
+.include "../../audio/speex/buildlink3.mk"
+.include "../../wip/ptlib/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.endif # OPAL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -opal
diff --git a/opal/distinfo b/opal/distinfo
new file mode 100644
index 0000000..4dc76b7
--- /dev/null
+++ b/opal/distinfo
@@ -0,0 +1,18 @@
+$NetBSD: distinfo,v 1.15 2015/11/03 03:27:53 agc Exp $
+
+SHA1 (opal-3.10.10.tar.xz) = 51cddcee0bdfe61dd0025ff6548d18e6aa0c255e
+RMD160 (opal-3.10.10.tar.xz) = a6580ebd8d711cc9b8e3ef79c4335b40efb8c9b2
+SHA512 (opal-3.10.10.tar.xz) = b72a058e001b5bf69de64467e6fc90280ec83bf31f46fa9f504e921b4702450f8732c7df333b9677e04cf1d33d27efbe22056211da94b879e013f5d7bcaa8465
+Size (opal-3.10.10.tar.xz) = 5886812 bytes
+SHA1 (patch-configure) = b0657673420a0d29a88196f65a16935eb104a680
+SHA1 (patch-plugins_configure) = ce9e268891bcbb4b341ca29e75ee141cf2518e0b
+SHA1 (patch-plugins_video_H.263-1998_Makefile.in) = 0bc7bb4ac14f731b18b25e4e0d761d41906e7b2a
+SHA1 (patch-plugins_video_H.263-1998_h263-1993.cxx) = 4a1ec9345c56e6959c0756a6b4b4389dbf4f1bb1
+SHA1 (patch-plugins_video_H.263-1998_h263-1998.h) = 9f899635f4e1f48d48b4798f2e0c3e0b2b02c3be
+SHA1 (patch-plugins_video_H.263-1998_rfc2429.cxx) = e923d8a48d0a1e72b1afb20fe8fea1baf82ce10e
+SHA1 (patch-plugins_video_H.264_h264-x264.cxx) = 85c66bc0d2935dc1a32c8f6d9a3f314105d56bbd
+SHA1 (patch-plugins_video_MPEG4-ffmpeg_Makefile.in) = 94150226fff12033433939c5b255bcf689edd9fc
+SHA1 (patch-plugins_video_MPEG4-ffmpeg_mpeg4.cxx) = 09de4fe772c6b84cfbf0c0b5f860928c73c73d34
+SHA1 (patch-plugins_video_common_dyna.cxx) = c735e23b0658b82933972ed2314924738c5121d9
+SHA1 (patch-plugins_video_common_dyna.h) = bd5256e83f37b5b4d5b19dd8caf97f0f1a45c387
+SHA1 (patch-plugins_video_common_ffmpeg.h) = dce56d86afdde709e180aa94ce552df51a84e6de
diff --git a/opal/patches/patch-configure b/opal/patches/patch-configure
new file mode 100644
index 0000000..02a940c
--- /dev/null
+++ b/opal/patches/patch-configure
@@ -0,0 +1,29 @@
+$NetBSD: patch-configure,v 1.2 2012/04/20 07:24:39 dholland Exp $
+
+- dragonfly support
+
+- ignore result of opal_speexdsp_float test as it is not robust.
+AFAICT in pkgsrc it should always produce "no", but it doesn't always,
+and this leads to build failure later.
+
+
+--- configure.orig 2013-02-20 02:18:59.000000000 +0000
++++ configure
+@@ -5591,7 +5591,7 @@ case "$OSTYPE" in
+ HAVE_RANLIB=yes
+ ;;
+
+- *BSD )
++ *BSD|DragonFly )
+ SHAREDLIBEXT=so
+ SHARED_CFLAGS="-fPIC"
+
+@@ -7272,7 +7272,7 @@ $as_echo_n "checking Speex has float...
+ $as_echo "$opal_speexdsp_float" >&6; }
+
+
+- if test $opal_speexdsp_float = yes; then :
++ if false && test $opal_speexdsp_float = yes; then :
+
+ $as_echo "#define OPAL_SPEEX_FLOAT_NOISE 1" >>confdefs.h
+
diff --git a/opal/patches/patch-plugins_configure b/opal/patches/patch-plugins_configure
new file mode 100644
index 0000000..45a6f13
--- /dev/null
+++ b/opal/patches/patch-plugins_configure
@@ -0,0 +1,13 @@
+$NetBSD: patch-plugins_configure,v 1.1 2011/12/04 22:06:04 marino Exp $
+
+--- plugins/configure.orig 2013-02-20 02:18:10.000000000 +0000
++++ plugins/configure
+@@ -7000,7 +7000,7 @@ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+- #include <gsm/gsm.h>
++ #include <gsm.h>
+
+ int
+ main ()
diff --git a/opal/patches/patch-plugins_video_H.263-1998_Makefile.in b/opal/patches/patch-plugins_video_H.263-1998_Makefile.in
new file mode 100644
index 0000000..cd68243
--- /dev/null
+++ b/opal/patches/patch-plugins_video_H.263-1998_Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- plugins/video/H.263-1998/Makefile.in.orig 2013-02-20 02:18:03.000000000 +0000
++++ plugins/video/H.263-1998/Makefile.in
+@@ -35,7 +35,7 @@ SRCS := h263-1998.cxx \
+ $(COMMONDIR)/dyna.cxx
+
+ CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR)
+-LIBS += @DL_LIBS@
++LIBS += @DL_LIBS@ @LIBAVUTIL_LIBS@
+
+ HAVE_LIBAVCODEC_RTP_MODE=@HAVE_LIBAVCODEC_RTP_MODE@
+ ifeq ($(HAVE_LIBAVCODEC_RTP_MODE),yes)
diff --git a/opal/patches/patch-plugins_video_H.263-1998_h263-1993.cxx b/opal/patches/patch-plugins_video_H.263-1998_h263-1993.cxx
new file mode 100644
index 0000000..db8e444
--- /dev/null
+++ b/opal/patches/patch-plugins_video_H.263-1998_h263-1993.cxx
@@ -0,0 +1,197 @@
+$NetBSD: patch-plugins_video_H.263-1998_h263-1993.cxx,v 1.2 2013/01/19 20:29:24 riastradh Exp $
+
+--- plugins/video/H.263-1998/h263-1998.cxx.orig 2013-02-20 02:18:03.000000000 +0000
++++ plugins/video/H.263-1998/h263-1998.cxx
+@@ -48,6 +48,10 @@
+ #endif
+
+ #include "h263-1998.h"
++extern "C"
++{
++#include <libavutil/opt.h>
++}
+ #include <limits>
+ #include <iomanip>
+ #include <stdio.h>
+@@ -94,7 +98,7 @@ static struct StdSizes {
+ { CIF16_WIDTH, CIF16_HEIGHT, PLUGINCODEC_CIF16_MPI },
+ };
+
+-static FFMPEGLibrary FFMPEGLibraryInstance(CODEC_ID_H263P);
++static FFMPEGLibrary FFMPEGLibraryInstance(AV_CODEC_ID_H263P);
+
+
+ /////////////////////////////////////////////////////////////////////////////
+@@ -203,7 +207,7 @@ H263_Base_EncoderContext::~H263_Base_Enc
+ PTRACE(4, m_prefix, "Encoder closed");
+ }
+
+-bool H263_Base_EncoderContext::Init(CodecID codecId)
++bool H263_Base_EncoderContext::Init(AVCodecID codecId)
+ {
+ PTRACE(5, m_prefix, "Opening encoder");
+
+@@ -230,11 +234,10 @@ bool H263_Base_EncoderContext::Init(Code
+
+ m_context->opaque = this;
+
+- m_context->flags = CODEC_FLAG_EMU_EDGE // don't draw edges
+- | CODEC_FLAG_TRUNCATED // Possible missing packets
++ m_context->flags = CODEC_FLAG_TRUNCATED // Possible missing packets
+ ;
+
+- m_context->pix_fmt = PIX_FMT_YUV420P;
++ m_context->pix_fmt = AV_PIX_FMT_YUV420P;
+ m_context->gop_size = H263_KEY_FRAME_INTERVAL;
+
+ // X-Lite does not like Custom Picture frequency clocks... stick to 29.97Hz
+@@ -317,9 +320,9 @@ void H263_Base_EncoderContext::SetOption
+ // Level 2+
+ // works with eyeBeam, signaled via non-standard "D"
+ if (atoi(value) == 1)
+- m_context->flags |= CODEC_FLAG_H263P_UMV;
++ av_opt_set_int(m_context->priv_data, "umv", 1, 0);
+ else
+- m_context->flags &= ~CODEC_FLAG_H263P_UMV;
++ av_opt_set_int(m_context->priv_data, "umv", 0, 0);
+ return;
+ }
+
+@@ -328,9 +331,9 @@ void H263_Base_EncoderContext::SetOption
+ // Annex F: Advanced Prediction Mode
+ // does not work with eyeBeam
+ if (atoi(value) == 1)
+- m_context->flags |= CODEC_FLAG_OBMC;
++ av_opt_set_int(m_context->priv_data, "obmc", 1, 0);
+ else
+- m_context->flags &= ~CODEC_FLAG_OBMC;
++ av_opt_set_int(m_context->priv_data, "obmc", 0, 0);
+ return;
+ }
+ #endif
+@@ -340,9 +343,9 @@ void H263_Base_EncoderContext::SetOption
+ // Level 3+
+ // works with eyeBeam
+ if (atoi(value) == 1)
+- m_context->flags |= CODEC_FLAG_AC_PRED;
++ av_opt_set_int(m_context->priv_data, "structured_slices", 1, 0);
+ else
+- m_context->flags &= ~CODEC_FLAG_AC_PRED;
++ av_opt_set_int(m_context->priv_data, "structured_slices", 0, 0);
+ return;
+ }
+
+@@ -360,9 +363,9 @@ void H263_Base_EncoderContext::SetOption
+ // Annex K: Slice Structure
+ // does not work with eyeBeam
+ if (atoi(value) != 0)
+- m_context->flags |= CODEC_FLAG_H263P_SLICE_STRUCT;
++ av_opt_set_int(m_context->priv_data, "structured_slices", 1, 0);
+ else
+- m_context->flags &= ~CODEC_FLAG_H263P_SLICE_STRUCT;
++ av_opt_set_int(m_context->priv_data, "structured_slices", 0, 0);
+ return;
+ }
+
+@@ -370,9 +373,9 @@ void H263_Base_EncoderContext::SetOption
+ // Annex S: Alternative INTER VLC mode
+ // does not work with eyeBeam
+ if (atoi(value) == 1)
+- m_context->flags |= CODEC_FLAG_H263P_AIV;
++ av_opt_set_int(m_context->priv_data, "aiv", 1, 0);
+ else
+- m_context->flags &= ~CODEC_FLAG_H263P_AIV;
++ av_opt_set_int(m_context->priv_data, "aiv", 0, 0);
+ return;
+ }
+
+@@ -434,9 +437,6 @@ bool H263_Base_EncoderContext::OpenCodec
+ m_inputFrame->data[1] = m_inputFrame->data[0] + planeSize;
+ m_inputFrame->data[2] = m_inputFrame->data[1] + (planeSize / 4);
+
+- if (m_context->width > 352)
+- m_context->flags &= ~CODEC_FLAG_EMU_EDGE; // Totally bizarre! FFMPEG crashes if on for CIF4
+-
+ // Dump info
+ PTRACE(5, m_prefix, "Size is " << m_context->width << "x" << m_context->height);
+ PTRACE(5, m_prefix, "GOP is " << m_context->gop_size);
+@@ -450,16 +450,7 @@ bool H263_Base_EncoderContext::OpenCodec
+ PTRACE(5, m_prefix, "qmax set to " << m_context->qmax);
+ PTRACE(5, m_prefix, "payload size set to " << m_context->rtp_payload_size);
+
+- #define CODEC_TRACER_FLAG(tracer, flag) \
+- PTRACE(4, m_prefix, #flag " is " << ((m_context->flags & flag) ? "enabled" : "disabled"));
+- CODEC_TRACER_FLAG(tracer, CODEC_FLAG_H263P_UMV);
+- CODEC_TRACER_FLAG(tracer, CODEC_FLAG_OBMC);
+- CODEC_TRACER_FLAG(tracer, CODEC_FLAG_AC_PRED);
+- CODEC_TRACER_FLAG(tracer, CODEC_FLAG_H263P_SLICE_STRUCT)
+- CODEC_TRACER_FLAG(tracer, CODEC_FLAG_LOOP_FILTER);
+- CODEC_TRACER_FLAG(tracer, CODEC_FLAG_H263P_AIV);
+-
+- return FFMPEGLibraryInstance.AvcodecOpen(m_context, m_codec) == 0;
++ return FFMPEGLibraryInstance.AvcodecOpen(m_context, m_codec, NULL) == 0;
+ }
+
+ void H263_Base_EncoderContext::CloseCodec()
+@@ -521,7 +512,7 @@ bool H263_Base_EncoderContext::EncodeFra
+
+ // Need to copy to local buffer to guarantee 16 byte alignment
+ memcpy(m_inputFrame->data[0], OPAL_VIDEO_FRAME_DATA_PTR(header), header->width*header->height*3/2);
+- m_inputFrame->pict_type = (flags & PluginCodec_CoderForceIFrame) ? FF_I_TYPE : AV_PICTURE_TYPE_NONE;
++ m_inputFrame->pict_type = (flags & PluginCodec_CoderForceIFrame) ? AV_PICTURE_TYPE_I : AV_PICTURE_TYPE_NONE;
+
+ /*
+ m_inputFrame->pts = (int64_t)srcRTP.GetTimestamp()*m_context->time_base.den/m_context->time_base.num/VIDEO_CLOCKRATE;
+@@ -592,7 +583,7 @@ void H263_RFC2190_EncoderContext::RTPCal
+
+ bool H263_RFC2190_EncoderContext::Init()
+ {
+- if (!H263_Base_EncoderContext::Init(CODEC_ID_H263))
++ if (!H263_Base_EncoderContext::Init(AV_CODEC_ID_H263))
+ return false;
+
+ #if LIBAVCODEC_RTP_MODE
+@@ -603,13 +594,13 @@ bool H263_RFC2190_EncoderContext::Init()
+ m_context->rtp_callback = &H263_RFC2190_EncoderContext::RTPCallBack;
+ m_context->opaque = this; // used to separate out packets from different encode threads
+
+- m_context->flags &= ~CODEC_FLAG_H263P_UMV;
++ av_opt_set_int(m_context->priv_data, "umv", 0, 0);
+ m_context->flags &= ~CODEC_FLAG_4MV;
+ #if LIBAVCODEC_RTP_MODE
+ m_context->flags &= ~CODEC_FLAG_H263P_AIC;
+ #endif
+- m_context->flags &= ~CODEC_FLAG_H263P_AIV;
+- m_context->flags &= ~CODEC_FLAG_H263P_SLICE_STRUCT;
++ av_opt_set_int(m_context->priv_data, "aiv", 0, 0);
++ av_opt_set_int(m_context->priv_data, "structured_slices", 0, 0);
+
+ return true;
+ }
+@@ -629,7 +620,7 @@ H263_RFC2429_EncoderContext::~H263_RFC24
+
+ bool H263_RFC2429_EncoderContext::Init()
+ {
+- return H263_Base_EncoderContext::Init(CODEC_ID_H263P);
++ return H263_Base_EncoderContext::Init(AV_CODEC_ID_H263P);
+ }
+
+
+@@ -653,7 +644,7 @@ H263_Base_DecoderContext::H263_Base_Deco
+ if (!FFMPEGLibraryInstance.Load())
+ return;
+
+- if ((m_codec = FFMPEGLibraryInstance.AvcodecFindDecoder(CODEC_ID_H263)) == NULL) {
++ if ((m_codec = FFMPEGLibraryInstance.AvcodecFindDecoder(AV_CODEC_ID_H263)) == NULL) {
+ PTRACE(1, m_prefix, "Codec not found for decoder");
+ return;
+ }
+@@ -704,7 +695,7 @@ bool H263_Base_DecoderContext::OpenCodec
+ return 0;
+ }
+
+- if (FFMPEGLibraryInstance.AvcodecOpen(m_context, m_codec) < 0) {
++ if (FFMPEGLibraryInstance.AvcodecOpen(m_context, m_codec, NULL) < 0) {
+ PTRACE(1, m_prefix, "Failed to open H.263 decoder");
+ return false;
+ }
diff --git a/opal/patches/patch-plugins_video_H.263-1998_h263-1998.h b/opal/patches/patch-plugins_video_H.263-1998_h263-1998.h
new file mode 100644
index 0000000..217d5e1
--- /dev/null
+++ b/opal/patches/patch-plugins_video_H.263-1998_h263-1998.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- plugins/video/H.263-1998/h263-1998.h.orig 2013-02-20 02:18:03.000000000 +0000
++++ plugins/video/H.263-1998/h263-1998.h
+@@ -115,7 +115,7 @@ class H263_Base_EncoderContext
+ virtual ~H263_Base_EncoderContext();
+
+ virtual bool Init() = 0;
+- virtual bool Init(CodecID codecId);
++ virtual bool Init(AVCodecID codecId);
+
+ virtual bool SetOptions(const char * const * options);
+ virtual void SetOption(const char * option, const char * value);
diff --git a/opal/patches/patch-plugins_video_H.263-1998_rfc2429.cxx b/opal/patches/patch-plugins_video_H.263-1998_rfc2429.cxx
new file mode 100644
index 0000000..0297377
--- /dev/null
+++ b/opal/patches/patch-plugins_video_H.263-1998_rfc2429.cxx
@@ -0,0 +1,34 @@
+$NetBSD$
+
+--- plugins/video/H.263-1998/rfc2429.cxx.orig 2013-02-20 02:18:03.000000000 +0000
++++ plugins/video/H.263-1998/rfc2429.cxx
+@@ -418,7 +418,7 @@ size_t RFC2429Frame::parseHeader(uint8_t
+ bool PB = false;
+ bool CPM = false;
+ //bool PEI = false;
+- bool SS = false;
++ bool SS_ = false;
+ bool RPS = false;
+ bool PCF = false;
+ bool UMV = false;
+@@ -444,9 +444,9 @@ size_t RFC2429Frame::parseHeader(uint8_t
+ << " AP: " << headerBits.GetBits(1)
+ << " AIC: " << headerBits.GetBits(1)
+ << " DF: " << headerBits.GetBits(1));
+- SS = headerBits.GetBits(1);
++ SS_ = headerBits.GetBits(1);
+ RPS = headerBits.GetBits(1);
+- PTRACE(6, "H.263-RFC2429", "Header\tSS: " << SS
++ PTRACE(6, "H.263-RFC2429", "Header\tSS: " << SS_
+ << " RPS: " << RPS
+ << " ISD: " << headerBits.GetBits(1)
+ << " AIV: " << headerBits.GetBits(1)
+@@ -501,7 +501,7 @@ size_t RFC2429Frame::parseHeader(uint8_t
+ else
+ PTRACE(6, "H.263-RFC2429", "Header\tUUI: 0" << headerBits.GetBits(1));
+ }
+- if (SS) {
++ if (SS_) {
+ PTRACE(6, "H.263-RFC2429", "Header\tSSS:" << headerBits.GetBits(2));
+ }
+ }
diff --git a/opal/patches/patch-plugins_video_H.264_h264-x264.cxx b/opal/patches/patch-plugins_video_H.264_h264-x264.cxx
new file mode 100644
index 0000000..1226b06
--- /dev/null
+++ b/opal/patches/patch-plugins_video_H.264_h264-x264.cxx
@@ -0,0 +1,46 @@
+$NetBSD$
+
+--- plugins/video/H.264/h264-x264.cxx.orig 2013-02-20 02:18:02.000000000 +0000
++++ plugins/video/H.264/h264-x264.cxx
+@@ -41,4 +41,7 @@
+ #endif
+
++#define FF_IDCT_H264 11
++#define CODEC_FLAG2_SKIP_RD 0x00004000
++
+ #include <codec/opalplugin.hpp>
+
+@@ -105,5 +108,5 @@ static struct PluginCodec_information Li
+ ///////////////////////////////////////////////////////////////////////////////
+
+-FFMPEGLibrary FFMPEGLibraryInstance(CODEC_ID_H264);
++FFMPEGLibrary FFMPEGLibraryInstance(AV_CODEC_ID_H264);
+
+ PLUGINCODEC_CONTROL_LOG_FUNCTION_DEF
+@@ -1065,5 +1068,5 @@ class MyDecoder : public PluginCodec<MY_
+ be done in the normal C++ constructor. */
+
+- if ((m_codec = FFMPEGLibraryInstance.AvcodecFindDecoder(CODEC_ID_H264)) == NULL)
++ if ((m_codec = FFMPEGLibraryInstance.AvcodecFindDecoder(AV_CODEC_ID_H264)) == NULL)
+ return false;
+
+@@ -1072,11 +1075,7 @@ class MyDecoder : public PluginCodec<MY_
+
+ m_context->workaround_bugs = FF_BUG_AUTODETECT;
+- m_context->error_recognition = FF_ER_AGGRESSIVE;
+ m_context->idct_algo = FF_IDCT_H264;
+ m_context->error_concealment = FF_EC_GUESS_MVS | FF_EC_DEBLOCK;
+- m_context->flags = CODEC_FLAG_INPUT_PRESERVED | CODEC_FLAG_EMU_EDGE;
+- m_context->flags2 = CODEC_FLAG2_BRDO |
+- CODEC_FLAG2_MEMC_ONLY |
+- CODEC_FLAG2_DROP_FRAME_TIMECODE |
++ m_context->flags2 = CODEC_FLAG2_DROP_FRAME_TIMECODE |
+ CODEC_FLAG2_SKIP_RD |
+ CODEC_FLAG2_CHUNKS;
+@@ -1085,5 +1084,5 @@ class MyDecoder : public PluginCodec<MY_
+ return false;
+
+- if (FFMPEGLibraryInstance.AvcodecOpen(m_context, m_codec) < 0)
++ if (FFMPEGLibraryInstance.AvcodecOpen(m_context, m_codec, NULL) < 0)
+ return false;
+
diff --git a/opal/patches/patch-plugins_video_MPEG4-ffmpeg_Makefile.in b/opal/patches/patch-plugins_video_MPEG4-ffmpeg_Makefile.in
new file mode 100644
index 0000000..1a871fd
--- /dev/null
+++ b/opal/patches/patch-plugins_video_MPEG4-ffmpeg_Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- plugins/video/MPEG4-ffmpeg/Makefile.in.orig 2013-02-20 02:18:07.000000000 +0000
++++ plugins/video/MPEG4-ffmpeg/Makefile.in
+@@ -31,7 +31,7 @@ SRCDIR := .
+ SRCS := mpeg4.cxx $(COMMONDIR)/dyna.cxx
+
+ CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR)
+-LIBS += @DL_LIBS@
++LIBS += @DL_LIBS@ @LIBAVUTIL_LIBS@
+
+ # Add LIBAVCODEC_SOURCE_DIR to the include path so we can #include <libavcodec/...h>
+ # Also add libavutil, so ffmpeg headers can #include "log.h".
diff --git a/opal/patches/patch-plugins_video_MPEG4-ffmpeg_mpeg4.cxx b/opal/patches/patch-plugins_video_MPEG4-ffmpeg_mpeg4.cxx
new file mode 100644
index 0000000..f62b2d6
--- /dev/null
+++ b/opal/patches/patch-plugins_video_MPEG4-ffmpeg_mpeg4.cxx
@@ -0,0 +1,113 @@
+$NetBSD: patch-plugins_video_MPEG4-ffmpeg_mpeg4.cxx,v 1.1 2011/12/04 22:06:04 marino Exp $
+
+--- plugins/video/MPEG4-ffmpeg/mpeg4.cxx.orig 2013-02-20 02:18:07.000000000 +0000
++++ plugins/video/MPEG4-ffmpeg/mpeg4.cxx
+@@ -103,6 +103,7 @@ extern "C" {
+
+ #else /* LIBAVCODEC_HAVE_SOURCE_DIR */
+ #include "../common/ffmpeg.h"
++#include <libavutil/opt.h>
+ #endif /* LIBAVCODEC_HAVE_SOURCE_DIR */
+ }
+
+@@ -205,7 +206,7 @@ const static struct mpeg4_resolution {
+ { 0 }
+ };
+
+-FFMPEGLibrary FFMPEGLibraryInstance(CODEC_ID_MPEG4);
++FFMPEGLibrary FFMPEGLibraryInstance(AV_CODEC_ID_MPEG4);
+
+
+ static bool mpeg4IsIframe (BYTE * frameBuffer, unsigned int frameLen )
+@@ -539,7 +540,7 @@ void MPEG4EncoderContext::ResetBitCounte
+ //
+
+ void MPEG4EncoderContext::SetStaticEncodingParams(){
+- m_avcontext->pix_fmt = PIX_FMT_YUV420P;
++ m_avcontext->pix_fmt = AV_PIX_FMT_YUV420P;
+ m_avcontext->mb_decision = FF_MB_DECISION_SIMPLE; // high quality off
+ m_avcontext->rtp_payload_size = 750; // ffh263 uses 750
+ m_avcontext->rtp_callback = &MPEG4EncoderContext::RtpCallback;
+@@ -589,17 +590,16 @@ void MPEG4EncoderContext::SetStaticEncod
+ m_avpicture->quality = m_videoQMin;
+
+ #ifdef USE_ORIG
+- m_avcontext->flags |= CODEC_FLAG_PART; // data partitioning
++ av_opt_set_int(m_avcontext->priv_data, "data_partitionin", 1, 0);
+ m_avcontext->flags |= CODEC_FLAG_4MV; // 4 motion vectors
+ #else
+ m_avcontext->max_b_frames=0; /*don't use b frames*/
+ m_avcontext->flags|=CODEC_FLAG_AC_PRED;
+- m_avcontext->flags|=CODEC_FLAG_H263P_UMV;
++ av_opt_set_int(m_avcontext->priv_data, "umv", 1, 0);
+ /*c->flags|=CODEC_FLAG_QPEL;*/ /*don't enable this one: this forces profile_level to advanced simple profile */
+ m_avcontext->flags|=CODEC_FLAG_4MV;
+- m_avcontext->flags|=CODEC_FLAG_GMC;
+ m_avcontext->flags|=CODEC_FLAG_LOOP_FILTER;
+- m_avcontext->flags|=CODEC_FLAG_H263P_SLICE_STRUCT;
++ av_opt_set_int(m_avcontext->priv_data, "structured_slices", 1, 0);
+ #endif
+ m_avcontext->opaque = this; // for use in RTP callback
+ }
+@@ -703,7 +703,7 @@ bool MPEG4EncoderContext::OpenCodec()
+ return false;
+ }
+
+- if((m_avcodec = FFMPEGLibraryInstance.AvcodecFindEncoder(CODEC_ID_MPEG4)) == NULL){
++ if((m_avcodec = FFMPEGLibraryInstance.AvcodecFindEncoder(AV_CODEC_ID_MPEG4)) == NULL){
+ PTRACE(1, "MPEG4", "Encoder not found");
+ return false;
+ }
+@@ -713,13 +713,14 @@ bool MPEG4EncoderContext::OpenCodec()
+ if (PTRACE_CHECK(4)) {
+ m_avcontext->debug |= FF_DEBUG_RC;
+ m_avcontext->debug |= FF_DEBUG_PICT_INFO;
+- m_avcontext->debug |= FF_DEBUG_MV;
+ }
+ #endif
+
+ SetStaticEncodingParams();
+ SetDynamicEncodingParams(false); // don't force a restart, it's not open
+- if (FFMPEGLibraryInstance.AvcodecOpen(m_avcontext, m_avcodec) < 0)
++ AVDictionary *opts = NULL;
++ av_dict_set_int(&opts, "gmc", 1, 0);
++ if (FFMPEGLibraryInstance.AvcodecOpen(m_avcontext, m_avcodec, &opts) < 0)
+ {
+ PTRACE(1, "MPEG4", "Encoder could not be opened");
+ return false;
+@@ -804,7 +805,7 @@ int MPEG4EncoderContext::EncodeFrames(co
+ // Should the next frame be an I-Frame?
+ if ((flags & PluginCodec_CoderForceIFrame) || (m_frameNum == 0))
+ {
+- m_avpicture->pict_type = FF_I_TYPE;
++ m_avpicture->pict_type = AV_PICTURE_TYPE_I;
+ }
+ else // No IFrame requested, let avcodec decide what to do
+ {
+@@ -1325,7 +1326,7 @@ void MPEG4DecoderContext::SetFrameHeight
+
+ void MPEG4DecoderContext::SetStaticDecodingParams() {
+ m_avcontext->flags |= CODEC_FLAG_4MV;
+- m_avcontext->flags |= CODEC_FLAG_PART;
++ av_opt_set_int(m_avcontext->priv_data, "data_partitionin", 1, 0);
+ m_avcontext->workaround_bugs = 0; // no workaround for buggy implementations
+ }
+
+@@ -1394,7 +1395,7 @@ void MPEG4DecoderContext::ResizeDecoding
+
+ bool MPEG4DecoderContext::OpenCodec()
+ {
+- if ((m_avcodec = FFMPEGLibraryInstance.AvcodecFindDecoder(CODEC_ID_MPEG4)) == NULL) {
++ if ((m_avcodec = FFMPEGLibraryInstance.AvcodecFindDecoder(AV_CODEC_ID_MPEG4)) == NULL) {
+ PTRACE(1, "MPEG4", "Decoder not found for encoder");
+ return false;
+ }
+@@ -1415,7 +1416,7 @@ bool MPEG4DecoderContext::OpenCodec()
+
+ SetStaticDecodingParams();
+ SetDynamicDecodingParams(false); // don't force a restart, it's not open
+- if (FFMPEGLibraryInstance.AvcodecOpen(m_avcontext, m_avcodec) < 0) {
++ if (FFMPEGLibraryInstance.AvcodecOpen(m_avcontext, m_avcodec, NULL) < 0) {
+ PTRACE(1, "MPEG4", "Decoder failed to open");
+ return false;
+ }
diff --git a/opal/patches/patch-plugins_video_common_dyna.cxx b/opal/patches/patch-plugins_video_common_dyna.cxx
new file mode 100644
index 0000000..287a153
--- /dev/null
+++ b/opal/patches/patch-plugins_video_common_dyna.cxx
@@ -0,0 +1,47 @@
+$NetBSD: patch-plugins_video_common_dyna.cxx,v 1.1 2011/12/04 22:06:04 marino Exp $
+
+--- plugins/video/common/dyna.cxx.orig 2013-02-20 02:18:05.000000000 +0000
++++ plugins/video/common/dyna.cxx
+@@ -210,14 +210,14 @@ static void logCallbackFFMPEG(void * avc
+ #endif
+
+
+-FFMPEGLibrary::FFMPEGLibrary(CodecID codec)
++FFMPEGLibrary::FFMPEGLibrary(AVCodecID codec)
+ {
+ m_codec = codec;
+- if (m_codec==CODEC_ID_H264)
++ if (m_codec==AV_CODEC_ID_H264)
+ snprintf( m_codecString, sizeof(m_codecString), "H264");
+- if (m_codec==CODEC_ID_H263P)
++ if (m_codec==AV_CODEC_ID_H263P)
+ snprintf( m_codecString, sizeof(m_codecString), "H263+");
+- if (m_codec==CODEC_ID_MPEG4)
++ if (m_codec==AV_CODEC_ID_MPEG4)
+ snprintf( m_codecString, sizeof(m_codecString), "MPEG4");
+ m_isLoadedOK = false;
+ }
+@@ -348,12 +348,12 @@ bool FFMPEGLibrary::Load()
+ return true;
+ }
+
+-AVCodec *FFMPEGLibrary::AvcodecFindEncoder(enum CodecID id)
++AVCodec *FFMPEGLibrary::AvcodecFindEncoder(enum AVCodecID id)
+ {
+ return Favcodec_find_encoder(id);
+ }
+
+-AVCodec *FFMPEGLibrary::AvcodecFindDecoder(enum CodecID id)
++AVCodec *FFMPEGLibrary::AvcodecFindDecoder(enum AVCodecID id)
+ {
+ WaitAndSignal m(processLock);
+
+@@ -374,7 +374,7 @@ AVFrame *FFMPEGLibrary::AvcodecAllocFram
+ return Favcodec_alloc_frame();
+ }
+
+-int FFMPEGLibrary::AvcodecOpen(AVCodecContext *ctx, AVCodec *codec)
++int FFMPEGLibrary::AvcodecOpen(AVCodecContext *ctx, AVCodec *codec, AVDictionary **options)
+ {
+ WaitAndSignal m(processLock);
+
diff --git a/opal/patches/patch-plugins_video_common_dyna.h b/opal/patches/patch-plugins_video_common_dyna.h
new file mode 100644
index 0000000..cf5c833
--- /dev/null
+++ b/opal/patches/patch-plugins_video_common_dyna.h
@@ -0,0 +1,44 @@
+$NetBSD$
+
+--- plugins/video/common/dyna.h.orig 2013-02-20 02:18:05.000000000 +0000
++++ plugins/video/common/dyna.h
+@@ -88,16 +88,16 @@ class DynaLink
+ class FFMPEGLibrary
+ {
+ public:
+- FFMPEGLibrary(CodecID codec);
++ FFMPEGLibrary(AVCodecID codec);
+ ~FFMPEGLibrary();
+
+ bool Load();
+
+- AVCodec *AvcodecFindEncoder(enum CodecID id);
+- AVCodec *AvcodecFindDecoder(enum CodecID id);
++ AVCodec *AvcodecFindEncoder(enum AVCodecID id);
++ AVCodec *AvcodecFindDecoder(enum AVCodecID id);
+ AVCodecContext *AvcodecAllocContext(void);
+ AVFrame *AvcodecAllocFrame(void);
+- int AvcodecOpen(AVCodecContext *ctx, AVCodec *codec);
++ int AvcodecOpen(AVCodecContext *ctx, AVCodec *codec, AVDictionary **options);
+ int AvcodecClose(AVCodecContext *ctx);
+ int AvcodecEncodeVideo(AVCodecContext *ctx, BYTE *buf, int buf_size, const AVFrame *pict);
+ int AvcodecDecodeVideo(AVCodecContext *ctx, AVFrame *pict, int *got_picture_ptr, BYTE *buf, int buf_size);
+@@ -117,15 +117,15 @@ class FFMPEGLibrary
+ DynaLink m_libAvcodec;
+ DynaLink m_libAvutil;
+
+- CodecID m_codec;
++ AVCodecID m_codec;
+ char m_codecString[32];
+
+ void (*Favcodec_init)(void);
+ void (*Fav_init_packet)(AVPacket *pkt);
+
+ void (*Favcodec_register_all)(void);
+- AVCodec *(*Favcodec_find_encoder)(enum CodecID id);
+- AVCodec *(*Favcodec_find_decoder)(enum CodecID id);
++ AVCodec *(*Favcodec_find_encoder)(enum AVCodecID id);
++ AVCodec *(*Favcodec_find_decoder)(enum AVCodecID id);
+ AVCodecContext *(*Favcodec_alloc_context)(void);
+ AVFrame *(*Favcodec_alloc_frame)(void);
+ int (*Favcodec_open)(AVCodecContext *ctx, AVCodec *codec);
diff --git a/opal/patches/patch-plugins_video_common_ffmpeg.h b/opal/patches/patch-plugins_video_common_ffmpeg.h
new file mode 100644
index 0000000..e6a929c
--- /dev/null
+++ b/opal/patches/patch-plugins_video_common_ffmpeg.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- plugins/video/common/ffmpeg.h.orig 2013-02-20 02:18:05.000000000 +0000
++++ plugins/video/common/ffmpeg.h
+@@ -46,6 +46,7 @@
+ #include "platform.h"
+
+ #include "libavcodec/avcodec.h"
++#include "libavutil/imgutils.h"
+ // AVPacket was declared in avformat.h before April 2009
+ #if LIBAVCODEC_VERSION_INT <= AV_VERSION_INT(52, 25, 0)
+ #include "libavformat/avformat.h"
diff --git a/ptlib/DESCR b/ptlib/DESCR
new file mode 100644
index 0000000..b2965b3
--- /dev/null
+++ b/ptlib/DESCR
@@ -0,0 +1,4 @@
+PTLib is a multi-platform C++ class library. Programs based on PTLib can run
+on both Microsoft Windows and Unix/Linux. The library contains both the
+"basic" classes (strings, arrays, lists) and the higher-level functionality
+(networking, multi-threading).
diff --git a/ptlib/Makefile b/ptlib/Makefile
new file mode 100644
index 0000000..08e580b
--- /dev/null
+++ b/ptlib/Makefile
@@ -0,0 +1,62 @@
+# $NetBSD: Makefile,v 1.27 2016/03/05 11:27:46 jperkin Exp $
+
+DISTNAME= ptlib-2.10.11
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/ptlib/2.10/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= darcy%NetBSD.org@localhost
+HOMEPAGE= http://www.ekiga.net/
+COMMENT= Portable Windows Libary
+# modified-bsd stands for Spencer's regex license, quite similar
+LICENSE= mpl-1.0 AND modified-bsd
+
+CONFLICTS+= pwlib-[0-9]*
+
+USE_TOOLS+= bison flex gmake pkg-config
+BUILD_TARGET= optshared
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-httpforms
+CONFIGURE_ARGS+= --enable-httpsvc
+CONFIGURE_ARGS+= --enable-plugins
+CONFIGURE_ARGS+= --enable-jabber
+CONFIGURE_ARGS+= --enable-vxml
+CONFIGURE_ARGS+= --enable-xmlrpc
+CONFIGURE_ARGS+= --enable-soap
+CONFIGURE_ARGS+= --enable-oss
+CONFIGURE_ARGS+= --enable-opal
+CONFIGURE_ARGS+= --enable-openldap
+#CONFIGURE_ARGS+= --enable-openssl
+CONFIGURE_ARGS+= --enable-expat
+#CONFIGURE_ARGS+= --enable-samples
+CONFIGURE_ARGS+= --disable-bsdvideo
+CONFIGURE_ARGS+= --disable-sunaudio
+CONFIGURE_ARGS+= --disable-alsa
+CONFIGURE_ARGS+= --disable-avc
+CONFIGURE_ARGS+= --disable-dc
+CONFIGURE_ARGS+= --disable-pulse
+PTHREAD_OPTS+= require
+
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+= video4l2
+
+.if ${OPSYS} != "DragonFly"
+CONFIGURE_ARGS+= --enable-v4l2
+PLIST.video4l2= yes
+.endif
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/version.h ${DESTDIR}${PREFIX}/share/ptlib
+
+.include "../../databases/openldap-client/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/libv4l/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../lang/lua/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ptlib/PLIST b/ptlib/PLIST
new file mode 100644
index 0000000..553a09e
--- /dev/null
+++ b/ptlib/PLIST
@@ -0,0 +1,179 @@
+@comment $NetBSD: PLIST,v 1.11 2012/10/13 22:43:23 darcy Exp $
+bin/ptlib-config
+include/ptbuildopts.h
+include/ptclib/asnber.h
+include/ptclib/asner.h
+include/ptclib/asnper.h
+include/ptclib/asnxer.h
+include/ptclib/cli.h
+include/ptclib/cypher.h
+include/ptclib/delaychan.h
+include/ptclib/dtmf.h
+include/ptclib/enum.h
+include/ptclib/ftp.h
+include/ptclib/guid.h
+include/ptclib/html.h
+include/ptclib/http.h
+include/ptclib/httpform.h
+include/ptclib/httpsvc.h
+include/ptclib/inetmail.h
+include/ptclib/inetprot.h
+include/ptclib/ipacl.h
+include/ptclib/lua.h
+include/ptclib/memfile.h
+include/ptclib/mime.h
+include/ptclib/modem.h
+include/ptclib/paec.h
+include/ptclib/pasn.h
+include/ptclib/pdns.h
+include/ptclib/pffvdev.h
+include/ptclib/pils.h
+include/ptclib/pldap.h
+include/ptclib/pnat.h
+include/ptclib/podbc.h
+include/ptclib/psasl.h
+include/ptclib/psnmp.h
+include/ptclib/psoap.h
+include/ptclib/psockbun.h
+include/ptclib/pssl.h
+include/ptclib/pstun.h
+include/ptclib/ptts.h
+include/ptclib/pvfiledev.h
+include/ptclib/pvidfile.h
+include/ptclib/pwavfile.h
+include/ptclib/pwavfiledev.h
+include/ptclib/pxml.h
+include/ptclib/pxmlrpc.h
+include/ptclib/pxmlrpcs.h
+include/ptclib/qchannel.h
+include/ptclib/random.h
+include/ptclib/rfc1155.h
+include/ptclib/shttpsvc.h
+include/ptclib/snmp.h
+include/ptclib/socks.h
+include/ptclib/telnet.h
+include/ptclib/threadpool.h
+include/ptclib/url.h
+include/ptclib/vcard.h
+include/ptclib/vsdl.h
+include/ptclib/vxml.h
+include/ptclib/xmpp.h
+include/ptclib/xmpp_c2s.h
+include/ptclib/xmpp_muc.h
+include/ptclib/xmpp_roster.h
+include/ptlib.h
+include/ptlib/MacMainIf.h
+include/ptlib/args.h
+include/ptlib/array.h
+include/ptlib/channel.h
+include/ptlib/conchan.h
+include/ptlib/config.h
+include/ptlib/contain.h
+include/ptlib/contain.inl
+include/ptlib/critsec.h
+include/ptlib/dict.h
+include/ptlib/dynalink.h
+include/ptlib/ethsock.h
+include/ptlib/file.h
+include/ptlib/filepath.h
+include/ptlib/icmpsock.h
+include/ptlib/indchan.h
+include/ptlib/int64.h
+include/ptlib/ipdsock.h
+include/ptlib/ipsock.h
+include/ptlib/lists.h
+include/ptlib/mail.h
+include/ptlib/mutex.h
+include/ptlib/notifier.h
+include/ptlib/notifier_ext.h
+include/ptlib/object.h
+include/ptlib/osutil.inl
+include/ptlib/pdirect.h
+include/ptlib/pfactory.h
+include/ptlib/pipechan.h
+include/ptlib/plugin.h
+include/ptlib/pluginmgr.h
+include/ptlib/pprocess.h
+include/ptlib/psharedptr.h
+include/ptlib/pstring.h
+include/ptlib/psync.h
+include/ptlib/ptime.h
+include/ptlib/qos.h
+include/ptlib/remconn.h
+include/ptlib/safecoll.h
+include/ptlib/semaphor.h
+include/ptlib/serchan.h
+include/ptlib/sfile.h
+include/ptlib/smartptr.h
+include/ptlib/socket.h
+include/ptlib/sockets.h
+include/ptlib/sound.h
+include/ptlib/svcproc.h
+include/ptlib/syncpoint.h
+include/ptlib/syncthrd.h
+include/ptlib/syslog.h
+include/ptlib/tcpsock.h
+include/ptlib/textfile.h
+include/ptlib/thread.h
+include/ptlib/timeint.h
+include/ptlib/timer.h
+include/ptlib/udpsock.h
+include/ptlib/unix/ptlib/beaudio.h
+include/ptlib/unix/ptlib/bevideo.h
+include/ptlib/unix/ptlib/channel.h
+include/ptlib/unix/ptlib/conchan.h
+include/ptlib/unix/ptlib/config.h
+include/ptlib/unix/ptlib/contain.h
+include/ptlib/unix/ptlib/critsec.h
+include/ptlib/unix/ptlib/dynalink.h
+include/ptlib/unix/ptlib/ethsock.h
+include/ptlib/unix/ptlib/file.h
+include/ptlib/unix/ptlib/filepath.h
+include/ptlib/unix/ptlib/icmpsock.h
+include/ptlib/unix/ptlib/ipdsock.h
+include/ptlib/unix/ptlib/ipsock.h
+include/ptlib/unix/ptlib/maccoreaudio.h
+include/ptlib/unix/ptlib/mail.h
+include/ptlib/unix/ptlib/mutex.h
+include/ptlib/unix/ptlib/pdirect.h
+include/ptlib/unix/ptlib/pipechan.h
+include/ptlib/unix/ptlib/pmachdep.h
+include/ptlib/unix/ptlib/pprocess.h
+include/ptlib/unix/ptlib/ptime.h
+include/ptlib/unix/ptlib/ptlib.inl
+include/ptlib/unix/ptlib/remconn.h
+include/ptlib/unix/ptlib/resampler.h
+include/ptlib/unix/ptlib/semaphor.h
+include/ptlib/unix/ptlib/serchan.h
+include/ptlib/unix/ptlib/sfile.h
+include/ptlib/unix/ptlib/shmvideo.h
+include/ptlib/unix/ptlib/socket.h
+include/ptlib/unix/ptlib/sound.h
+include/ptlib/unix/ptlib/svcproc.h
+include/ptlib/unix/ptlib/syncpoint.h
+include/ptlib/unix/ptlib/tcpsock.h
+include/ptlib/unix/ptlib/textfile.h
+include/ptlib/unix/ptlib/thread.h
+include/ptlib/unix/ptlib/timeint.h
+include/ptlib/unix/ptlib/timer.h
+include/ptlib/unix/ptlib/udpsock.h
+include/ptlib/unix/ptlib/video.h
+include/ptlib/vconvert.h
+include/ptlib/video.h
+include/ptlib/videoio.h
+include/ptlib/videoio1394dc.h
+include/ptlib/wxstring.h
+lib/libpt.so
+lib/libpt.so.${PKGVERSION}
+lib/libpt_s.a
+lib/pkgconfig/ptlib.pc
+lib/${PKGNAME}/devices/sound/oss_pwplugin.so
+lib/${PKGNAME}/devices/videoinput/v4l2_pwplugin.so
+share/ptlib/make/common.mak
+share/ptlib/make/lib.mak
+share/ptlib/make/plugins.mak
+share/ptlib/make/ptbuildopts.mak
+share/ptlib/make/ptlib-config
+share/ptlib/make/ptlib.mak
+share/ptlib/make/unix.mak
+share/ptlib/version.h
diff --git a/ptlib/buildlink3.mk b/ptlib/buildlink3.mk
new file mode 100644
index 0000000..dd5ec78
--- /dev/null
+++ b/ptlib/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.15 2016/03/05 11:27:46 jperkin Exp $
+
+BUILDLINK_TREE+= ptlib
+
+.if !defined(PTLIB_BUILDLINK3_MK)
+PTLIB_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ptlib+= ptlib>=2.6.1
+BUILDLINK_ABI_DEPENDS.ptlib+= ptlib>=2.10.7nb10
+BUILDLINK_PKGSRCDIR.ptlib?= ../../wip/ptlib
+
+PTLIB_CONFIG?= ${BUILDLINK_PREFIX.ptlib}/bin/ptlib-config
+CONFIGURE_ENV+= PTLIB_CONFIG=${PTLIB_CONFIG:Q}
+
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../databases/openldap-client/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.endif # PTLIB_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ptlib
diff --git a/ptlib/distinfo b/ptlib/distinfo
new file mode 100644
index 0000000..b42ffe8
--- /dev/null
+++ b/ptlib/distinfo
@@ -0,0 +1,30 @@
+$NetBSD: distinfo,v 1.20 2015/11/03 03:29:04 agc Exp $
+
+SHA1 (ptlib-2.10.11.tar.xz) = 870c58fb9e6959793ddf214c951a1a8ba1f6ac12
+RMD160 (ptlib-2.10.11.tar.xz) = e444715f7b2fce5e2ac78558adff621e36f2ab8b
+SHA512 (ptlib-2.10.11.tar.xz) = eefb1f9b69327518e3ad0678f189d5218529c5d2e60bd242af88736140e7feb1db09f11a7c768a2fb8f37ed74879464e0585ef9867add592f6d6a0cf92ca3655
+Size (ptlib-2.10.11.tar.xz) = 2465468 bytes
+SHA1 (patch-Nucleus-NucleusPTime.cxx) = b8f88355b6c74e8d8d318167fd38214fd2b2453f
+SHA1 (patch-configure) = d05e68485a9cd3190410e7f4beb14ac44050d2cb
+SHA1 (patch-configure.ac) = f319f4a183a6fc6c59693f516d9c68921625158b
+SHA1 (patch-include_ptbuildopts.h.in) = 2b7ba6a6dbbe9480880652de774afbff346ce635
+SHA1 (patch-include_ptclib_pldap.h) = ccb5b36a5afa7d1762e90eb9bfdb134066d2d84f
+SHA1 (patch-include_ptlib_critsec.h) = 519cee6e56d1e5a33b88237536ff4d921d7d5c44
+SHA1 (patch-include_ptlib_object.h) = 9ce0a2f333ab06ca17506481c2ae8b5b47441f85
+SHA1 (patch-include_ptlib_pmachdep.h) = 92dd7b693dc8d10ffaee7a22f8a3f3a1526e55c2
+SHA1 (patch-make_unix.mak) = 13d814a914b3bc4897a350f4393873b9b3a2b685
+SHA1 (patch-plugins_sound_esd_sound_esd.h) = 2c36497fa2b9f62144442e74eb9fd07e53ae07b8
+SHA1 (patch-plugins_sound_oss_sound_oss.cxx) = 50817861710a82e98ebb3b029d021619a09c1132
+SHA1 (patch-plugins_sound_oss_sound_oss.h) = ff48d7385a1e21d2bd896658d1ff8e39d737208b
+SHA1 (patch-plugins_vidinput_bsd_vidinput_bsd.h) = dd965232d9645cd12a866e597828bdf8da7cb389
+SHA1 (patch-src_ptclib_pldap.cxx) = 791f3a6efeee35efa44d311eb7077bb0bad441f0
+SHA1 (patch-src_ptlib_common_getdate.y) = 5ebd077d0552b8667d4bea3b59ed8daabeecd8a0
+SHA1 (patch-src_ptlib_unix_svcproc.cxx) = 0fbaa6a2bde07625b8b826b7134d6e1a946f686c
+SHA1 (patch-unix-config.cxx) = 6127f91bc04d7f008087ebdb9a2fbd1dbb41fd19
+SHA1 (patch-unix-ossaix.cxx) = 3e7a902eb4b73388db01bd53e6c30546c96fe78d
+SHA1 (patch-unix-osutil.cxx) = e907fc2c068f3e20af2f0e97540a1f4e47895a18
+SHA1 (patch-unix-pmachdep.h) = 0cc2d61fa624b60461fb45e1aebfd37d486be5c9
+SHA1 (patch-unix-serchan.cxx) = f77eb9839a84db91a16b72faafdc8d1499e78b31
+SHA1 (patch-unix-socket.cxx) = 80ff4d0bc67f4bf59e5bfd3e17e3b380f7774bbb
+SHA1 (patch-unix-switch.cxx) = 2c1bc4057a79b6b34651b299042876d2452a84b7
+SHA1 (patch-unix-tlib.cxx) = 1685b856cf0991168954f5951f93b9b9f1e08db2
diff --git a/ptlib/patches/patch-Nucleus-NucleusPTime.cxx b/ptlib/patches/patch-Nucleus-NucleusPTime.cxx
new file mode 100644
index 0000000..fe74022
--- /dev/null
+++ b/ptlib/patches/patch-Nucleus-NucleusPTime.cxx
@@ -0,0 +1,15 @@
+$NetBSD: patch-Nucleus-NucleusPTime.cxx,v 1.2 2012/12/01 15:28:03 darcy Exp $
+
+- Add Dragonfly support
+
+--- src/ptlib/Nucleus++/NucleusPTime.cxx.orig 2009-09-21 00:25:17.000000000 +0000
++++ src/ptlib/Nucleus++/NucleusPTime.cxx
+@@ -302,7 +302,7 @@ int PTime::GetTimeZone(PTime::TimeZoneTy
+ return tz;
+ else
+ return tz + ::daylight*60;
+-#elif defined(P_FREEBSD)
++#elif defined(P_FREEBSD) || defined(P_DRAGONFLY)
+ time_t t;
+ time(&t);
+ struct tm * tm = localtime(&t);
diff --git a/ptlib/patches/patch-configure b/ptlib/patches/patch-configure
new file mode 100644
index 0000000..a4f0943
--- /dev/null
+++ b/ptlib/patches/patch-configure
@@ -0,0 +1,124 @@
+$NetBSD: patch-configure,v 1.4 2012/10/13 00:49:38 darcy Exp $
+
+- Add DragonFly support
+
+--- configure.orig 2012-08-23 02:13:11.000000000 +0000
++++ configure
+@@ -4411,6 +4411,108 @@ fi
+
+ ;;
+
++ dragonfly*) OSTYPE=DragonFly ;
++ OS_TAG="P_DRAGONFLY" ;
++ if test "x$OSRELEASE" = "x"; then
++ OSRELEASE="`sysctl -n kern.osreldate`" ;
++ fi
++ need_pragma=yes ;
++
++cat >>confdefs.h <<\_ACEOF
++#define P_PTHREADS 1
++_ACEOF
++
++ { echo "$as_me:$LINENO: checking for swab" >&5
++echo $ECHO_N "checking for swab... $ECHO_C" >&6; }
++if test "${ac_cv_func_swab+set}" = set; then
++ echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++ cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h. */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h. */
++/* Define swab to an innocuous variant, in case <limits.h> declares swab.
++ For example, HP-UX 11i <limits.h> declares gettimeofday. */
++#define swab innocuous_swab
++
++/* System header to define __stub macros and hopefully few prototypes,
++ which can conflict with char swab (); below.
++ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++ <limits.h> exists even on freestanding compilers. */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef swab
++
++/* Override any GCC internal prototype to avoid an error.
++ Use char because int might match the return type of a GCC
++ builtin and then its argument prototype would still apply. */
++#ifdef __cplusplus
++extern "C"
++#endif
++char swab ();
++/* The GNU C library defines this for functions which it implements
++ to always fail with ENOSYS. Some functions are actually named
++ something starting with __ and the normal name is an alias. */
++#if defined __stub_swab || defined __stub___swab
++choke me
++#endif
++
++int
++main ()
++{
++return swab ();
++ ;
++ return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (ac_try="$ac_link"
++case "(($ac_try" in
++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
++ *) ac_try_echo=$ac_try;;
++esac
++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
++ (eval "$ac_link") 2>conftest.er1
++ ac_status=$?
++ grep -v '^ *+' conftest.er1 >conftest.err
++ rm -f conftest.er1
++ cat conftest.err >&5
++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
++ (exit $ac_status); } && {
++ test -z "$ac_cxx_werror_flag" ||
++ test ! -s conftest.err
++ } && test -s conftest$ac_exeext &&
++ $as_test_x conftest$ac_exeext; then
++ ac_cv_func_swab=yes
++else
++ echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ ac_cv_func_swab=no
++fi
++
++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
++ conftest$ac_exeext conftest.$ac_ext
++fi
++{ echo "$as_me:$LINENO: result: $ac_cv_func_swab" >&5
++echo "${ECHO_T}$ac_cv_func_swab" >&6; }
++if test $ac_cv_func_swab = yes; then
++
++cat >>confdefs.h <<\_ACEOF
++#define USE_SYSTEM_SWAB
++_ACEOF
++
++fi
++
++ ;;
++
+ freebsd*|kfreebsd*) OSTYPE=FreeBSD ;
+ OS_TAG="P_FREEBSD" ;
+ if test "x$OSRELEASE" = "x"; then
+@@ -6806,7 +6908,7 @@ $as_echo "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ $as_echo "yes" >&6; }
+ case "$target_os" in
+- freebsd*|openbsd*|netbsd*|darwin*|beos*)
++ dragonfly*|freebsd*|openbsd*|netbsd*|darwin*|beos*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5
+ $as_echo_n "checking for dlopen in -lc... " >&6; }
+ if ${ac_cv_lib_c_dlopen+:} false; then :
diff --git a/ptlib/patches/patch-configure.ac b/ptlib/patches/patch-configure.ac
new file mode 100644
index 0000000..f1a7bfc
--- /dev/null
+++ b/ptlib/patches/patch-configure.ac
@@ -0,0 +1,23 @@
+$NetBSD: patch-configure.ac,v 1.2 2012/12/01 15:28:03 darcy Exp $
+
+- Add Dragonfly support
+
+--- configure.ac.orig 2009-09-21 00:25:59.000000000 +0000
++++ configure.ac
+@@ -232,6 +232,16 @@ case "$target_os" in
+ AC_CHECK_FUNC([swab], [AC_DEFINE([USE_SYSTEM_SWAB], [], [Use system swab()] )] )
+ ;;
+
++ dragonfly*) OSTYPE=DragonFly ;
++ OS_TAG="P_DRAGONFLY" ;
++ if test "x$OSRELEASE" = "x"; then
++ OSRELEASE="`sysctl -n kern.osreldate`" ;
++ fi
++ need_pragma=yes ;
++ AC_DEFINE(P_PTHREADS, 1, "PThreads found")
++ AC_CHECK_FUNC([swab], [AC_DEFINE([USE_SYSTEM_SWAB], [], [Use system swab()] )] )
++ ;;
++
+ freebsd*|kfreebsd*) OSTYPE=FreeBSD ;
+ OS_TAG="P_FREEBSD" ;
+ if test "x$OSRELEASE" = "x"; then
diff --git a/ptlib/patches/patch-include_ptbuildopts.h.in b/ptlib/patches/patch-include_ptbuildopts.h.in
new file mode 100644
index 0000000..4e5dd95
--- /dev/null
+++ b/ptlib/patches/patch-include_ptbuildopts.h.in
@@ -0,0 +1,14 @@
+$NetBSD: patch-include_ptbuildopts.h.in,v 1.2 2012/12/01 15:28:03 darcy Exp $
+
+- Add Dragonfly support
+
+--- include/ptbuildopts.h.in.orig 2009-09-21 00:25:53.000000000 +0000
++++ include/ptbuildopts.h.in
+@@ -43,6 +43,7 @@
+ //
+
+ #undef P_LINUX
++#undef P_DRAGONFLY
+ #undef P_FREEBSD
+ #undef P_OPENBSD
+ #undef P_NETBSD
diff --git a/ptlib/patches/patch-include_ptclib_pldap.h b/ptlib/patches/patch-include_ptclib_pldap.h
new file mode 100644
index 0000000..019cc4a
--- /dev/null
+++ b/ptlib/patches/patch-include_ptclib_pldap.h
@@ -0,0 +1,19 @@
+$NetBSD: patch-include_ptclib_pldap.h,v 1.3 2012/12/01 15:28:03 darcy Exp $
+
+- Allow building on Solaris
+
+--- include/ptclib/pldap.h.orig 2012-08-23 02:13:03.000000000 +0000
++++ include/ptclib/pldap.h
+@@ -103,12 +103,7 @@ class PLDAPSession : public PObject
+ AuthSimple,
+ AuthSASL,
+ AuthKerberos,
+-#ifdef SOLARIS
+- NumAuthenticationMethod1,
+- NumAuthenticationMethod2
+-#else
+ NumAuthenticationMethod
+-#endif
+ };
+
+ /**Start encrypted connection
diff --git a/ptlib/patches/patch-include_ptlib_critsec.h b/ptlib/patches/patch-include_ptlib_critsec.h
new file mode 100644
index 0000000..a055e13
--- /dev/null
+++ b/ptlib/patches/patch-include_ptlib_critsec.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-include_ptlib_critsec.h,v 1.1 2015/06/29 21:13:30 markd Exp $
+
+--- include/ptlib/critsec.h.orig 2012-08-23 02:13:00.000000000 +0000
++++ include/ptlib/critsec.h
+@@ -40,7 +40,7 @@
+ #if P_HAS_ATOMIC_INT
+
+ #if defined(__GNUC__)
+-# if __GNUC__ >= 4 && __GNUC_MINOR__ >= 2
++# if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 2) || __GNUC__ >= 5
+ # include <ext/atomicity.h>
+ # else
+ # include <bits/atomicity.h>
diff --git a/ptlib/patches/patch-include_ptlib_object.h b/ptlib/patches/patch-include_ptlib_object.h
new file mode 100644
index 0000000..1306cd5
--- /dev/null
+++ b/ptlib/patches/patch-include_ptlib_object.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-include_ptlib_object.h,v 1.1 2013/10/14 14:36:12 joerg Exp $
+
+--- include/ptlib/object.h.orig 2013-10-14 12:44:10.000000000 +0000
++++ include/ptlib/object.h
+@@ -1011,7 +1011,7 @@ struct PAllocatorTemplate
+ + __GNUC_PATCHLEVEL__)
+
+ // Memory pooling allocators
+-#if defined(__GNUC__) && (GCC_VERSION > 40000) && !defined(P_MINGW) && !defined(P_MACOSX)
++#if defined(__GNUC__) && (GCC_VERSION > 40000) && !defined(P_MINGW) && !defined(P_MACOSX) && !defined(_LIBCPP_VERSION)
+ #include <ext/mt_allocator.h>
+ template <class Type> struct PFixedPoolAllocator : public PAllocatorTemplate<__gnu_cxx::__mt_alloc<Type>, Type> { };
+ template <class Type> struct PVariablePoolAllocator : public PAllocatorTemplate<__gnu_cxx::__mt_alloc<Type>, Type> { };
diff --git a/ptlib/patches/patch-include_ptlib_pmachdep.h b/ptlib/patches/patch-include_ptlib_pmachdep.h
new file mode 100644
index 0000000..21cced7
--- /dev/null
+++ b/ptlib/patches/patch-include_ptlib_pmachdep.h
@@ -0,0 +1,46 @@
+$NetBSD: patch-include_ptlib_pmachdep.h,v 1.2 2012/10/17 10:26:16 jperkin Exp $
+
+- Prevent an annoying warning while building
+
+--- include/ptlib/unix/ptlib/pmachdep.h.orig 2012-08-23 02:12:57.000000000 +0000
++++ include/ptlib/unix/ptlib/pmachdep.h
+@@ -112,7 +112,9 @@ typedef int socklen_t;
+ #elif defined(P_OPENBSD)
+
+ #if defined(P_PTHREADS)
++#ifndef _THREAD_SAFE
+ #define _THREAD_SAFE
++#endif
+ #define P_THREAD_SAFE_CLIB
+
+ #include <pthread.h>
+@@ -137,7 +139,9 @@ typedef int socklen_t;
+ #elif defined(P_NETBSD)
+
+ #if defined(P_PTHREADS)
++#ifndef _THREAD_SAFE
+ #define _THREAD_SAFE
++#endif
+ #define P_THREAD_SAFE_CLIB
+
+ #include <pthread.h>
+@@ -447,7 +451,9 @@ struct hostent * Vx_gethostbyaddr(char *
+ #define strcasecmp strcmp
+
+ #define P_HAS_SEMAPHORES
++#ifndef _THREAD_SAFE
+ #define _THREAD_SAFE
++#endif
+ #define P_THREAD_SAFE_CLIB
+ typedef long PThreadIdentifier;
+ typedef long PProcessIdentifier;
+@@ -481,7 +487,9 @@ extern "C" {
+ #elif defined(P_QNX)
+
+ #if defined(P_PTHREADS)
++#ifndef _THREAD_SAFE
+ #define _THREAD_SAFE
++#endif
+ #define P_THREAD_SAFE_CLIB
+
+ #include <pthread.h>
diff --git a/ptlib/patches/patch-make_unix.mak b/ptlib/patches/patch-make_unix.mak
new file mode 100644
index 0000000..436d62d
--- /dev/null
+++ b/ptlib/patches/patch-make_unix.mak
@@ -0,0 +1,47 @@
+$NetBSD: patch-make_unix.mak,v 1.2 2012/10/13 00:49:38 darcy Exp $
+
+- Add DragonFly support
+
+--- make/unix.mak.orig 2012-08-23 02:12:44.000000000 +0000
++++ make/unix.mak
+@@ -57,7 +57,7 @@ release tagbuild
+ .PHONY: all $(STANDARD_TARGETS)
+
+
+-ifeq (,$(findstring $(OSTYPE),linux gnu FreeBSD OpenBSD NetBSD solaris beos Darwin Carbon AIX Nucleus VxWorks rtems QNX cygwin mingw))
++ifeq (,$(findstring $(OSTYPE),linux gnu DragonFly FreeBSD OpenBSD NetBSD solaris beos Darwin Carbon AIX Nucleus VxWorks rtems QNX cygwin mingw))
+
+ default_target :
+ @echo
+@@ -203,6 +203,31 @@ endif # gnu
+
+ ####################################################
+
++ifeq ($(OSTYPE),DragonFly)
++
++ifeq ($(MACHTYPE),x86)
++ifdef CPUTYPE
++STDCCFLAGS += -mcpu=$(CPUTYPE)
++endif
++endif
++
++ifeq ($(MACHTYPE),x86_64)
++STDCCFLAGS += -DP_64BIT
++endif
++
++P_USE_RANLIB := 1
++#STDCCFLAGS += -DP_USE_PRAGMA # migrated to configure
++
++ifeq ($(P_SHAREDLIB),1)
++ifndef PROG
++STDCCFLAGS += -fPIC -DPIC
++endif # PROG
++endif # P_SHAREDLIB
++
++endif # DragonFly
++
++####################################################
++
+ ifeq ($(OSTYPE),FreeBSD)
+
+ ifeq ($(MACHTYPE),x86)
diff --git a/ptlib/patches/patch-plugins_sound_esd_sound_esd.h b/ptlib/patches/patch-plugins_sound_esd_sound_esd.h
new file mode 100644
index 0000000..7ebf14b
--- /dev/null
+++ b/ptlib/patches/patch-plugins_sound_esd_sound_esd.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-plugins_sound_esd_sound_esd.h,v 1.2 2012/12/01 15:28:03 darcy Exp $
+
+- Add Dragonfly support
+
+--- plugins/sound_esd/sound_esd.h.orig 2009-09-21 00:25:31.000000000 +0000
++++ plugins/sound_esd/sound_esd.h
+@@ -11,6 +11,10 @@
+ #include <sys/soundcard.h>
+ #endif
+
++#ifdef P_DRAGONFLY
++#include <sys/soundcard.h>
++#endif
++
+ #ifdef P_FREEBSD
+ #if P_FREEBSD >= 500000
+ #include <sys/soundcard.h>
diff --git a/ptlib/patches/patch-plugins_sound_oss_sound_oss.cxx b/ptlib/patches/patch-plugins_sound_oss_sound_oss.cxx
new file mode 100644
index 0000000..e0b7054
--- /dev/null
+++ b/ptlib/patches/patch-plugins_sound_oss_sound_oss.cxx
@@ -0,0 +1,19 @@
+$NetBSD: patch-plugins_sound_oss_sound_oss.cxx,v 1.2 2012/10/13 00:49:38 darcy Exp $
+
+- Add DragonFly support
+
+--- plugins/sound_oss/sound_oss.cxx.orig 2012-08-23 02:12:47.000000000 +0000
++++ plugins/sound_oss/sound_oss.cxx
+@@ -183,6 +183,12 @@ static void CollectSoundDevices(PDirecto
+ devname = devdir + "dsp" + numbers;
+ PTRACE(1, "OSS\tCollectSoundDevices FreeBSD devname set to devfs(5) name:" << devname );
+ #endif /* defined (P_FREEBSD) */
++#if defined (P_DRAGONFLY)
++ // Same as FreeBSD
++ devname = devdir + "dsp0";
++ PTRACE(1, "OSS\tCollectSoundDevices DragonFly devname set to devfs(5) name:" << devname );
++#endif /* defined (P_DRAGONFLY) */
++
+ dsp.SetAt(cardnum+1, devname);
+ }
+ }
diff --git a/ptlib/patches/patch-plugins_sound_oss_sound_oss.h b/ptlib/patches/patch-plugins_sound_oss_sound_oss.h
new file mode 100644
index 0000000..07a7d03
--- /dev/null
+++ b/ptlib/patches/patch-plugins_sound_oss_sound_oss.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-plugins_sound_oss_sound_oss.h,v 1.2 2012/12/01 15:28:03 darcy Exp $
+
+- Add Dragonfly support
+
+--- plugins/sound_oss/sound_oss.h.orig 2009-09-21 00:25:31.000000000 +0000
++++ plugins/sound_oss/sound_oss.h
+@@ -15,6 +15,10 @@
+ #include <sys/soundcard.h>
+ #endif
+
++#ifdef P_DRAGONFLY
++#include <sys/soundcard.h>
++#endif
++
+ #ifdef P_FREEBSD
+ #if P_FREEBSD >= 500000
+ #include <sys/soundcard.h>
diff --git a/ptlib/patches/patch-plugins_vidinput_bsd_vidinput_bsd.h b/ptlib/patches/patch-plugins_vidinput_bsd_vidinput_bsd.h
new file mode 100644
index 0000000..737c2e8
--- /dev/null
+++ b/ptlib/patches/patch-plugins_vidinput_bsd_vidinput_bsd.h
@@ -0,0 +1,18 @@
+$NetBSD: patch-plugins_vidinput_bsd_vidinput_bsd.h,v 1.2 2012/12/01 15:28:03 darcy Exp $
+
+- Add Dragonfly support
+
+--- plugins/vidinput_bsd/vidinput_bsd.h.orig 2009-09-21 00:25:31.000000000 +0000
++++ plugins/vidinput_bsd/vidinput_bsd.h
+@@ -13,6 +13,11 @@
+ #include <ptlib/vconvert.h>
+ #include <ptclib/delaychan.h>
+
++#if defined(P_DRAGONFLY)
++#include <sys/param.h>
++#include <machine/ioctl_meteor.h>
++#endif
++
+ #if defined(P_FREEBSD)
+ #include <sys/param.h>
+ # if __FreeBSD_version >= 502100
diff --git a/ptlib/patches/patch-src_ptclib_pldap.cxx b/ptlib/patches/patch-src_ptclib_pldap.cxx
new file mode 100644
index 0000000..82b1de2
--- /dev/null
+++ b/ptlib/patches/patch-src_ptclib_pldap.cxx
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_ptclib_pldap.cxx,v 1.2 2012/12/01 15:28:03 darcy Exp $
+
+- Add Solaris support
+
+--- src/ptclib/pldap.cxx.orig 2009-09-21 02:25:24.000000000 +0200
++++ src/ptclib/pldap.cxx 2012-04-18 20:29:09.841685925 +0200
+@@ -132,13 +132,8 @@ PBoolean PLDAPSession::Bind(const PStrin
+ else
+ whoPtr = who;
+
+-#ifdef SOLARIS
+- static const int AuthMethodCode[NumAuthenticationMethod2] = {
+- LDAP_AUTH_SIMPLE, LDAP_AUTH_SASL, LDAP_AUTH_KRBV41_30, LDAP_AUTH_KRBV42_30
+-#else
+ static const int AuthMethodCode[NumAuthenticationMethod] = {
+ LDAP_AUTH_SIMPLE, LDAP_AUTH_SASL, LDAP_AUTH_KRBV4
+-#endif
+ };
+ errorNumber = ldap_bind_s(ldapContext, whoPtr, passwd, AuthMethodCode[authMethod]);
+ return errorNumber == LDAP_SUCCESS;
diff --git a/ptlib/patches/patch-src_ptlib_common_getdate.y b/ptlib/patches/patch-src_ptlib_common_getdate.y
new file mode 100644
index 0000000..7d9544a
--- /dev/null
+++ b/ptlib/patches/patch-src_ptlib_common_getdate.y
@@ -0,0 +1,53 @@
+$NetBSD: patch-src_ptlib_common_getdate.y,v 1.1 2013/10/14 14:36:12 joerg Exp $
+
+--- src/ptlib/common/getdate.y.orig 2013-10-14 12:59:57.000000000 +0000
++++ src/ptlib/common/getdate.y
+@@ -107,7 +107,6 @@ struct Variables {
+
+ #define YYPURE 1
+ #define YYLEX_PARAM VARIABLE
+-#define YYPARSE_PARAM parseParam
+
+ #define yyparse PTime_yyparse
+ #define yylex PTime_yylex
+@@ -120,19 +119,15 @@ struct Variables {
+ static int yyparse(void *);
+ static int yylex();
+
+-#ifdef __GNUC__
+-static int yyerror(char const *msg);
+-#else
+-static void yyerror(char const *msg);
+-#endif
+-
++static int yyerror(void *param, char const *msg);
+
+ static void SetPossibleDate(struct Variables*, time_t, time_t, time_t);
+
+
+ %}
+
+-%pure_parser
++%pure-parser
++%parse-param { void * parseParam}
+
+ %union {
+ time_t Number;
+@@ -1017,16 +1012,10 @@ time_t STDAPICALLTYPE PTimeParse(void *
+ #pragma warning(disable:4028 4100 4211)
+ #endif
+
+-#ifdef __GNUC__
+-int yyerror(const char * s)
++int yyerror(void *parseParam, const char * s)
+ {
+ return 0;
+ }
+-#else
+-static void yyerror(const char * s)
+-{
+-}
+-#endif
+
+ #ifdef _MSC_VER
+ #pragma warning(default:4028 4100 4211)
diff --git a/ptlib/patches/patch-src_ptlib_unix_svcproc.cxx b/ptlib/patches/patch-src_ptlib_unix_svcproc.cxx
new file mode 100644
index 0000000..14ff269
--- /dev/null
+++ b/ptlib/patches/patch-src_ptlib_unix_svcproc.cxx
@@ -0,0 +1,34 @@
+$NetBSD: patch-src_ptlib_unix_svcproc.cxx,v 1.1 2013/10/14 14:36:12 joerg Exp $
+
+--- src/ptlib/unix/svcproc.cxx.orig 2013-10-14 12:48:18.000000000 +0000
++++ src/ptlib/unix/svcproc.cxx
+@@ -217,7 +217,8 @@ int PServiceProcess::InitialiseService()
+ pid_t pid;
+
+ {
+- ifstream pidfile(pidfilename);
++ const char *pidfilename2(pidfilename);
++ ifstream pidfile(pidfilename2);
+ if (!pidfile.is_open()) {
+ cout << "Could not open pid file: \"" << pidfilename << "\""
+ " - " << strerror(errno) << endl;
+@@ -384,7 +385,8 @@ int PServiceProcess::InitialiseService()
+ // Run as a daemon, ie fork
+
+ if (!pidfilename) {
+- ifstream pidfile(pidfilename);
++ const char *pidfilename2(pidfilename);
++ ifstream pidfile(pidfilename2);
+ if (pidfile.is_open()) {
+ pid_t pid;
+ pidfile >> pid;
+@@ -412,7 +414,8 @@ int PServiceProcess::InitialiseService()
+ cout << "Daemon started with pid " << pid << endl;
+ if (!pidfilename) {
+ // Write out the child pid to magic file in /var/run (at least for linux)
+- ofstream pidfile(pidfilename);
++ const char *pidfilename2(pidfilename);
++ ofstream pidfile(pidfilename2);
+ if (pidfile.is_open())
+ pidfile << pid;
+ else
diff --git a/ptlib/patches/patch-unix-config.cxx b/ptlib/patches/patch-unix-config.cxx
new file mode 100644
index 0000000..73fe7d6
--- /dev/null
+++ b/ptlib/patches/patch-unix-config.cxx
@@ -0,0 +1,14 @@
+$NetBSD: patch-unix-config.cxx,v 1.2 2012/12/01 15:28:03 darcy Exp $
+
+- Add Dragonfly support
+
+--- src/ptlib/unix/config.cxx.orig 2009-09-21 00:25:17.000000000 +0000
++++ src/ptlib/unix/config.cxx
+@@ -49,6 +49,6 @@
+ #define EXTENSION ".ini"
+ #define ENVIRONMENT_CONFIG_STR "/\~~environment~~\/"
+
+-#if defined(P_MACOSX) || defined(P_SOLARIS) || defined(P_FREEBSD)
++#if defined(P_MACOSX) || defined(P_SOLARIS) || defined(P_FREEBSD) || defined(P_DRAGONFLY)
+ #define environ (NULL)
+ #endif
diff --git a/ptlib/patches/patch-unix-ossaix.cxx b/ptlib/patches/patch-unix-ossaix.cxx
new file mode 100644
index 0000000..1fd2f1c
--- /dev/null
+++ b/ptlib/patches/patch-unix-ossaix.cxx
@@ -0,0 +1,17 @@
+$NetBSD: patch-unix-ossaix.cxx,v 1.2 2012/12/01 15:28:03 darcy Exp $
+
+- Add Dragonfly support
+
+--- src/ptlib/unix/ossaix.cxx.orig 2009-09-21 00:25:17.000000000 +0000
++++ src/ptlib/unix/ossaix.cxx
+@@ -40,6 +40,10 @@
+ #include <sys/time.h>
+ #endif
+
++#if defined(P_DRAGONFLY)
++#include <machine/soundcard.h>
++#endif
++
+ #ifdef P_FREEBSD
+ #include <machine/soundcard.h>
+ #endif
diff --git a/ptlib/patches/patch-unix-osutil.cxx b/ptlib/patches/patch-unix-osutil.cxx
new file mode 100644
index 0000000..2de8d25
--- /dev/null
+++ b/ptlib/patches/patch-unix-osutil.cxx
@@ -0,0 +1,33 @@
+$NetBSD: patch-unix-osutil.cxx,v 1.3 2012/12/01 15:28:03 darcy Exp $
+
+- Add DragonFly support
+
+--- src/ptlib/unix/osutil.cxx.orig 2012-08-23 02:12:27.000000000 +0000
++++ src/ptlib/unix/osutil.cxx
+@@ -80,7 +80,7 @@
+ #define P_USE_LANGINFO
+ #endif
+
+-#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS)
++#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_DRAGONFLY)
+ #define P_USE_STRFTIME
+
+ #include <sys/param.h>
+@@ -535,7 +535,7 @@ PString PDirectory::GetVolume() const
+ }
+ fclose(fp);
+
+-#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS)
++#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_DRAGONFLY)
+
+ struct statfs * mnt;
+ int count = getmntinfo(&mnt, MNT_NOWAIT);
+@@ -1452,7 +1452,7 @@ int PTime::GetTimeZone(PTime::TimeZoneTy
+ return tz;
+ else
+ return tz + ::daylight*60;
+-#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(__BEOS__) || defined(P_QNX) || defined(P_GNU_HURD)
++#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(__BEOS__) || defined(P_QNX) || defined(P_GNU_HURD) || defined(P_DRAGONFLY)
+ time_t t;
+ time(&t);
+ struct tm ts;
diff --git a/ptlib/patches/patch-unix-pmachdep.h b/ptlib/patches/patch-unix-pmachdep.h
new file mode 100644
index 0000000..4dada00
--- /dev/null
+++ b/ptlib/patches/patch-unix-pmachdep.h
@@ -0,0 +1,41 @@
+$NetBSD: patch-unix-pmachdep.h,v 1.2 2012/10/13 00:49:38 darcy Exp $
+
+- Add DragonFly support
+
+--- include/ptlib/unix/ptlib/pmachdep.h.orig 2012-08-23 02:12:57.000000000 +0000
++++ include/ptlib/unix/ptlib/pmachdep.h
+@@ -78,6 +78,34 @@ typedef size_t socklen_t;
+ #define HAS_IFREQ
+
+ ///////////////////////////////////////////////////////////////////////////////
++#elif defined(P_DRAGONFLY)
++
++#if defined(P_PTHREADS)
++#ifndef _THREAD_SAFE
++#define _THREAD_SAFE
++#endif
++#define P_THREAD_SAFE_CLIB
++
++#include <pthread.h>
++#endif
++
++#include <paths.h>
++#include <errno.h>
++#include <dlfcn.h>
++#include <termios.h>
++#include <sys/fcntl.h>
++#include <sys/filio.h>
++#include <sys/socket.h>
++#include <sys/sockio.h>
++#include <sys/signal.h>
++#include <net/if.h>
++#include <netinet/tcp.h>
++
++#define HAS_IFREQ
++
++#define PSETPGRP() setpgrp(0, 0)
++
++///////////////////////////////////////////////////////////////////////////////
+ #elif defined(P_FREEBSD)
+
+ #if defined(P_PTHREADS)
diff --git a/ptlib/patches/patch-unix-serchan.cxx b/ptlib/patches/patch-unix-serchan.cxx
new file mode 100644
index 0000000..ea7ad9e
--- /dev/null
+++ b/ptlib/patches/patch-unix-serchan.cxx
@@ -0,0 +1,15 @@
+$NetBSD: patch-unix-serchan.cxx,v 1.2 2012/12/01 15:28:03 darcy Exp $
+
+- Add Dragonfly support
+
+--- src/ptlib/unix/serchan.cxx.orig 2009-09-21 00:25:17.000000000 +0000
++++ src/ptlib/unix/serchan.cxx
+@@ -43,7 +43,7 @@
+ #define TCSETATTR(f,t) tcsetattr(f,TCSANOW,t)
+ #define TCGETATTR(f,t) tcgetattr(f,t)
+
+-#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined (P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_RTEMS)
++#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined (P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_RTEMS) || defined(P_DRAGONFLY)
+ #include <sys/ttycom.h>
+ #define TCGETA TIOCGETA
+ #define TCSETAW TIOCSETAW
diff --git a/ptlib/patches/patch-unix-socket.cxx b/ptlib/patches/patch-unix-socket.cxx
new file mode 100644
index 0000000..00fc4f0
--- /dev/null
+++ b/ptlib/patches/patch-unix-socket.cxx
@@ -0,0 +1,60 @@
+$NetBSD: patch-unix-socket.cxx,v 1.2 2012/10/13 00:49:39 darcy Exp $
+
+- Add DragonFly support
+
+--- src/ptlib/unix/socket.cxx.orig 2012-08-23 02:12:27.000000000 +0000
++++ src/ptlib/unix/socket.cxx
+@@ -54,7 +54,7 @@
+ #define ifr_macaddr ifr_hwaddr.sa_data
+ #endif
+
+-#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_SOLARIS) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_IRIX) || defined(P_VXWORKS) || defined(P_RTEMS) || defined(P_QNX)
++#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_SOLARIS) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_IRIX) || defined(P_VXWORKS) || defined(P_RTEMS) || defined(P_QNX) || defined(P_DRAGONFLY)
+ #define ifr_netmask ifr_addr
+
+ #include <net/if_dl.h>
+@@ -78,7 +78,7 @@
+
+ #endif
+
+-#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_QNX)
++#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_QNX) || defined(P_DRAGONFLY)
+ #include <sys/sysctl.h>
+ #endif
+
+@@ -92,7 +92,7 @@
+ #include <be/bone/sys/sockio.h> // for SIOCGI*
+ #endif
+
+-#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_VXWORKS) || defined(P_RTEMS) || defined(P_QNX)
++#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_VXWORKS) || defined(P_RTEMS) || defined(P_QNX) || defined(P_DRAGONFLY)
+ // Define _SIZEOF_IFREQ for platforms (eg OpenBSD) which do not have it.
+ #ifndef _SIZEOF_ADDR_IFREQ
+ #define _SIZEOF_ADDR_IFREQ(ifr) \
+@@ -526,7 +526,7 @@ PBoolean PIPSocket::IsLocalHost(const PS
+ }
+ }
+
+-#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_MACOSX) || defined(P_VXWORKS) || defined(P_RTEMS) || defined(P_QNX)
++#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_MACOSX) || defined(P_VXWORKS) || defined(P_RTEMS) || defined(P_QNX) || defined(P_DRAGONFLY)
+ // move the ifName pointer along to the next ifreq entry
+ ifName = (struct ifreq *)((char *)ifName + _SIZEOF_ADDR_IFREQ(*ifName));
+ #elif !defined(P_NETBSD)
+@@ -1100,7 +1100,7 @@ PBoolean PIPSocket::GetRouteTable(RouteT
+ return !table.IsEmpty();
+ }
+
+-#elif (defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_QNX)) && !defined(P_IPHONEOS)
++#elif (defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_QNX)) && !defined(P_IPHONEOS) || defined(P_DRAGONFLY)
+
+ PBoolean process_rtentry(struct rt_msghdr *rtm, char *ptr, unsigned long *p_net_addr,
+ unsigned long *p_net_mask, unsigned long *p_dest_addr, int *p_metric);
+@@ -1966,7 +1966,7 @@ PBoolean PIPSocket::GetInterfaceTable(In
+ }
+ }
+
+-#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_MACOSX) || defined(P_VXWORKS) || defined(P_RTEMS) || defined(P_QNX)
++#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_MACOSX) || defined(P_VXWORKS) || defined(P_RTEMS) || defined(P_QNX) || defined(P_DRAGONFLY)
+ // move the ifName pointer along to the next ifreq entry
+ ifName = (struct ifreq *)((char *)ifName + _SIZEOF_ADDR_IFREQ(*ifName));
+ #elif !defined(P_NETBSD)
diff --git a/ptlib/patches/patch-unix-switch.cxx b/ptlib/patches/patch-unix-switch.cxx
new file mode 100644
index 0000000..78b7c4f
--- /dev/null
+++ b/ptlib/patches/patch-unix-switch.cxx
@@ -0,0 +1,15 @@
+$NetBSD: patch-unix-switch.cxx,v 1.2 2012/12/01 15:28:03 darcy Exp $
+
+- Add Dragonfly support
+
+--- src/ptlib/unix/switch.cxx.orig 2009-09-21 00:25:17.000000000 +0000
++++ src/ptlib/unix/switch.cxx
+@@ -54,7 +54,7 @@
+ #endif
+ #endif
+
+-#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD)
++#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_DRAGONFLY)
+ #define SET_STACK context[0]._jb[2] = (int)stackTop-16;
+ #if defined(P_NETBSD)
+ #include <sys/mman.h>
diff --git a/ptlib/patches/patch-unix-tlib.cxx b/ptlib/patches/patch-unix-tlib.cxx
new file mode 100644
index 0000000..fa10535
--- /dev/null
+++ b/ptlib/patches/patch-unix-tlib.cxx
@@ -0,0 +1,15 @@
+$NetBSD: patch-unix-tlib.cxx,v 1.2 2012/10/13 00:49:39 darcy Exp $
+
+- Add DragonFly support
+
+--- src/ptlib/unix/tlib.cxx.orig 2012-08-23 02:12:27.000000000 +0000
++++ src/ptlib/unix/tlib.cxx
+@@ -70,7 +70,7 @@
+ #include <sys/mman.h>
+ #endif
+
+-#if defined(P_LINUX) || defined(P_SUN4) || defined(P_SOLARIS) || defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined (P_AIX) || defined(P_BEOS) || defined(P_IRIX) || defined(P_QNX) || defined(P_GNU_HURD)
++#if defined(P_LINUX) || defined(P_SUN4) || defined(P_SOLARIS) || defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined (P_AIX) || defined(P_BEOS) || defined(P_IRIX) || defined(P_QNX) || defined(P_GNU_HURD) || defined(P_DRAGONFLY)
+ #include <sys/utsname.h>
+ #define HAS_UNAME
+ #elif defined(P_RTEMS)
Home |
Main Index |
Thread Index |
Old Index