summaryrefslogtreecommitdiff
path: root/net/ser/files/patch-Makefile.defs
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2006-04-21 06:30:43 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2006-04-21 06:30:43 +0000
commitdfa121d9d966b38ff43f26fb1ce7a474f2e26cb5 (patch)
tree33a992c0c31ed5427e8c08d35b0c007099d52957 /net/ser/files/patch-Makefile.defs
parentRequire perl from ports. (diff)
Merge in latest local changes and improvements:
o Allow radius and presence modules to be turned off; o don't override CFLAGS; o don't duplicate error messages to the console; o postgresql backend doesn't set NULL flag on results properly, so that don't use VAL_NULL() macros on them; o reconnect to MySQL db when necessary; o relax transaction matching rules, so that it works with wider range of phones; o add some missed sanity checks in usrloc; o ignore incoming UDP messages that are shorter than certain limin (128 bytes). They cannot be SIP messages anyway.
Diffstat (limited to 'net/ser/files/patch-Makefile.defs')
-rw-r--r--net/ser/files/patch-Makefile.defs19
1 files changed, 15 insertions, 4 deletions
diff --git a/net/ser/files/patch-Makefile.defs b/net/ser/files/patch-Makefile.defs
index 90c41afc2616..5a72b5cc5f15 100644
--- a/net/ser/files/patch-Makefile.defs
+++ b/net/ser/files/patch-Makefile.defs
@@ -1,5 +1,8 @@
---- Makefile.defs.orig Wed Jan 11 03:55:58 2006
-+++ Makefile.defs Thu Mar 2 19:08:17 2006
+
+$FreeBSD$
+
+--- Makefile.defs.orig
++++ Makefile.defs
@@ -169,10 +169,11 @@
INSTALL-TOUCH = touch # used to create the file first (good to
# make solaris install work)
@@ -32,7 +35,7 @@
ifeq ($(CC_NAME), gcc)
#common stuff
- CFLAGS=-g -O9 -funroll-loops -Wcast-align $(PROFILE) \
-+ CFLAGS=-funroll-loops -Wcast-align $(PROFILE) \
++ CFLAGS+=-funroll-loops -Wcast-align $(PROFILE) \
-Wall
#if gcc 4.0+
ifeq ($(CC_SHORTVER), 4.x)
@@ -132,7 +135,15 @@
LDFLAGS+=-g $(PROFILE)
MOD_LDFLAGS=-G $(LDFLAGS)
endif
-@@ -1034,7 +1034,7 @@
+@@ -1028,13 +1028,14 @@
+
+ ifeq ($(OS), freebsd)
+ DEFS+=-DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN \
+- -DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_CONNECT_ECONNRESET_BUG
++ -DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_CONNECT_ECONNRESET_BUG \
++ -I$(LOCALBASE)/include
+ ifneq ($(found_lock_method), yes)
+ DEFS+= -DUSE_PTHREAD_MUTEX # try pthread sems
found_lock_method=yes
LIBS= -pthread -lfl #dlopen is in libc
else