aboutsummaryrefslogtreecommitdiff
path: root/net/openh323/files/patch-unix
diff options
context:
space:
mode:
Diffstat (limited to 'net/openh323/files/patch-unix')
-rw-r--r--net/openh323/files/patch-unix59
1 files changed, 59 insertions, 0 deletions
diff --git a/net/openh323/files/patch-unix b/net/openh323/files/patch-unix
new file mode 100644
index 000000000000..54e595a1f4c9
--- /dev/null
+++ b/net/openh323/files/patch-unix
@@ -0,0 +1,59 @@
+*** ../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)
+*** 770,780 ****
+
+ P_PTHREADS := 1
+
+! ifeq ($(MACHTYPE),x86)
+! ifdef CPUTYPE
+! STDCCFLAGS += -mcpu=$(CPUTYPE)
+! endif
+! endif
+
+ ifndef OSRELEASE
+ OSRELEASE := $(shell sysctl -n kern.osreldate)
+--- 770,780 ----
+
+ P_PTHREADS := 1
+
+! #ifeq ($(MACHTYPE),x86)
+! #ifdef CPUTYPE
+! #STDCCFLAGS += -mcpu=$(CPUTYPE)
+! #endif
+! #endif
+
+ 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)
+*** 1375,1381 ****
+
+ else
+
+! OPTCCFLAGS += -O3 -DNDEBUG
+ #OPTCCFLAGS += -DP_USE_INLINES=1
+ #OPTCCFLAGS += -fconserve-space
+ ifneq ($(OSTYPE),Carbon)
+--- 1371,1378 ----
+
+ else
+
+! #OPTCCFLAGS += -O3 -DNDEBUG
+! OPTCCFLAGS += -DNDEBUG
+ #OPTCCFLAGS += -DP_USE_INLINES=1
+ #OPTCCFLAGS += -fconserve-space
+ ifneq ($(OSTYPE),Carbon)