summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/opal3/Makefile5
-rw-r--r--net/opal3/files/patch-spandsp_fax.cpp10
-rw-r--r--net/opal3/files/patch-spandsp_if.cpp10
-rw-r--r--net/opal3/files/patch-spandsp_if.h14
4 files changed, 23 insertions, 16 deletions
diff --git a/net/opal3/Makefile b/net/opal3/Makefile
index f294ce7..a52c6e1 100644
--- a/net/opal3/Makefile
+++ b/net/opal3/Makefile
@@ -11,11 +11,12 @@ PORTREVISION= 13
CATEGORIES= net
MASTER_SITES= SF/opalvoip/v3.6%20Lalande/Stable%205
DISTNAME= opal-${PORTVERSION}
-LICENSE= MPL
-MAINTAINER= melifaro@ipfw.ru
+MAINTAINER= gnome@FreeBSD.org
COMMENT= VoIP abstraction library
+LICENSE= MPL
+
LIB_DEPENDS= pt-2.6.[4-9]:${PORTSDIR}/devel/ptlib26
CONFLICTS= opal-2.*
diff --git a/net/opal3/files/patch-spandsp_fax.cpp b/net/opal3/files/patch-spandsp_fax.cpp
new file mode 100644
index 0000000..a565222
--- /dev/null
+++ b/net/opal3/files/patch-spandsp_fax.cpp
@@ -0,0 +1,10 @@
+--- plugins/fax/fax_spandsp/spandsp_fax.cpp.orig 2011-12-26 21:02:09.000000000 +0000
++++ plugins/fax/fax_spandsp/spandsp_fax.cpp 2011-12-26 21:01:38.000000000 +0000
+@@ -42,6 +42,7 @@
+ *
+ */
+
++#define __STDC_LIMIT_MACROS
+ #include <codec/opalplugin.h>
+
+ extern "C" {
diff --git a/net/opal3/files/patch-spandsp_if.cpp b/net/opal3/files/patch-spandsp_if.cpp
new file mode 100644
index 0000000..a130da0
--- /dev/null
+++ b/net/opal3/files/patch-spandsp_if.cpp
@@ -0,0 +1,10 @@
+--- plugins/fax/fax_spandsp/spandsp_util/spandsp_if.cpp.orig 2011-12-26 21:04:48.000000000 +0000
++++ plugins/fax/fax_spandsp/spandsp_util/spandsp_if.cpp 2011-12-26 21:05:21.000000000 +0000
+@@ -23,6 +23,7 @@
+ * $Id: spandsp_if.cpp,v 1.7 2007/07/24 04:39:44 csoutheren Exp $
+ */
+
++#define __STDC_LIMIT_MACROS
+ #include "spandsp_if.h"
+
+ #include <iostream>
diff --git a/net/opal3/files/patch-spandsp_if.h b/net/opal3/files/patch-spandsp_if.h
deleted file mode 100644
index 70a1034..0000000
--- a/net/opal3/files/patch-spandsp_if.h
+++ /dev/null
@@ -1,14 +0,0 @@
---- plugins/fax/fax_spandsp/spandsp_util/spandsp_if.h.orig 2009-08-30 02:52:53.000000000 +0400
-+++ plugins/fax/fax_spandsp/spandsp_util/spandsp_if.h 2009-08-30 02:53:00.000000000 +0400
-@@ -24,6 +24,11 @@
- */
-
- extern "C" {
-+#undef __cplusplus
-+#undef _MACHINE__STDINT_H_
-+#include <machine/_stdint.h>
-+#define __cplusplus
-+
- #include "spandsp.h"
- };
-
OpenPOWER on IntegriCloud