This set of patches appears to have given me a working Bacula 7.2.0 sd
and fd.  I'm testing now.

Probably unrelated because it was the case even before getting 7.2.0
built on Solaris 10:  BAT seems horribly, horribly slow on my Gentoo
Linux workstation.  It becomes almost completely unresponsive while
working on a database operation (deleting failed jobs, in this
instance), and there are still various odd behaviors regarding
confirmation dialogs.


-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: 603.293.8485
--- src/findlib/fstype.c.orig	2015-09-08 07:57:34.000000000 -0400
+++ src/findlib/fstype.c	2015-09-08 07:57:34.954835009 -0400
@@ -278,10 +278,11 @@
 
 #elif defined(HAVE_SUN_OS)
 
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/mnttab.h>
 
 bool fstype(FF_PKT *ff_pkt, char *fs, int fslen)
 {
    /* Solaris has the filesystem type name in the lstat packet */
    bstrncpy(fs, ff_pkt->statp.st_fstype, fslen);
@@ -371,11 +372,11 @@
          continue;
       }
       mtab_handler(user_ctx, &st, mnt.mnt_fstype, mnt.mnt_mountp,
          mnt.mnt_mntopts, mnt.mnt_special);
    }
-   fclose(fp);
+   fclose(mntfp);
    V(mutex);
 #endif
 
 #endif /* HAVE_GETMNTENT */
 
--- src/streams.h.orig	2015-09-08 18:29:01.577752544 -0400
+++ src/streams.h	2015-09-08 18:26:05.433399572 -0400
@@ -130,10 +130,12 @@
 #define STREAM_ACL_AIX_AIXC          1015    /* AIX string of aclx_printStr (POSIX acl) */
 #define STREAM_ACL_AIX_NFS4          1016    /* AIX string of aclx_printStr (NFSv4 acl) */
 #define STREAM_ACL_FREEBSD_NFS4      1017    /* FreeBSD acl_t string of acl_to_text (NFSv4 or ZFS acl) */
 #define STREAM_ACL_HURD_DEFAULT      1018    /* GNU HURD acl_t string of acl_to_text (POSIX acl) for default acls */
 #define STREAM_ACL_HURD_ACCESS       1019    /* GNU HURD acl_t string of acl_to_text (POSIX acl) for access acls */
+#define STREAM_ACL_SOLARIS_ACLENT    1020
+#define STREAM_ACL_SOLARIS_ACE       1021
 #define STREAM_XATTR_HURD            1989    /* GNU HURD extended attributes */
 #define STREAM_XATTR_IRIX            1990    /* IRIX extended attributes */
 #define STREAM_XATTR_TRU64           1991    /* TRU64 extended attributes */
 #define STREAM_XATTR_AIX             1992    /* AIX extended attributes */
 #define STREAM_XATTR_OPENBSD         1993    /* OpenBSD extended attributes */
--- src/console/conio.c.orig	2015-08-13 09:52:24.000000000 -0400
+++ src/console/conio.c	2015-09-08 18:30:20.464293207 -0400
@@ -63,11 +63,10 @@
 extern "C" int tgetent(void *, const char *);
 extern "C" int tgetnum(const char *);
 extern "C" char *tgetstr (const char*, char**);
 # Note: the following on older (Solaris 10) systems
 #  may need to be moved to after the #endif
-extern "C" char *tgoto (const char *, int, int);
 #endif
 #elif defined(__sgi)
 extern "C" int tgetent(char *, char *);
 extern "C" int tgetnum(char id[2]);
 extern "C" char *tgetstr(char id[2], char **);
@@ -76,10 +75,12 @@
 extern "C" int tgetent(void *, const char *);
 extern "C" int tgetnum(const char *);
 extern "C" char *tgetstr (const char*, char**);
 extern "C" char *tgoto (const char *, int, int);
 #endif
+extern "C" char *tgoto (const char *, int, int);
+
 #include "func.h"
 
 
 /* From termios library */
 #if defined(HAVE_HPUX_OS) || defined(HAVE_AIX_OS)
--- src/cats/cats.h.orig	2015-09-08 18:35:49.663167369 -0400
+++ src/cats/cats.h	2015-08-13 09:52:24.000000000 -0400
@@ -64,11 +64,11 @@
 
 /* What kind of driver we have */
 typedef enum {
    SQL_DRIVER_TYPE_MYSQL      = 0,
    SQL_DRIVER_TYPE_POSTGRESQL = 1,
-   SQL_DRIVER_TYPE_SQLITE3    = 2,
+   SQL_DRIVER_TYPE_SQLITE3    = 2
 } SQL_DRIVER;
 
 
 /* ==============================================================
  *
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to