aboutsummaryrefslogtreecommitdiff
path: root/net/linphone-base/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-04-04 21:42:06 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-04-04 21:42:06 +0000
commit2bee492c830a251a64d599dfc5a92bb831d42d80 (patch)
treef674589eba781da4e6959d945cf7d7b8d434bc8a /net/linphone-base/files
parenta05860a469df03892335db55c794fd3c13246c25 (diff)
downloadports-2bee492c830a251a64d599dfc5a92bb831d42d80.tar.gz
ports-2bee492c830a251a64d599dfc5a92bb831d42d80.zip
- Update to 1.0.1
PR: ports/79481, ports/79482 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=132504
Diffstat (limited to 'net/linphone-base/files')
-rw-r--r--net/linphone-base/files/patch-Makefile.in30
-rw-r--r--net/linphone-base/files/patch-console::commands.c14
-rw-r--r--net/linphone-base/files/patch-coreapi::linphonecore.c16
-rw-r--r--net/linphone-base/files/patch-coreapi::lpconfig.c13
-rw-r--r--net/linphone-base/files/patch-coreapi::proxy.c12
-rw-r--r--net/linphone-base/files/patch-gnome::Makefile.in71
-rw-r--r--net/linphone-base/files/patch-gnome::callbacks.c11
-rw-r--r--net/linphone-base/files/patch-gnome::linphone.c15
-rw-r--r--net/linphone-base/files/patch-ltmain.sh18
-rw-r--r--net/linphone-base/files/patch-mediastreamer2::Makefile.in20
-rw-r--r--net/linphone-base/files/patch-mediastreamer::Makefile.in45
-rw-r--r--net/linphone-base/files/patch-oRTP::Makefile.in11
-rw-r--r--net/linphone-base/files/patch-oRTP::configure20
-rw-r--r--net/linphone-base/files/patch-oRTP::src::port_fct.c14
-rw-r--r--net/linphone-base/files/patch-oRTP::src::rtpsession.c71
-rw-r--r--net/linphone-base/files/patch-oRTP::src::scheduler.h14
-rw-r--r--net/linphone-base/files/patch-osipua::src::sdphandler.c13
-rw-r--r--net/linphone-base/files/patch-osipua::src::utils.c10
-rw-r--r--net/linphone-base/files/patch-share::Makefile.in14
19 files changed, 232 insertions, 200 deletions
diff --git a/net/linphone-base/files/patch-Makefile.in b/net/linphone-base/files/patch-Makefile.in
index c68c8ec72648..0933cf55ab48 100644
--- a/net/linphone-base/files/patch-Makefile.in
+++ b/net/linphone-base/files/patch-Makefile.in
@@ -1,24 +1,16 @@
-
-$FreeBSD$
-
---- Makefile.in.orig Thu Apr 1 05:40:35 2004
-+++ Makefile.in Thu Apr 15 03:26:01 2004
-@@ -156,13 +156,15 @@
-
+--- Makefile.in.orig Tue Mar 22 00:53:37 2005
++++ Makefile.in Wed Mar 23 18:51:15 2005
+@@ -274,9 +274,11 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
@BUILD_TRUESPEECH_TRUE@WIN32ACM_DIR = win32acm
-
+-SUBDIRS = m4 support pixmaps po ipkg oRTP gsmlib lpc10-1.5 \
+ifndef SUBDIRS
- @BUILD_SPEEX_TRUE@SUBDIRS = support pixmaps ffmpeg po debian ipkg oRTP gsmlib lpc10-1.5 \
- @BUILD_SPEEX_TRUE@ $(WIN32ACM_DIR) speex mediastreamer \
- @BUILD_SPEEX_TRUE@ media_api osipua coreapi console gnome share developer-docs
-
--@BUILD_SPEEX_FALSE@SUBDIRS = support pixmaps ffmpeg po debian ipkg oRTP gsmlib lpc10-1.5 \
--@BUILD_SPEEX_FALSE@ $(WIN32ACM_DIR) speex mediastreamer \
--@BUILD_SPEEX_FALSE@ media_api osipua coreapi console gnome share developer-docs
-+@BUILD_SPEEX_FALSE@SUBDIRS = support ffmpeg po debian ipkg oRTP lpc10-1.5 \
-+@BUILD_SPEEX_FALSE@ $(WIN32ACM_DIR) mediastreamer \
-+@BUILD_SPEEX_FALSE@ media_api osipua coreapi console gnome developer-docs
++SUBDIRS = m4 support po ipkg oRTP lpc10-1.5 \
+ $(WIN32ACM_DIR) mediastreamer mediastreamer2\
+- media_api exosip coreapi console gnome share developer-docs
++ media_api exosip coreapi console gnome developer-docs
+endif
-
EXTRA_DIST = linphone2.glade BUGS linphone.kdevprj \
+ intltool-extract.in \
diff --git a/net/linphone-base/files/patch-console::commands.c b/net/linphone-base/files/patch-console::commands.c
new file mode 100644
index 000000000000..4301aa17be7b
--- /dev/null
+++ b/net/linphone-base/files/patch-console::commands.c
@@ -0,0 +1,14 @@
+--- console/commands.c.orig Tue Mar 8 03:31:49 2005
++++ console/commands.c Wed Mar 23 17:46:13 2005
+@@ -112,9 +112,9 @@
+
+ void linphonec_proxy_list(LinphoneCore *lc){
+ GList *proxies;
+- int n;
++ int def, n;
+ proxies=linphone_core_get_proxy_config_list(lc);
+- int def=linphone_core_get_default_proxy(lc,NULL);
++ def=linphone_core_get_default_proxy(lc,NULL);
+ for(n=0;proxies!=NULL;proxies=g_list_next(proxies),n++){
+ if (n==def)
+ printf("****** Proxy %i - this is the default one - *******\n",n);
diff --git a/net/linphone-base/files/patch-coreapi::linphonecore.c b/net/linphone-base/files/patch-coreapi::linphonecore.c
index 0e758bdd463a..e8f15b806410 100644
--- a/net/linphone-base/files/patch-coreapi::linphonecore.c
+++ b/net/linphone-base/files/patch-coreapi::linphonecore.c
@@ -1,10 +1,12 @@
---- coreapi/linphonecore.c.orig Fri Nov 7 00:27:42 2003
-+++ coreapi/linphonecore.c Fri Nov 21 11:59:25 2003
-@@ -33,6 +33,7 @@
- #include <sys/socket.h>
- #include <netinet/in.h>
+--- coreapi/linphonecore.c.orig Thu Mar 17 01:16:55 2005
++++ coreapi/linphonecore.c Wed Mar 23 13:17:30 2005
+@@ -34,9 +34,7 @@
#include <arpa/inet.h>
-+#include <netdb.h>
+ #include <time.h>
- #ifdef INET6
+-#ifdef INET6
#include <netdb.h>
+-#endif
+
+ #include "enum.h"
+
diff --git a/net/linphone-base/files/patch-coreapi::lpconfig.c b/net/linphone-base/files/patch-coreapi::lpconfig.c
new file mode 100644
index 000000000000..ca83b0e9cf7e
--- /dev/null
+++ b/net/linphone-base/files/patch-coreapi::lpconfig.c
@@ -0,0 +1,13 @@
+--- coreapi/lpconfig.c.orig Fri Mar 11 21:53:12 2005
++++ coreapi/lpconfig.c Wed Mar 23 17:44:35 2005
+@@ -266,8 +266,9 @@
+ }
+
+ int lp_config_sync(LpConfig *lpconfig){
++ FILE *file;
+ if (lpconfig->filename==NULL) return;
+- FILE *file=fopen(lpconfig->filename,"w");
++ file=fopen(lpconfig->filename,"w");
+ if (file==NULL){
+ g_warning("Could not write %s !",lpconfig->filename);
+ return -1;
diff --git a/net/linphone-base/files/patch-coreapi::proxy.c b/net/linphone-base/files/patch-coreapi::proxy.c
new file mode 100644
index 000000000000..23dddbddcbc6
--- /dev/null
+++ b/net/linphone-base/files/patch-coreapi::proxy.c
@@ -0,0 +1,12 @@
+--- coreapi/proxy.c.orig Fri Mar 11 01:54:25 2005
++++ coreapi/proxy.c Wed Mar 23 17:43:30 2005
+@@ -59,8 +59,8 @@
+
+ gint linphone_proxy_config_set_server_addr(LinphoneProxyConfig *obj, const gchar *server_addr){
+ int err;
+- if (server_addr==NULL || strlen(server_addr)==0) return -1;
+ osip_from_t *url;
++ if (server_addr==NULL || strlen(server_addr)==0) return -1;
+ osip_from_init(&url);
+ err=osip_from_parse(url,server_addr);
+ if (err<0){
diff --git a/net/linphone-base/files/patch-gnome::Makefile.in b/net/linphone-base/files/patch-gnome::Makefile.in
index e6994ad1bad5..a099e5974cc4 100644
--- a/net/linphone-base/files/patch-gnome::Makefile.in
+++ b/net/linphone-base/files/patch-gnome::Makefile.in
@@ -1,49 +1,40 @@
-
-$FreeBSD$
-
---- gnome/Makefile.in.orig Wed Aug 20 17:47:19 2003
-+++ gnome/Makefile.in Sat Aug 23 01:16:42 2003
-@@ -160,7 +160,6 @@
- @BUILD_GNOME_TRUE@ -I$(top_srcdir)/oRTP/src \
- @BUILD_GNOME_TRUE@ -I$(top_srcdir)/oRTP/ \
- @BUILD_GNOME_TRUE@ -I$(top_srcdir)/mediastreamer \
--@BUILD_GNOME_TRUE@ -I$(top_srcdir)/speex/libspeex \
- @BUILD_GNOME_TRUE@ -I$(top_srcdir)/coreapi \
- @BUILD_GNOME_TRUE@ -I$(top_srcdir)/osipua/ \
- @BUILD_GNOME_TRUE@ -I$(top_srcdir)/osipua/src \
-@@ -183,7 +182,7 @@
+--- gnome/Makefile.in.orig Tue Mar 22 00:53:38 2005
++++ gnome/Makefile.in Wed Mar 23 19:37:16 2005
+@@ -69,8 +69,7 @@
+ linphone_OBJECTS = $(am_linphone_OBJECTS)
+ am__DEPENDENCIES_1 =
+ @BUILD_GNOME_TRUE@linphone_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+-@BUILD_GNOME_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-@BUILD_GNOME_TRUE@ $(top_builddir)/coreapi/liblinphone.la
++@BUILD_GNOME_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+ am__linphone_applet_SOURCES_DIST = linphone.c linphone.h gui_utils.c \
+ gui_utils.h support.c support.h interface.c interface.h \
+ callbacks.c callbacks.h presence.c presence.h propertybox.c \
+@@ -90,8 +89,7 @@
+ @BUILD_GNOME_APPLET_TRUE@ linphone_applet-applet.$(OBJEXT)
+ linphone_applet_OBJECTS = $(am_linphone_applet_OBJECTS)
+ @BUILD_GNOME_APPLET_TRUE@linphone_applet_DEPENDENCIES = \
+-@BUILD_GNOME_APPLET_TRUE@ $(am__DEPENDENCIES_1) \
+-@BUILD_GNOME_APPLET_TRUE@ $(top_srcdir)/coreapi/liblinphone.la
++@BUILD_GNOME_APPLET_TRUE@ $(am__DEPENDENCIES_1)
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+@@ -355,7 +353,7 @@
@BUILD_GNOME_TRUE@linphone_LDADD = $(LIBGNOMEUI_LIBS) $(INTLLIBS) \
@BUILD_GNOME_TRUE@ $(LIBGNOME_LIBS) \
--@BUILD_GNOME_TRUE@ $(top_srcdir)/coreapi/liblinphonegnome.la
-+@BUILD_GNOME_TRUE@ -llinphonegnome
-
+-@BUILD_GNOME_TRUE@ $(top_builddir)/coreapi/liblinphone.la
++@BUILD_GNOME_TRUE@ -llinphone
AM_CFLAGS = $(LIBGNOMEUI_CFLAGS) $(LIBGNOME_CFLAGS) $(GNOME_APPLETS_CFLAGS) $(IPV6_CFLAGS)
-@@ -206,7 +205,7 @@
-
+ @BUILD_GNOME_APPLET_TRUE@gnome_appletdir = $(libexecdir)
+@@ -366,7 +364,7 @@
+ @BUILD_GNOME_APPLET_TRUE@linphone_applet_CFLAGS = $(AM_CFLAGS) -DLINPHONE_APPLET
@BUILD_GNOME_APPLET_TRUE@linphone_applet_LDADD = \
@BUILD_GNOME_APPLET_TRUE@ $(GNOME_APPLETS_LIBS) \
--@BUILD_GNOME_APPLET_TRUE@ $(top_srcdir)/coreapi/liblinphonegnome.la
-+@BUILD_GNOME_APPLET_TRUE@ -llinphonegnome
+-@BUILD_GNOME_APPLET_TRUE@ $(top_srcdir)/coreapi/liblinphone.la
++@BUILD_GNOME_APPLET_TRUE@ -llinphone
-
-@@ -241,7 +240,7 @@
- @BUILD_GNOME_TRUE@ propertybox.$(OBJEXT) addressbook.$(OBJEXT)
- linphone_OBJECTS = $(am_linphone_OBJECTS)
- @BUILD_GNOME_TRUE@linphone_DEPENDENCIES = \
--@BUILD_GNOME_TRUE@ $(top_srcdir)/coreapi/liblinphonegnome.la
-+@BUILD_GNOME_TRUE@ -llinphonegnome
- @BUILD_GNOME_FALSE@linphone_DEPENDENCIES =
- linphone_LDFLAGS =
- @BUILD_GNOME_APPLET_TRUE@am_linphone_applet_OBJECTS = \
-@@ -256,7 +255,7 @@
- @BUILD_GNOME_APPLET_TRUE@ linphone_applet-applet.$(OBJEXT)
- linphone_applet_OBJECTS = $(am_linphone_applet_OBJECTS)
- @BUILD_GNOME_APPLET_TRUE@linphone_applet_DEPENDENCIES = \
--@BUILD_GNOME_APPLET_TRUE@ $(top_srcdir)/coreapi/liblinphonegnome.la
-+@BUILD_GNOME_APPLET_TRUE@ -llinphonegnome
- @BUILD_GNOME_APPLET_FALSE@linphone_applet_DEPENDENCIES =
- linphone_applet_LDFLAGS =
-
+ #uidir = $(datadir)/gnome-2.0/ui
diff --git a/net/linphone-base/files/patch-gnome::callbacks.c b/net/linphone-base/files/patch-gnome::callbacks.c
deleted file mode 100644
index ad3af985d852..000000000000
--- a/net/linphone-base/files/patch-gnome::callbacks.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- gnome/callbacks.c.orig Fri Nov 7 21:08:34 2003
-+++ gnome/callbacks.c Fri Nov 21 12:57:20 2003
-@@ -82,7 +82,7 @@
- on_user_manual1_activate (GtkMenuItem *menuitem,
- gpointer user_data)
- {
-- gnome_help_display("manual/index.html",NULL,NULL);
-+ gnome_help_display("index.html",NULL,NULL);
- }
-
-
diff --git a/net/linphone-base/files/patch-gnome::linphone.c b/net/linphone-base/files/patch-gnome::linphone.c
new file mode 100644
index 000000000000..3d3939dc064d
--- /dev/null
+++ b/net/linphone-base/files/patch-gnome::linphone.c
@@ -0,0 +1,15 @@
+--- gnome/linphone.c.orig Fri Mar 11 00:38:56 2005
++++ gnome/linphone.c Wed Mar 23 19:33:00 2005
+@@ -255,9 +255,10 @@
+ LinphoneCore *lc=get_core();
+ GList *elem=linphone_core_get_proxy_config_list(lc);
+ LinphoneProxyConfig *cfg=NULL;
+- linphone_core_get_default_proxy(lc,&cfg);
+ GtkWidget *combo;
+- GtkWidget *hbox=lookup_widget(window,"proxy_hbox");
++ GtkWidget *hbox;
++ linphone_core_get_default_proxy(lc,&cfg);
++ hbox=lookup_widget(window,"proxy_hbox");
+ if (elem==NULL){
+ gtk_widget_hide(hbox);
+ return;
diff --git a/net/linphone-base/files/patch-ltmain.sh b/net/linphone-base/files/patch-ltmain.sh
deleted file mode 100644
index d35bdf99a3c2..000000000000
--- a/net/linphone-base/files/patch-ltmain.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-
-$FreeBSD$
-
---- ltmain.sh.orig Wed May 14 00:39:58 2003
-+++ ltmain.sh Sun Aug 17 19:29:50 2003
-@@ -4325,10 +4325,12 @@
- fi
-
- # Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/net/linphone-base/files/patch-mediastreamer2::Makefile.in b/net/linphone-base/files/patch-mediastreamer2::Makefile.in
new file mode 100644
index 000000000000..413e367e4838
--- /dev/null
+++ b/net/linphone-base/files/patch-mediastreamer2::Makefile.in
@@ -0,0 +1,20 @@
+--- mediastreamer2/Makefile.in.orig Tue Mar 22 00:53:40 2005
++++ mediastreamer2/Makefile.in Wed Mar 23 17:53:26 2005
+@@ -53,7 +53,7 @@
+ @BUILD_UGLIB_TRUE@am__DEPENDENCIES_2 = \
+ @BUILD_UGLIB_TRUE@ $(top_builddir)/support/libuglib.la
+ libmediastreamer2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+- ../gsmlib/libgsm.la ../lpc10-1.5/liblpc10.la \
++ ../lpc10-1.5/liblpc10.la \
+ ../oRTP/src/libortp.la $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1)
+@@ -311,7 +311,7 @@
+ msringplayer.c msringplayer.h waveheader.h
+
+ libmediastreamer2_la_LIBADD = $(GLIB_LIBS) \
+- ../gsmlib/libgsm.la \
++ -lgsm \
+ ../lpc10-1.5/liblpc10.la \
+ ../oRTP/src/libortp.la \
+ $(JACK_LIBS)\
diff --git a/net/linphone-base/files/patch-mediastreamer::Makefile.in b/net/linphone-base/files/patch-mediastreamer::Makefile.in
index 4570677c1ee6..fb3d0f846d89 100644
--- a/net/linphone-base/files/patch-mediastreamer::Makefile.in
+++ b/net/linphone-base/files/patch-mediastreamer::Makefile.in
@@ -1,37 +1,20 @@
-
-$FreeBSD$
-
---- mediastreamer/Makefile.in.orig Thu Apr 1 05:40:41 2004
-+++ mediastreamer/Makefile.in Thu Apr 15 03:30:15 2004
-@@ -222,7 +222,7 @@
-
+--- mediastreamer/Makefile.in.orig Tue Mar 22 00:53:39 2005
++++ mediastreamer/Makefile.in Wed Mar 23 17:52:23 2005
+@@ -66,7 +66,7 @@
+ @BUILD_UGLIB_TRUE@ $(top_builddir)/support/libuglib.la
+ @BUILD_TRUESPEECH_TRUE@am__DEPENDENCIES_3 = ../win32acm/libwin32acm.a
+ libmediastreamer_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+- ../gsmlib/libgsm.la ../lpc10-1.5/liblpc10.la \
++ ../lpc10-1.5/liblpc10.la \
+ ../oRTP/src/libortp.la $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) \
+@@ -493,7 +493,7 @@
+ $(VIDEO_SOURCES)
libmediastreamer_la_LIBADD = $(GLIB_LIBS) \
- ../gsmlib/libgsm.la \
+ -lgsm \
../lpc10-1.5/liblpc10.la \
../oRTP/src/libortp.la \
- $(SUPPORTLIB) \
-@@ -336,7 +336,6 @@
- -I$(top_srcdir)/mediastreamer \
- -I$(top_srcdir)/oRTP/src \
- -I$(top_srcdir)/oRTP \
-- -I$(top_srcdir)/gsmlib \
- -I$(top_srcdir)/lpc10-1.5 \
- -I$(top_srcdir)/ffmpeg/libavcodec \
- -I/usr/X11R6/include/X11 \
-@@ -352,12 +351,12 @@
-
- libmediastreamer_la_LDFLAGS =
- @BUILD_TRUESPEECH_TRUE@libmediastreamer_la_DEPENDENCIES = \
--@BUILD_TRUESPEECH_TRUE@ ../gsmlib/libgsm.la \
-+@BUILD_TRUESPEECH_TRUE@ -lgsm \
- @BUILD_TRUESPEECH_TRUE@ ../lpc10-1.5/liblpc10.la \
- @BUILD_TRUESPEECH_TRUE@ ../oRTP/src/libortp.la \
- @BUILD_TRUESPEECH_TRUE@ ../win32acm/libwin32acm.a
- @BUILD_TRUESPEECH_FALSE@libmediastreamer_la_DEPENDENCIES = \
--@BUILD_TRUESPEECH_FALSE@ ../gsmlib/libgsm.la \
-+@BUILD_TRUESPEECH_FALSE@ -lgsm \
- @BUILD_TRUESPEECH_FALSE@ ../lpc10-1.5/liblpc10.la \
- @BUILD_TRUESPEECH_FALSE@ ../oRTP/src/libortp.la
- @BUILD_TRUESPEECH_TRUE@am__objects_1 = mstruespeechencoder.lo \
+ $(JACK_LIBS)\
diff --git a/net/linphone-base/files/patch-oRTP::Makefile.in b/net/linphone-base/files/patch-oRTP::Makefile.in
new file mode 100644
index 000000000000..9feb0c030ecf
--- /dev/null
+++ b/net/linphone-base/files/patch-oRTP::Makefile.in
@@ -0,0 +1,11 @@
+--- oRTP/Makefile.in.orig Tue Mar 22 00:53:54 2005
++++ oRTP/Makefile.in Wed Mar 23 18:51:57 2005
+@@ -209,7 +209,7 @@
+ #config.h.in and acconfig.h to avoid a bug in automake that prevent them to be included in the
+ #dist...
+ EXTRA_DIST = oRTP.prj ortp-config.h.in TODO pkg.list
+-SUBDIRS = src docs build include
++SUBDIRS = src build include
+ @WITH_EPM_TRUE@PKG_NAME = $(PACKAGE)-$(VERSION)-$(RELEASE)
+ all: ortp-config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
diff --git a/net/linphone-base/files/patch-oRTP::configure b/net/linphone-base/files/patch-oRTP::configure
index 328fe8ff9f07..1114fd9cd837 100644
--- a/net/linphone-base/files/patch-oRTP::configure
+++ b/net/linphone-base/files/patch-oRTP::configure
@@ -1,11 +1,13 @@
---- oRTP/configure.orig Thu Nov 20 19:42:24 2003
-+++ oRTP/configure Fri Nov 21 11:14:07 2003
-@@ -19430,8 +19430,6 @@
- CFLAGS="$CFLAGS +DA2.0W +DS2.0"
- fi
- fi
--else
-- CFLAGS="-O2 -g -Wall"
+--- oRTP/configure.orig Wed Mar 23 13:35:19 2005
++++ oRTP/configure Wed Mar 23 13:41:11 2005
+@@ -20712,10 +20712,6 @@
+ posixtimer_interval=20000
fi
- build_scheduler=yes
+-if test "$GCC" = "yes" ; then
+- CFLAGS="$CFLAGS -Werror"
+-fi
+-
+
+ cat >>confdefs.h <<_ACEOF
+ #define POSIXTIMER_INTERVAL $posixtimer_interval
diff --git a/net/linphone-base/files/patch-oRTP::src::port_fct.c b/net/linphone-base/files/patch-oRTP::src::port_fct.c
deleted file mode 100644
index ececcc89e337..000000000000
--- a/net/linphone-base/files/patch-oRTP::src::port_fct.c
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- oRTP/src/port_fct.c 2002/12/30 08:13:23 1.1
-+++ oRTP/src/port_fct.c 2002/12/30 08:13:35
-@@ -20,7 +20,7 @@
-
- /* port_fct.h. define methods to help for portability between unix and win32 */
-
--
-+#include <sched.h>
- #include "rtpsession.h"
-
- #include "port_fct.h"
diff --git a/net/linphone-base/files/patch-oRTP::src::rtpsession.c b/net/linphone-base/files/patch-oRTP::src::rtpsession.c
new file mode 100644
index 000000000000..1b36e29a001c
--- /dev/null
+++ b/net/linphone-base/files/patch-oRTP::src::rtpsession.c
@@ -0,0 +1,71 @@
+--- oRTP/src/rtpsession.c.orig Thu Mar 10 01:34:59 2005
++++ oRTP/src/rtpsession.c Wed Mar 23 15:27:20 2005
+@@ -377,16 +377,22 @@
+ close_socket (session->rtp.socket);
+ continue;
+ }
+-#ifndef __hpux
++#if !defined(__hpux) && !defined(__FreeBSD__)
+ switch (res->ai_family)
+ {
+ case AF_INET:
+ if (IN_MULTICAST(ntohl(((struct sockaddr_in *) res->ai_addr)->sin_addr.s_addr)))
+ {
++#if !defined(__FreeBSD__)
+ struct ip_mreqn mreq;
++#else
++ struct ip_mreq mreq;
++#endif
+ mreq.imr_multiaddr.s_addr = ((struct sockaddr_in *) res->ai_addr)->sin_addr.s_addr;
+ mreq.imr_address.s_addr = INADDR_ANY;
++#if !defined(__FreeBSD__)
+ mreq.imr_ifindex = 0;
++#endif
+ err = setsockopt(session->rtp.socket, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq));
+ if (err < 0)
+ {
+@@ -454,16 +460,22 @@
+ close_socket (session->rtcp.socket);
+ continue;
+ }
+-#ifndef __hpux
++#if !defined(__hpux) && !defined(__FreeBSD__)
+ switch (res->ai_family)
+ {
+ case AF_INET:
+ if (IN_MULTICAST(ntohl(((struct sockaddr_in *) res->ai_addr)->sin_addr.s_addr)))
+ {
++#if !defined(__FreeBSD__)
+ struct ip_mreqn mreq;
++#else
++ struct ip_mreq mreq;
++#endif
+ mreq.imr_multiaddr.s_addr = ((struct sockaddr_in *) res->ai_addr)->sin_addr.s_addr;
+ mreq.imr_address.s_addr = INADDR_ANY;
++#if !defined(__FreeBSD__)
+ mreq.imr_ifindex = 0;
++#endif
+ err = setsockopt(session->rtcp.socket, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq));
+ if (err < 0)
+ {
+@@ -555,13 +567,19 @@
+ close_socket (session->rtcp.socket);
+ return -1;
+ }
+-#ifndef __hpux
++#if !defined(__hpux) && !defined(__FreeBSD__)
+ if (IN_MULTICAST(ntohl(session->rtp.loc_addr.sin_addr.s_addr)))
+ {
++#if !defined(__FreeBSD__)
+ struct ip_mreqn mreq;
++#else
++ struct ip_mreq mreq;
++#endif
+ mreq.imr_multiaddr.s_addr = session->rtp.loc_addr.sin_addr.s_addr;
+ mreq.imr_address.s_addr = INADDR_ANY;
++#if !defined(__FreeBSD__)
+ mreq.imr_ifindex = 0;
++#endif
+ err = setsockopt(session->rtp.socket, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq));
+ if (err == 0)
+ err = setsockopt(session->rtcp.socket, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq));
diff --git a/net/linphone-base/files/patch-oRTP::src::scheduler.h b/net/linphone-base/files/patch-oRTP::src::scheduler.h
deleted file mode 100644
index a872fc24fcbd..000000000000
--- a/net/linphone-base/files/patch-oRTP::src::scheduler.h
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- oRTP/src/scheduler.h 2002/12/30 08:15:08 1.1
-+++ oRTP/src/scheduler.h 2002/12/30 08:15:16
-@@ -20,6 +20,8 @@
- #ifndef SCHEDULER_H
- #define SCHEDULER_H
-
-+#include <pthread.h>
-+
- #include "rtpsession.h"
- #include "rtptimer.h"
- #include "sessionset.h"
diff --git a/net/linphone-base/files/patch-osipua::src::sdphandler.c b/net/linphone-base/files/patch-osipua::src::sdphandler.c
deleted file mode 100644
index 3af14a5dfbc1..000000000000
--- a/net/linphone-base/files/patch-osipua::src::sdphandler.c
+++ /dev/null
@@ -1,13 +0,0 @@
-
-$FreeBSD$
-
---- osipua/src/sdphandler.c 2003/06/13 13:02:40 1.1
-+++ osipua/src/sdphandler.c 2003/06/13 13:02:48
-@@ -26,6 +26,7 @@
- #include <string.h>
- #include <sys/types.h>
- #include <sys/socket.h>
-+#include <netinet/in.h>
-
- #ifdef HAVE_IFADDRS_H
- #include <ifaddrs.h>
diff --git a/net/linphone-base/files/patch-osipua::src::utils.c b/net/linphone-base/files/patch-osipua::src::utils.c
deleted file mode 100644
index de13b44ec129..000000000000
--- a/net/linphone-base/files/patch-osipua::src::utils.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- osipua/src/utils.c.orig Thu Oct 23 13:06:43 2003
-+++ osipua/src/utils.c Thu Oct 23 13:07:24 2003
-@@ -382,6 +382,7 @@
- abort();
- return -1;
- }
-+ ((struct sockaddr_in *)(res->ai_addr))->sin_port=htons(9999);
- err=connect(sock,res->ai_addr,res->ai_addrlen);
- if (err<0) {
- osip_trace(OSIP_ERROR,("Error in connect: %s\n",strerror(errno)));
diff --git a/net/linphone-base/files/patch-share::Makefile.in b/net/linphone-base/files/patch-share::Makefile.in
deleted file mode 100644
index cb41ac4afd97..000000000000
--- a/net/linphone-base/files/patch-share::Makefile.in
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- share/Makefile.in.orig Wed Aug 20 17:49:21 2003
-+++ share/Makefile.in Sat Aug 23 01:55:33 2003
-@@ -170,7 +170,7 @@
- confexdir = $(datadir)/linphonec
- confex_DATA = linphonec
-
--pkgconfigdir = $(prefix)/lib/pkgconfig
-+pkgconfigdir = $(prefix)/libdata/pkgconfig
- pkgconfig_DATA = linphone.pc
-
- EXTRA_DIST = $(LINPHONE_SOUNDS) \