aboutsummaryrefslogtreecommitdiff
path: root/databases/dbview
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-05-11 16:56:13 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-05-11 16:56:13 +0000
commit6fcbe102487cbca3d35094e3395ae212acfcf2ee (patch)
tree563e929321885eba7f4a26a665a434a5ecc2ff1e /databases/dbview
parent635f8e2ab0f17006ff09f70cb8b406e7119affb7 (diff)
downloadports-6fcbe102487cbca3d35094e3395ae212acfcf2ee.tar.gz
ports-6fcbe102487cbca3d35094e3395ae212acfcf2ee.zip
Notes
Diffstat (limited to 'databases/dbview')
-rw-r--r--databases/dbview/Makefile1
-rw-r--r--databases/dbview/files/patch-ab21
2 files changed, 22 insertions, 0 deletions
diff --git a/databases/dbview/Makefile b/databases/dbview/Makefile
index dd89a2fc856e..7542aa5b5823 100644
--- a/databases/dbview/Makefile
+++ b/databases/dbview/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dbview
PORTVERSION= 1.0.3
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
ftp://ftp.infodrom.north.de/pub/Linux/Devel/dbview/
diff --git a/databases/dbview/files/patch-ab b/databases/dbview/files/patch-ab
new file mode 100644
index 000000000000..dfc42c049f0d
--- /dev/null
+++ b/databases/dbview/files/patch-ab
@@ -0,0 +1,21 @@
+--- db_dump.c.orig Tue Oct 8 02:25:54 1996
++++ db_dump.c Fri Aug 16 14:24:09 2002
+@@ -116,7 +116,7 @@
+ {
+ char *c=var;
+
+- for (c+=strlen(var); isspace (*c); c--);
++ for (c+=strlen(var)-1; isspace (*c); c--);
+
+ *(++c) = '\0';
+ return var;
+@@ -210,7 +210,9 @@
+ stack_field(fld);
+ }
+ read(dbfile,Buffer,1); /* read the silly little \r 0x0d character */
++#ifdef I_USE_A_LAME_OS_LIKE_DOS
+ read(dbfile,Buffer,1); /* strange, it only works if we read another byte */
++#endif
+
+ return;
+ }