Hi,

When compiling vpopmail 5.3.20 on my debian sid laptop I discovered the
following error:

In file included from vconvert.c:32:
vmysql.h:50:22: missing terminating " character
In file included from vconvert.c:32:
vmysql.h:52: error: syntax error before "char"
vmysql.h:57:35: missing terminating " character
make[2]: *** [vconvert.o] Error 1
make[2]: Leaving directory `/usr/local/src/vpopmail-5.3.20'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-5.3.20'
make: *** [all-recursive-am] Error 2

A simple patch is attached that corrects this.

Common subdirectories: vpopmail-5.3.20-orig/attic and vpopmail-5.3.20/attic
Common subdirectories: vpopmail-5.3.20-orig/cdb and vpopmail-5.3.20/cdb
Common subdirectories: vpopmail-5.3.20-orig/contrib and vpopmail-5.3.20/contrib
Common subdirectories: vpopmail-5.3.20-orig/convert and vpopmail-5.3.20/convert
Common subdirectories: vpopmail-5.3.20-orig/doc and vpopmail-5.3.20/doc
Common subdirectories: vpopmail-5.3.20-orig/ldap and vpopmail-5.3.20/ldap
Common subdirectories: vpopmail-5.3.20-orig/oracle and vpopmail-5.3.20/oracle
diff -u vpopmail-5.3.20-orig/vmysql.h vpopmail-5.3.20/vmysql.h
--- vpopmail-5.3.20-orig/vmysql.h       2003-03-18 19:27:18.000000000 -0500
+++ vpopmail-5.3.20/vmysql.h    2003-05-30 23:21:46.000000000 -0400
@@ -48,11 +48,11 @@
 primary key (pw_name, pw_domain ) "
 #else
 #define TABLE_LAYOUT "pw_name char(32) not null, \
-pw_domain char(64) not null, 
+pw_domain char(64) not null, \
 pw_passwd char(40), \
 pw_uid int, pw_gid int, \
 pw_gecos char(48), \
-pw_dir char(160), 
+pw_dir char(160), \
 pw_shell char(20), \
 primary key (pw_name, pw_domain ) "
 #endif
Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/

Reply via email to