[Pkg-voip-commits] r2886 - asterisk/branches/experimental/debian/patches

Tzafrir Cohen tzafrir-guest at alioth.debian.org
Sun Dec 31 04:11:27 CET 2006


Author: tzafrir-guest
Date: 2006-12-31 04:11:26 +0100 (Sun, 31 Dec 2006)
New Revision: 2886

Added:
   asterisk/branches/experimental/debian/patches/autoconf_h323.dpatch
   asterisk/branches/experimental/debian/patches/autoconf_order.dpatch
Log:
 * autoconf_order.dpatch: fix autoconf invocation.
 * autoconf_h323.dpatch: make autoconf detect chan_h323. 

Building chan_h323 seems to require a bit more tweaking, 
and is not included yet.


Added: asterisk/branches/experimental/debian/patches/autoconf_h323.dpatch
===================================================================
--- asterisk/branches/experimental/debian/patches/autoconf_h323.dpatch	2006-12-31 03:06:39 UTC (rev 2885)
+++ asterisk/branches/experimental/debian/patches/autoconf_h323.dpatch	2006-12-31 03:11:26 UTC (rev 2886)
@@ -0,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## autoconf_h323.dpatch by Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: make autoconf properly detect pwlib and openh323 from debs.
+## DP: Upstream bug: http://bugs.digium.com/view.php?id=8699 .
+
+ at DPATCH@
+diff -urNad asterisk-1.4.0~dfsg~/configure.ac asterisk-1.4.0~dfsg/configure.ac
+--- asterisk-1.4.0~dfsg~/configure.ac	2006-12-18 18:55:46.000000000 +0200
++++ asterisk-1.4.0~dfsg/configure.ac	2006-12-31 02:59:45.000000000 +0200
+@@ -719,7 +719,7 @@
+ 	if test "${HAS_PWLIB:-unset}" != "unset"; then
+ 		AST_CHECK_OPENH323_PLATFORM()
+ 
+-		PLATFORM_PWLIB="pt_${PWLIB_PLATFORM}_r"
++		PLATFORM_PWLIB="pt"
+ 
+ 		AST_CHECK_PWLIB_BUILD([PWLib], [PWLIB],
+ 			[Define if your system has the PWLib libraries.],
+@@ -743,7 +743,7 @@
+ 	AST_CHECK_OPENH323()
+ 	AST_CHECK_PWLIB_VERSION([OpenH323], [OPENH323], [openh323buildopts.h], [1], [17], [3])
+ 	AST_CHECK_OPENH323_BUILD()
+-	PLATFORM_OPENH323="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}"
++	PLATFORM_OPENH323="openh323"
+ 	AST_CHECK_PWLIB_BUILD([OpenH323], [OPENH323],
+ 		[Define if your system has the OpenH323 libraries.],
+ 		[#include "ptlib.h"


Property changes on: asterisk/branches/experimental/debian/patches/autoconf_h323.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: asterisk/branches/experimental/debian/patches/autoconf_order.dpatch
===================================================================
--- asterisk/branches/experimental/debian/patches/autoconf_order.dpatch	2006-12-31 03:06:39 UTC (rev 2885)
+++ asterisk/branches/experimental/debian/patches/autoconf_order.dpatch	2006-12-31 03:11:26 UTC (rev 2886)
@@ -0,0 +1,32 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## autconf_order.dpatch by Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix autoconf orderng. 
+## From http://svn.digium.com/view/asterisk?view=rev&rev=48960 . Should
+## part of 1.4.1 .
+
+ at DPATCH@
+--- asterisk-1.4.0/configure.ac   2006/12/25 06:42:15     48959
++++ asterisk-1.4.0/configure.ac   2006/12/25 17:04:48     48960
+@@ -21,6 +21,9 @@
+ AC_COPYRIGHT("Asterisk")
+ AC_REVISION($Revision$)
+ 
++AC_GNU_SOURCE
++AC_USE_SYSTEM_EXTENSIONS
++
+ case "${host_os}" in
+      freebsd*)
+      ac_default_prefix=/usr/local
+@@ -89,9 +92,6 @@
+ fi
+ AC_SUBST(PBX_OSREV)
+ 
+-# This needs to be before any macros that use the C compiler
+-AC_GNU_SOURCE
+-
+ AH_TOP(
+ #ifndef ASTERISK_AUTOCONFIG_H
+ #define ASTERISK_AUTOCONFIG_H
+


Property changes on: asterisk/branches/experimental/debian/patches/autoconf_order.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-voip-commits mailing list