update asterisk 1.2.x to 1.2.24, cleanup
[openwrt/svn-archive/archive.git] / net / asterisk / patches / 020-chan_h323.patch
index 95424523762d110f31c475cc4751973273e83c1a..982826350b04a623a7efdf0cbc1f615ead1fc5f3 100644 (file)
@@ -1,15 +1,26 @@
-diff -Nru asterisk-1.2.14.org/channels/h323/Makefile asterisk-1.2.14/channels/h323/Makefile
---- asterisk-1.2.14.org/channels/h323/Makefile 2005-11-29 19:24:39.000000000 +0100
-+++ asterisk-1.2.14/channels/h323/Makefile     2006-12-27 09:22:09.000000000 +0100
-@@ -30,7 +30,7 @@
+diff -Nru asterisk-1.2.24.org/channels/Makefile asterisk-1.2.24/channels/Makefile
+--- asterisk-1.2.24.org/channels/h323/Makefile 2007-03-06 16:17:16.000000000 +0100
++++ asterisk-1.2.24/channels/h323/Makefile     2007-09-04 18:37:58.000000000 +0200
+@@ -21,9 +21,8 @@
+ OPENH323DIR=$(HOME)/openh323
+ endif
+-clean:
+-      rm -f *.so *.o .depend
+-
++include $(OPENH323DIR)/openh323u.mak
++
+ $(SOURCES)::  $(SOURCES:.cxx=.cpp)
+       ln -f $< $@
+@@ -31,7 +30,6 @@
        touch $(SOURCES)
  
  libchanh323.a:        $(OBJS)
--      ar crv $@ $(OBJS)
-+      $(AR) crv $@ $(OBJS)
+-      include $(OPENH323DIR)/openh323u.mak
+       ar crv $@ $(OBJS)
  
  Makefile.ast: FORCE
-       @echo H323CFLAGS  = $(STDCCFLAGS) $(OPTCCFLAGS) $(CFLAGS) >$@.tmp
 diff -Nru asterisk-1.2.14.org/channels/Makefile asterisk-1.2.14/channels/Makefile
 --- asterisk-1.2.14.org/channels/Makefile      2006-08-17 23:57:19.000000000 +0200
 +++ asterisk-1.2.14/channels/Makefile  2006-12-27 09:22:09.000000000 +0100