From a5acfa218c2e2bc6194ae55a0d155ceb4db6b888 Mon Sep 17 00:00:00 2001
From: Travis Cross <tc@traviscross.com>
Date: Wed, 31 Oct 2012 15:17:09 +0000
Subject: [PATCH] Help mod_h323 build on wheezy

libopenh323-dev is in squeeze and sid, but it doesn't look like it's
going to make it into wheezy at this point.

H323Plus claims to be a drop-in replacement, but this should probably
be tested thoroughly.

Note that mod_h323 is still in the avoid_mods list pending testing to
verify that it builds cleanly on each target.

Thanks-to: Steven Ayre <steveayre@gmail.com>

FS-4567 --resolve
---
 debian/bootstrap.sh    | 2 +-
 debian/control-modules | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh
index 9b3e9687fd..5307b25573 100755
--- a/debian/bootstrap.sh
+++ b/debian/bootstrap.sh
@@ -176,7 +176,7 @@ Build-Depends:
  wget, pkg-config,
 # configure options
  libssl-dev, unixodbc-dev,
- libncurses5-dev, libjpeg62-dev,
+ libncurses5-dev, libjpeg62-dev | libjpeg8-dev,
  python-dev, erlang-dev,
 # documentation
  doxygen,
diff --git a/debian/control-modules b/debian/control-modules
index b9f0a5772a..1787a81389 100644
--- a/debian/control-modules
+++ b/debian/control-modules
@@ -384,7 +384,7 @@ Build-Depends: libx11-dev
 Module: endpoints/mod_h323
 Description: mod_h323
  Adds mod_h323.
-Build-Depends: libopenh323-dev, libpt-dev
+Build-Depends: libopenh323-dev | libh323plus-dev, libpt-dev
 
 Module: endpoints/mod_html5
 Description: HTML5 endpoint module