summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2017-05-07 11:17:41 +0000
committerpi <pi@FreeBSD.org>2017-05-07 11:17:41 +0000
commit98046fdb5c4fb506604d8999eadd158bfea538d1 (patch)
tree6d5b494306b26ddfab7d05feff7ed724baeb4ac9
parent0e775cb05484063464d25d9744abe64b85de39aa (diff)
downloadFreeBSD-ports-98046fdb5c4fb506604d8999eadd158bfea538d1.zip
FreeBSD-ports-98046fdb5c4fb506604d8999eadd158bfea538d1.tar.gz
databases/cegobridge: fix backChar() for Oracle/Postgres, too
-rw-r--r--databases/cegobridge/Makefile1
-rw-r--r--databases/cegobridge/files/patch-src_OracleAction.cc11
-rw-r--r--databases/cegobridge/files/patch-src_PostgresAction.cc11
3 files changed, 23 insertions, 0 deletions
diff --git a/databases/cegobridge/Makefile b/databases/cegobridge/Makefile
index 034623f..2c8210f 100644
--- a/databases/cegobridge/Makefile
+++ b/databases/cegobridge/Makefile
@@ -2,6 +2,7 @@
PORTNAME= cegobridge
PORTVERSION= 1.1.3
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.lemke-it.com/
diff --git a/databases/cegobridge/files/patch-src_OracleAction.cc b/databases/cegobridge/files/patch-src_OracleAction.cc
new file mode 100644
index 0000000..cc8f5815
--- /dev/null
+++ b/databases/cegobridge/files/patch-src_OracleAction.cc
@@ -0,0 +1,11 @@
+--- src/OracleAction.cc.orig 2017-05-07 11:14:19 UTC
++++ src/OracleAction.cc
+@@ -222,7 +222,7 @@ void OracleAction::readChain()
+
+ void OracleAction::backChar()
+ {
+- if ( _pC > 0 )
++ if ( _pC != 0 )
+ _pC--;
+ }
+
diff --git a/databases/cegobridge/files/patch-src_PostgresAction.cc b/databases/cegobridge/files/patch-src_PostgresAction.cc
new file mode 100644
index 0000000..4250cad
--- /dev/null
+++ b/databases/cegobridge/files/patch-src_PostgresAction.cc
@@ -0,0 +1,11 @@
+--- src/PostgresAction.cc.orig 2017-05-07 11:16:01 UTC
++++ src/PostgresAction.cc
+@@ -222,7 +222,7 @@ void PostgresAction::readChain()
+
+ void PostgresAction::backChar()
+ {
+- if ( _pC > 0 )
++ if ( _pC != 0 )
+ _pC--;
+ }
+
OpenPOWER on IntegriCloud