diff options
author | lkoeller <lkoeller@FreeBSD.org> | 2004-02-09 01:44:06 +0800 |
---|---|---|
committer | lkoeller <lkoeller@FreeBSD.org> | 2004-02-09 01:44:06 +0800 |
commit | 138c6078d276e49272e9d19df162a75436413ca1 (patch) | |
tree | 860f7be2db632997838fcef2673cf4ea7828d3bb /sysutils/bacula | |
parent | cd482ed40012017c88da85a093c05c23ad1fdb85 (diff) | |
download | freebsd-ports-gnome-138c6078d276e49272e9d19df162a75436413ca1.tar.gz freebsd-ports-gnome-138c6078d276e49272e9d19df162a75436413ca1.tar.zst freebsd-ports-gnome-138c6078d276e49272e9d19df162a75436413ca1.zip |
o) Fix alpha build error.
Diffstat (limited to 'sysutils/bacula')
-rw-r--r-- | sysutils/bacula/files/patch-var.c-alpha | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sysutils/bacula/files/patch-var.c-alpha b/sysutils/bacula/files/patch-var.c-alpha new file mode 100644 index 000000000000..3597116ede1d --- /dev/null +++ b/sysutils/bacula/files/patch-var.c-alpha @@ -0,0 +1,36 @@ +*** src/lib/var.c.orig Sun Feb 8 18:38:44 2004 +--- src/lib/var.c Sun Feb 8 18:39:48 2004 +*************** +*** 120,126 **** + int n; + int bytes; + +! if (format == NULL || ap == NULL) + return -1; + bytes = 0; + while (*format != '\0') { +--- 120,126 ---- + int n; + int bytes; + +! if (format == NULL) + return -1; + bytes = 0; + while (*format != '\0') { +*************** +*** 204,210 **** + int n; + var_mvsnprintf_cb_t ctx; + +! if (format == NULL || ap == NULL) + return -1; + if (buffer != NULL && bufsize == 0) + return -1; +--- 204,210 ---- + int n; + var_mvsnprintf_cb_t ctx; + +! if (format == NULL) + return -1; + if (buffer != NULL && bufsize == 0) + return -1; |