aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bacula-server
diff options
context:
space:
mode:
authorlkoeller <lkoeller@FreeBSD.org>2004-07-25 22:08:02 +0800
committerlkoeller <lkoeller@FreeBSD.org>2004-07-25 22:08:02 +0800
commit6f5ab5d114ffc3278dc6d5a15a5b87e628ee2b48 (patch)
treeb0df089eacf16539199274dace7327117c493094 /sysutils/bacula-server
parente285f6808630ee31c4fa87eaad534352f53cfb82 (diff)
downloadfreebsd-ports-graphics-6f5ab5d114ffc3278dc6d5a15a5b87e628ee2b48.tar.gz
freebsd-ports-graphics-6f5ab5d114ffc3278dc6d5a15a5b87e628ee2b48.tar.zst
freebsd-ports-graphics-6f5ab5d114ffc3278dc6d5a15a5b87e628ee2b48.zip
o) Fix out of order restore (older files instead of newest one)
PR: ports/69565 Submitted by: Dan Langille <dan@langille.org>
Diffstat (limited to 'sysutils/bacula-server')
-rw-r--r--sysutils/bacula-server/Makefile2
-rw-r--r--sysutils/bacula-server/files/patch-src-dird-sql_cmds.c10
2 files changed, 11 insertions, 1 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile
index c6185ecd4dc..bb4d2591374 100644
--- a/sysutils/bacula-server/Makefile
+++ b/sysutils/bacula-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bacula
PORTVERSION= 1.34.5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bacula
diff --git a/sysutils/bacula-server/files/patch-src-dird-sql_cmds.c b/sysutils/bacula-server/files/patch-src-dird-sql_cmds.c
new file mode 100644
index 00000000000..fa6be800fe3
--- /dev/null
+++ b/sysutils/bacula-server/files/patch-src-dird-sql_cmds.c
@@ -0,0 +1,10 @@
+--- src/dird/sql_cmds.c 7 Feb 2004 17:27:11 -00001.22.2.7.2.3
++++ src/dird/sql_cmds.c 23 Jul 2004 09:55:35 -0000
+@@ -261,7 +261,7 @@
+ "ORDER BY StartTime ASC";
+
+
+-char *uar_sel_jobid_temp = "SELECT JobId FROM temp";
++char *uar_sel_jobid_temp = "SELECT JobId FROM temp ORDER BY StartTime ASC";
+
+ char *uar_sel_all_temp1 = "SELECT * FROM temp1";