1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

sysutils/bacula1?-server: fix build on FreeBSD 16

This silence the pkg fallout reports

re: https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/0d0186b248e12425aebf56372ce8de29e05924c6

While here, remove an unused patch for sysutils/bacula13-server

Sponsored by:	Sunday morning coffee
This commit is contained in:
Dan Langille
2026-04-05 14:19:34 +00:00
parent e803e9a4f5
commit 8b18f7a7a5
5 changed files with 26 additions and 14 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
PORTNAME= bacula
DISTVERSION= 13.0.4
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES?= sysutils
MASTER_SITES= SF/bacula/bacula/${PORTVERSION}
PKGNAMEPREFIX?= #
@@ -1,13 +0,0 @@
diff --git a/bacula/src/filed/bxattr_freebsd.c b/bacula/src/filed/bxattr_freebsd.c
index b83331fc578ebc6caf74ff1bf5e67e49329394be..ed2efad02cf2b4f1d1437b25962d28a4d326b873 100644
--- src/filed/bxattr_freebsd.c
+++ src/filed/bxattr_freebsd.c
@@ -103,7 +103,7 @@ bRC_BXATTR BXATTR_FreeBSD::os_backup_xattr (JCR *jcr, FF_PKT *ff_pkt){
case bRC_BXATTR_skip:
case bRC_BXATTR_cont:
/* no xattr available, so skip rest of it */
- rc = bRC_XACL_ok;
+ rc = bRC_BXATTR_ok;
continue;
default:
goto bail_out;
@@ -0,0 +1,12 @@
diff --git a/bacula/src/console/conio.c b/bacula/src/console/conio.c
index 2bea887e7406433f57bee865b18f4bee3b11add0..7ac61d642fc92f4a2094d133be75bd03d5a9e1c2 100755
--- src/console/conio.c
+++ src/console/conio.c
@@ -56,6 +56,7 @@
#include <curses.h>
#include <term.h>
+#include <termios.h>
#ifdef HAVE_SUN_OS
#ifndef _TERM_H
+1
View File
@@ -1,5 +1,6 @@
PORTNAME= bacula
DISTVERSION= 15.0.3
PORTREVISION= 1
CATEGORIES?= sysutils
MASTER_SITES= SF/bacula/bacula/${DISTVERSION}
PKGNAMEPREFIX?= #
@@ -0,0 +1,12 @@
diff --git a/bacula/src/console/conio.c b/bacula/src/console/conio.c
index 2bea887e7406433f57bee865b18f4bee3b11add0..7ac61d642fc92f4a2094d133be75bd03d5a9e1c2 100755
--- src/console/conio.c
+++ src/console/conio.c
@@ -56,6 +56,7 @@
#include <curses.h>
#include <term.h>
+#include <termios.h>
#ifdef HAVE_SUN_OS
#ifndef _TERM_H