diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:37:59 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:37:59 +0000 |
commit | 2856c59c736ba931b8f915b071f467dba595716b (patch) | |
tree | 6698599f4bee70e05a8804ba9c97c074fe79ad5c /bacula-build-cdp-plugin.patch | |
parent | 501bbe0d8edc80c2dc5a176b12c06c17de7b7d46 (diff) |
automatic import of baculaopeneuler24.03_LTS
Diffstat (limited to 'bacula-build-cdp-plugin.patch')
-rw-r--r-- | bacula-build-cdp-plugin.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/bacula-build-cdp-plugin.patch b/bacula-build-cdp-plugin.patch new file mode 100644 index 0000000..9525a1e --- /dev/null +++ b/bacula-build-cdp-plugin.patch @@ -0,0 +1,43 @@ +diff -Naur bacula-11.0.0.old/src/plugins/fd/Makefile.in bacula-11.0.0/src/plugins/fd/Makefile.in +--- bacula-11.0.0.old/src/plugins/fd/Makefile.in 2021-01-15 14:28:41.375718846 +0100 ++++ bacula-11.0.0/src/plugins/fd/Makefile.in 2021-01-15 14:37:51.212066769 +0100 +@@ -22,7 +22,7 @@ + .c.lo: + $(LIBTOOL_COMPILE) $(CXX) $(DEFS) $(DEBUG) $(CPPFLAGS) $(CFLAGS) -I${SRCDIR} -I${FDDIR} -DTEST_PROGRAM -c $< + +-all: bpipe-fd.la test-plugin-fd.la test-deltaseq-fd.la pluglib.lo ++all: bpipe-fd.la cdp-fd.la test-plugin-fd.la test-deltaseq-fd.la pluglib.lo + + example-plugin-fd.lo: example-plugin-fd.c ${FDDIR}/fd_plugins.h + $(LIBTOOL_COMPILE) $(CXX) $(DEFS) $(DEBUG) $(CPPFLAGS) $(CFLAGS) -I../.. -I${FDDIR} -c example-plugin-fd.c +@@ -36,8 +36,6 @@ + bpipe-fd.la: Makefile bpipe-fd$(DEFAULT_OBJECT_TYPE) + $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -shared bpipe-fd.lo -o $@ -rpath $(plugindir) -module -export-dynamic -avoid-version + +-cdp: cdp-fd.la +- + cdp-fd.lo: cdp-fd.c journal.h folder-record.h file-record.h settings-record.h ${FDDIR}/fd_plugins.h + $(LIBTOOL_COMPILE) $(CXX) $(DEFS) $(DEBUG) $(CPPFLAGS) $(CFLAGS) -Wno-unused-function -I../.. -I${FDDIR} -c cdp-fd.c + +@@ -47,12 +45,6 @@ + cdp-fd.la: Makefile cdp-fd$(DEFAULT_OBJECT_TYPE) journal.lo + $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -shared cdp-fd.lo journal.lo -o $@ -rpath $(plugindir) -module -export-dynamic -avoid-version + +-install-cdp: cdp-fd.la +- $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) cdp-fd.la $(DESTDIR)$(plugindir) +- $(RMF) $(DESTDIR)$(plugindir)/cdp-fd.la +- +- +- + test-deltaseq-fd.lo: test-deltaseq-fd.c ${FDDIR}/fd_plugins.h fd_common.h + $(LIBTOOL_COMPILE) $(CXX) $(DEFS) $(DEBUG) $(CPPFLAGS) $(CFLAGS) -I../.. -I${FDDIR} -c test-deltaseq-fd.c + +@@ -69,6 +61,8 @@ + $(MKDIR) $(DESTDIR)$(plugindir) + $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) bpipe-fd.la $(DESTDIR)$(plugindir) + $(RMF) $(DESTDIR)$(plugindir)/bpipe-fd.la ++ $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) cdp-fd.la $(DESTDIR)$(plugindir) ++ $(RMF) $(DESTDIR)$(plugindir)/cdp-fd.la + + install-test-plugin: all + $(MKDIR) $(DESTDIR)$(plugindir) |