summaryrefslogtreecommitdiff
path: root/databases/hk_classes/files
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-10-31 12:38:30 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-10-31 12:38:30 +0000
commitffa94017d6c39ee2d5c2afd81d3bea30c7ae7fb7 (patch)
treee544283dbd481137d8e3edc9230c9c2b9edb93a5 /databases/hk_classes/files
parentUpdate lang/ruby18 to 1.8.1-preview2. (diff)
Add hk_classes,
C++ library which allows rapid development of database applications. Note: hk_classes works with mysql, postgresql und ODBC, but this port only supports mysql at the moment. Prodded by: enoal <sreco@xmission.com> PR: 41380
Diffstat (limited to 'databases/hk_classes/files')
-rw-r--r--databases/hk_classes/files/patch-Makefile.in16
-rw-r--r--databases/hk_classes/files/patch-hk_drivermanager.cpp11
2 files changed, 27 insertions, 0 deletions
diff --git a/databases/hk_classes/files/patch-Makefile.in b/databases/hk_classes/files/patch-Makefile.in
new file mode 100644
index 000000000000..e9c212440da0
--- /dev/null
+++ b/databases/hk_classes/files/patch-Makefile.in
@@ -0,0 +1,16 @@
+--- Makefile.in.orig Fri Oct 31 12:42:20 2003
++++ Makefile.in Fri Oct 31 12:42:44 2003
+@@ -562,11 +562,11 @@
+
+
+ install-data-hook:
+- echo ; echo ; echo "**********************************************"; echo ; \
++ @echo ; echo ; echo "**********************************************"; echo ; \
+ if @NODRIVER@ ;then echo "W A R N I N G !!!!" ; \
+ echo "No database driver installed! It makes no sense to run " ; echo "hk_classes without a database driver."; echo "Make sure that you have one of the following SQL databases." ; echo ; echo "Existing drivers are: @POSSIBLE_DRIVERS@" ; echo ; echo "Then re-configure and re-make this package." ;\
+ echo;echo "If you are sure the database is installed, but you still see this message,"; echo "check your installation. Probably you haven't installed your distribution's ";echo "development package for this database. For Mysql it is called ";echo "mysql-devel (the exact name is distribution specific)";\
+- else echo "The following drivers are installed:"; echo "@DRIVERSDIR@" ;fi;echo; if test "x@HKPYTHONDIR@" == "xpython" ; then echo "Python support is installed" ; else echo "No Python support";fi;echo ; echo "I wish you much fun";echo ; echo "Horst Knorr <hk_classes@knoda.org>"; echo; echo "**********************************************"; echo ;
++ else echo "The following drivers are installed:"; echo "@DRIVERSDIR@" ;fi;echo; if test x@HKPYTHONDIR@ = xpython ; then echo "Python support is installed" ; else echo "No Python support";fi;echo ; echo "I wish you much fun";echo ; echo "Horst Knorr <hk_classes@knoda.org>"; echo; echo "**********************************************"; echo ;
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/databases/hk_classes/files/patch-hk_drivermanager.cpp b/databases/hk_classes/files/patch-hk_drivermanager.cpp
new file mode 100644
index 000000000000..9f405fe04408
--- /dev/null
+++ b/databases/hk_classes/files/patch-hk_drivermanager.cpp
@@ -0,0 +1,11 @@
+--- hk_classes/hk_drivermanager.cpp.orig Fri Oct 31 12:14:16 2003
++++ hk_classes/hk_drivermanager.cpp Fri Oct 31 12:14:25 2003
+@@ -141,7 +141,7 @@
+ {
+ if (interactive)
+ {
+- char* e=dlerror();
++ const char* e=dlerror();
+ hk_string error=hk_translate("Unknown reason");
+ if (e) error=e;
+ hk_string w=hk_translate("Database driver '%DRIVER%' could not be loaded.\nReason: ")+error;