aboutsummaryrefslogtreecommitdiff
path: root/net/opal3/files
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>2003-01-28 15:29:59 +0000
committerRoger Hardiman <roger@FreeBSD.org>2003-01-28 15:29:59 +0000
commit0c2eea3a5f85891a89ebb6c2739de975320e030b (patch)
treeca1abde30f9d8bb16efa4f4f944d00f61e1e8c6f /net/opal3/files
parent7f6cedb0583403c297507f00a02f00e1c74b4cfe (diff)
downloadports-0c2eea3a5f85891a89ebb6c2739de975320e030b.tar.gz
ports-0c2eea3a5f85891a89ebb6c2739de975320e030b.zip
Notes
Diffstat (limited to 'net/opal3/files')
-rw-r--r--net/opal3/files/patch-ab21
-rw-r--r--net/opal3/files/patch-ac19
-rw-r--r--net/opal3/files/patch-ad51
-rw-r--r--net/opal3/files/patch-ae131
-rw-r--r--net/opal3/files/patch-openh323u35
-rw-r--r--net/opal3/files/patch-unix (renamed from net/opal3/files/patch-aa)26
6 files changed, 55 insertions, 228 deletions
diff --git a/net/opal3/files/patch-ab b/net/opal3/files/patch-ab
deleted file mode 100644
index 7548b36a2007..000000000000
--- a/net/opal3/files/patch-ab
+++ /dev/null
@@ -1,21 +0,0 @@
-*** openh323u.mak.orig Wed May 22 00:57:21 2002
---- openh323u.mak Wed May 22 00:57:51 2002
-*************** HAS_IXJ = 1
-*** 139,144 ****
---- 139,154 ----
- STDCCFLAGS += -DHAS_IXJ -I/usr/local/include
- endif
-
-+ ifneq (,$(wildcard /usr/local/include/sys/telephony.h))
-+ HAS_IXJ = 1
-+ STDCCFLAGS += -DHAS_IXJ -I/usr/local/include
-+ endif
-+
-+ ifneq (,$(wildcard $(OPENH323DIR)/include/sys/telephony.h))
-+ HAS_IXJ = 1
-+ STDCCFLAGS += -DHAS_IXJ
-+ endif
-+
- ifneq (,$(wildcard $(SYSINCDIR)/linux/soundcard.h))
- HAS_OSS = 1
- STDCCFLAGS += -DHAS_OSS
diff --git a/net/opal3/files/patch-ac b/net/opal3/files/patch-ac
deleted file mode 100644
index d2ab79c6a637..000000000000
--- a/net/opal3/files/patch-ac
+++ /dev/null
@@ -1,19 +0,0 @@
-*** ../pwlib/src/ptlib/unix/Makefile.orig Sun Oct 27 15:54:26 2002
---- ../pwlib/src/ptlib/unix/Makefile Sun Oct 27 15:54:56 2002
-*************** $(DEPDIR)/getdate.tab.dep: $(GETDATE_SOU
-*** 553,559 ****
- $(CC) $(STDCCFLAGS) -M $< >> $@
-
- $(GETDATE_SOURCE): $(COMMON_SRC_DIR)/getdate.y
-! bison $(COMMON_SRC_DIR)/getdate.y
-
- #######################################################
-
---- 553,559 ----
- $(CC) $(STDCCFLAGS) -M $< >> $@
-
- $(GETDATE_SOURCE): $(COMMON_SRC_DIR)/getdate.y
-! bison $(COMMON_SRC_DIR)/getdate.y -o $(COMMON_SRC_DIR)/getdate.tab.c
-
- #######################################################
-
diff --git a/net/opal3/files/patch-ad b/net/opal3/files/patch-ad
deleted file mode 100644
index af0be448519a..000000000000
--- a/net/opal3/files/patch-ad
+++ /dev/null
@@ -1,51 +0,0 @@
-*** ../pwlib/src/ptlib/unix/video4bsd.cxx.orig Tue Oct 29 00:15:59 2002
---- ../pwlib/src/ptlib/unix/video4bsd.cxx Tue Oct 29 00:16:17 2002
-***************
-*** 24,29 ****
---- 24,32 ----
- * Contributor(s): Roger Hardiman <roger@freebsd.org>
- *
- * $Log: video4bsd.cxx,v $
-+ * Revision 1.20 2002/10/28 19:12:45 rogerh
-+ * Add svideo input support for Lars Eggert <larse@isi.edu>
-+ *
- * Revision 1.19 2002/04/10 08:40:36 rogerh
- * Simplify the SetVideoChannelFormat() code. Use the implementation in the
- * ancestor class.
-*************** BOOL PVideoInputDevice::Open(const PStri
-*** 129,135 ****
- videoCapability.minwidth = 32;
- videoCapability.maxheight = 768;
- videoCapability.maxwidth = 576;
-! videoCapability.channels = 4;
-
- // set height and width
- frameHeight = videoCapability.maxheight;
---- 132,138 ----
- videoCapability.minwidth = 32;
- videoCapability.maxheight = 768;
- videoCapability.maxwidth = 576;
-! videoCapability.channels = 5;
-
- // set height and width
- frameHeight = videoCapability.maxheight;
-*************** BOOL PVideoInputDevice::SetChannel(int n
-*** 259,266 ****
- return FALSE;
-
- // set channel information
-! static int chnl[4] = { METEOR_INPUT_DEV0, METEOR_INPUT_DEV1,
-! METEOR_INPUT_DEV2, METEOR_INPUT_DEV3 };
- int channel = chnl[newChannel];
-
- // set the information
---- 262,270 ----
- return FALSE;
-
- // set channel information
-! static int chnl[5] = { METEOR_INPUT_DEV0, METEOR_INPUT_DEV1,
-! METEOR_INPUT_DEV2, METEOR_INPUT_DEV3,
-! METEOR_INPUT_DEV_SVIDEO };
- int channel = chnl[newChannel];
-
- // set the information
diff --git a/net/opal3/files/patch-ae b/net/opal3/files/patch-ae
deleted file mode 100644
index 35ba7fc56b4c..000000000000
--- a/net/opal3/files/patch-ae
+++ /dev/null
@@ -1,131 +0,0 @@
-*** ../pwlib/src/ptlib/common/object.cxx.orig Tue Oct 29 00:21:28 2002
---- ../pwlib/src/ptlib/common/object.cxx Tue Oct 29 00:22:07 2002
-***************
-*** 27,32 ****
---- 27,38 ----
- * Contributor(s): ______________________________________.
- *
- * $Log: object.cxx,v $
-+ * Revision 1.62 2002/10/21 12:52:27 rogerh
-+ * Add throw()s to new and delete. Error reported by FreeBSD 5.0 and GCC 3.2.1
-+ *
-+ * Revision 1.61 2002/10/10 04:43:44 robertj
-+ * VxWorks port, thanks Martijn Roest
-+ *
- * Revision 1.60 2002/09/06 05:29:42 craigs
- * Reversed order of memory block check on delete to improve performance in
- * Linux debug mode
-*************** void PAssertFunc(const char * file, int
-*** 308,332 ****
---- 314,354 ----
- #undef free
-
-
-+ #if __GNUC__ >= 3
-+ void * operator new(size_t nSize) throw (std::bad_alloc)
-+ #else
- void * operator new(size_t nSize)
-+ #endif
- {
- return PMemoryHeap::Allocate(nSize, (const char *)NULL, 0, NULL);
- }
-
-
-+ #if __GNUC__ >= 3
-+ void * operator new[](size_t nSize) throw (std::bad_alloc)
-+ #else
- void * operator new[](size_t nSize)
-+ #endif
- {
- return PMemoryHeap::Allocate(nSize, (const char *)NULL, 0, NULL);
- }
-
-
-+ #if __GNUC__ >= 3
-+ void operator delete(void * ptr) throw()
-+ #else
- void operator delete(void * ptr)
-+ #endif
- {
- PMemoryHeap::Deallocate(ptr, NULL);
- }
-
-
-+ #if __GNUC__ >= 3
-+ void operator delete[](void * ptr) throw()
-+ #else
- void operator delete[](void * ptr)
-+ #endif
- {
- PMemoryHeap::Deallocate(ptr, NULL);
- }
-*************** void PMemoryHeap::InternalDumpObjectsSin
-*** 814,829 ****
---- 836,863 ----
-
- #else // PMEMORY_CHECK
-
-+ #ifndef P_VXWORKS
-+
-+ #if __GNUC__ >= 3
-+ void * operator new[](size_t nSize) throw (std::bad_alloc)
-+ #else
- void * operator new[](size_t nSize)
-+ #endif
- {
- return malloc(nSize);
- }
-
-+ #if __GNUC__ >= 3
-+ void operator delete[](void * ptr) throw ()
-+ #else
- void operator delete[](void * ptr)
-+ #endif
- {
- free(ptr);
- }
-
-+ #endif // !P_VXWORKS
-+
- #endif // PMEMORY_CHECK
-
-
-*************** istream & operator>>(istream & stream, P
-*** 1505,1510 ****
---- 1539,1574 ----
-
-
- #endif
-+
-+
-+ #ifdef P_TORNADO
-+
-+ // the library provided with Tornado 2.0 does not contain implementation
-+ // for the functions defined below, therefor the own implementation
-+
-+ ostream & ostream::operator<<(PInt64 v)
-+ {
-+ return *this << (long)(v >> 32) << (long)(v & 0xFFFFFFFF);
-+ }
-+
-+
-+ ostream & ostream::operator<<(PUInt64 v)
-+ {
-+ return *this << (long)(v >> 32) << (long)(v & 0xFFFFFFFF);
-+ }
-+
-+ istream & istream::operator>>(PInt64 & v)
-+ {
-+ return *this >> (long)(v >> 32) >> (long)(v & 0xFFFFFFFF);
-+ }
-+
-+
-+ istream & istream::operator>>(PUInt64 & v)
-+ {
-+ return *this >> (long)(v >> 32) >> (long)(v & 0xFFFFFFFF);
-+ }
-+
-+ #endif // P_TORNADO
-
-
- // End Of File ///////////////////////////////////////////////////////////////
diff --git a/net/opal3/files/patch-openh323u b/net/opal3/files/patch-openh323u
new file mode 100644
index 000000000000..6347c8a2d874
--- /dev/null
+++ b/net/opal3/files/patch-openh323u
@@ -0,0 +1,35 @@
+*** openh323u.mak.orig Tue Nov 26 10:24:54 2002
+--- openh323u.mak Tue Jan 28 13:51:51 2003
+*************** LIBDIRS += $(OPENH323DIR)
+*** 137,147 ****
+
+
+ OH323_SRCDIR = $(OPENH323DIR)/src
+- ifdef PREFIX
+- OH323_INCDIR = $(PREFIX)/include/openh323
+- else
+ OH323_INCDIR = $(OPENH323DIR)/include
+- endif
+ OH323_LIBDIR = $(OPENH323DIR)/lib
+
+
+--- 137,143 ----
+*************** endif
+*** 192,197 ****
+--- 188,203 ----
+ ifneq (,$(wildcard /usr/local/include/sys/telephony.h))
+ HAS_IXJ = 1
+ STDCCFLAGS += -DHAS_IXJ -I/usr/local/include
++ endif
++
++ ifneq (,$(wildcard /usr/local/include/sys/telephony.h))
++ HAS_IXJ = 1
++ STDCCFLAGS += -DHAS_IXJ -I/usr/local/include
++ endif
++
++ ifneq (,$(wildcard $(OPENH323DIR)/include/sys/telephony.h))
++ HAS_IXJ = 1
++ STDCCFLAGS += -DHAS_IXJ
+ endif
+
+ ifneq (,$(wildcard $(SYSINCDIR)/linux/soundcard.h))
diff --git a/net/opal3/files/patch-aa b/net/opal3/files/patch-unix
index 1413a9f626a2..54e595a1f4c9 100644
--- a/net/opal3/files/patch-aa
+++ b/net/opal3/files/patch-unix
@@ -1,7 +1,7 @@
-*** ../pwlib/make/unix.mak.orig Tue May 7 02:57:51 2002
---- ../pwlib/make/unix.mak Wed May 22 00:53:00 2002
+*** ../pwlib/make/unix.mak.orig Fri Nov 22 10:59:27 2002
+--- ../pwlib/make/unix.mak Tue Jan 28 13:51:15 2003
*************** ifeq ($(OSTYPE),FreeBSD)
-*** 644,654 ****
+*** 770,780 ****
P_PTHREADS := 1
@@ -13,7 +13,7 @@
ifndef OSRELEASE
OSRELEASE := $(shell sysctl -n kern.osreldate)
---- 644,654 ----
+--- 770,780 ----
P_PTHREADS := 1
@@ -25,8 +25,22 @@
ifndef OSRELEASE
OSRELEASE := $(shell sysctl -n kern.osreldate)
+*************** SHELL := /bin/sh
+*** 1335,1345 ****
+
+ # Directories
+
+- ifdef PREFIX
+- UNIX_INC_DIR = $(PREFIX)/include/ptlib/unix
+- else
+ UNIX_INC_DIR = $(PWLIBDIR)/include/ptlib/unix
+- endif
+
+ ifndef UNIX_SRC_DIR
+ UNIX_SRC_DIR = $(PWLIBDIR)/src/ptlib/unix
+--- 1335,1341 ----
*************** LDFLAGS += $(DEBLDFLAGS)
-*** 1136,1142 ****
+*** 1375,1381 ****
else
@@ -34,7 +48,7 @@
#OPTCCFLAGS += -DP_USE_INLINES=1
#OPTCCFLAGS += -fconserve-space
ifneq ($(OSTYPE),Carbon)
---- 1136,1143 ----
+--- 1371,1378 ----
else