From 83fc5069f42d8cef238ff6a12efadbe497c778fc Mon Sep 17 00:00:00 2001
From: wyvie <elijahrum@gmail.com>
Date: Wed, 1 Oct 2014 08:47:01 +0400
Subject: [PATCH] lua: Fixed luasql.patch

Closes #4344
---
 pkgs/development/lua-modules/luasql.patch | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/pkgs/development/lua-modules/luasql.patch b/pkgs/development/lua-modules/luasql.patch
index c2b6b067a2d..e91840101ee 100644
--- a/pkgs/development/lua-modules/luasql.patch
+++ b/pkgs/development/lua-modules/luasql.patch
@@ -1,8 +1,8 @@
---- a/config	2014-09-19 13:32:52.356775109 +0400
-+++ b/config	2014-09-19 13:33:42.750501633 +0400
+--- a/config	2013-02-18 19:36:44.000000000 +0400
++++ b/config	2014-10-01 08:36:37.104254404 +0400
 @@ -1,12 +1,12 @@
  # $Id: config,v 1.10 2008/05/30 17:21:18 tomas Exp $
-
+ 
  # Driver (leave uncommented ONLY the line with the name of the driver)
 -T= mysql
 +#T= mysql
@@ -13,7 +13,7 @@
 -#T=sqlite3
 +T=sqlite3
  #T=firebird
-
+ 
  # Installation directories
 @@ -37,8 +37,8 @@
  ######## MySQL
@@ -26,14 +26,12 @@
  ######## Oracle OCI8
  #DRIVER_LIBS= -L/home/oracle/OraHome1/lib -lz -lclntsh
  #DRIVER_INCS= -I/home/oracle/OraHome1/rdbms/demo -I/home/oracle/OraHome1/rdbms/public
-@@ -51,8 +51,8 @@
+@@ -51,7 +51,7 @@
  #DRIVER_LIBS= -lsqlite
  #DRIVER_INCS=
- ######## SQLite3
+ ######## SQLite3 
 -#DRIVER_LIBS= -L/opt/local/lib -lsqlite3
--#DRIVER_INCS= -I/opt/local/include
-+DRIVER_LIBS= -L/opt/local/lib -lsqlite3
-+DRIVER_INCS= -I/opt/local/include
++DRIVER_LIBS= -lsqlite3
+ #DRIVER_INCS= -I/opt/local/include
  ######## ODBC
  #DRIVER_LIBS= -L/usr/local/lib -lodbc
- #DRIVER_INCS= -DUNIXODBC -I/usr/local/include