Description: Upstream changes introduced in version 2.0-1
 This patch has been created by dpkg-source during the package build.
 Here's the last changelog entry, hopefully it gives details on why
 those changes were made:
 .
 xdrawchem (2.0-1) unstable; urgency=low
 .
   * upgraded to the SVN subdir xdrawchem-qt4 published 3 years ago.
     it builds a release based on qt4. Closes: #604390
   * changed the reference "/usr/local/share/xdrawchem2" to
     /usr/share/xdrawchem2
   * changed the announced version number to 2.0, in order to distinguish
     this release from non-qt4 builds
   * fixed configure: changed qmake4 to qmake-qt4
   * changed the target xdrawchem2 to xdrawchem in xdrawchem.pro
   * enforced the use of bash in configure
 .
 The person named in the Author field signed this changelog entry.
Author: Georges Khaznadar <georgesk@ofset.org>
Bug-Debian: http://bugs.debian.org/604390

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- /dev/null
+++ xdrawchem-2.0/config.mak
@@ -0,0 +1,3 @@
+INCLUDEPATH += /usr/include/openbabel-2.0  
+LIBS += -lopenbabel  
+PREFIX = /usr
--- xdrawchem-2.0.orig/xdrawchem.pro
+++ xdrawchem-2.0/xdrawchem.pro
@@ -1,5 +1,5 @@
 TEMPLATE = app
-TARGET = xdrawchem2
+TARGET = xdrawchem
 
 !exists(config.mak) {
   error(Please run the configure script first.)
--- xdrawchem-2.0.orig/configure
+++ xdrawchem-2.0/configure
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 PREFIX="/usr/local"
 ONLY_HELP="no"
@@ -45,7 +45,7 @@ if [  "$ONLY_HELP" == "no" ] ; then
 	echo "PREFIX = $PREFIX" >> config.mak
 	echo -e "\nWill install in $PREFIX."
 	echo -n "Creating Makefiles..."
-	qmake4 -o Makefile xdrawchem.pro
+	qmake-qt4 -o Makefile xdrawchem.pro
 	echo -e " done.\n"
 fi
 
--- xdrawchem-2.0.orig/xdrawchem/defs.h
+++ xdrawchem-2.0/xdrawchem/defs.h
@@ -6,7 +6,7 @@
 // Ring directories (global, user)
 extern QString RingDir, HomeDir;
 
-const QString VERSION = QString::fromLatin1("1.99.1");
+const QString VERSION = QString::fromLatin1("2.0");
 
 // version string (makes updates easier :)
 #ifdef UNIX
--- xdrawchem-2.0.orig/xdrawchem/main.cpp
+++ xdrawchem-2.0/xdrawchem/main.cpp
@@ -85,7 +85,7 @@ int main( int argc, char **argv )
     }
     // set library directory (RINGDIR)
 #ifdef UNIX
-    QString dname( "/usr/local/share/xdrawchem2" );
+    QString dname( "/usr/share/xdrawchem2" );
 
     if ( dname.right( 1 ) != QString( "/" ) )
         dname.append( QString( "/" ) );
