]> git.pld-linux.org Git - packages/pacemaker.git/commitdiff
- added no-common patch (fix build with -fno-common, gcc 10 default) auto/th/pacemaker-1.1.22-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 31 May 2020 08:25:01 +0000 (10:25 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 31 May 2020 08:25:01 +0000 (10:25 +0200)
- merged inkscape from DEVEL-pacemaker-2 branch (adjust for inkscape 1.0 options)

pacemaker-inkscape.patch [new file with mode: 0644]
pacemaker-no-common.patch [new file with mode: 0644]
pacemaker.spec

diff --git a/pacemaker-inkscape.patch b/pacemaker-inkscape.patch
new file mode 100644 (file)
index 0000000..39f5e64
--- /dev/null
@@ -0,0 +1,19 @@
+--- pacemaker-Pacemaker-2.0.3/doc/Makefile.am.orig     2019-11-25 23:54:47.000000000 +0100
++++ pacemaker-Pacemaker-2.0.3/doc/Makefile.am  2020-05-28 06:15:03.122900431 +0200
+@@ -85,13 +85,13 @@
+ graphics: $(PNGS)
+ %.png: %.svg
+-      $(AM_V_GEN)$(INKSCAPE) --file=$< --export-dpi=90 -C --export-png=$@ $(PCMK_quiet)
++      $(AM_V_GEN)$(INKSCAPE) $< --export-dpi=90 -C -o $@ $(PCMK_quiet)
+ %-small.png: %.svg
+-      $(AM_V_GEN)$(INKSCAPE) --file=$< --export-dpi=45 -C --export-png=$@ $(PCMK_quiet)
++      $(AM_V_GEN)$(INKSCAPE) $< --export-dpi=45 -C -o $@ $(PCMK_quiet)
+ %-large.png: %.svg
+-      $(AM_V_GEN)$(INKSCAPE) --file=$< --export-dpi=180 -C --export-png=$@ $(PCMK_quiet)
++      $(AM_V_GEN)$(INKSCAPE) $< --export-dpi=180 -C -o $@ $(PCMK_quiet)
+ if IS_ASCIIDOC
+ ASCIIDOC_HTML_ARGS    = --unsafe --backend=xhtml11
diff --git a/pacemaker-no-common.patch b/pacemaker-no-common.patch
new file mode 100644 (file)
index 0000000..5f73adf
--- /dev/null
@@ -0,0 +1,11 @@
+--- pacemaker-Pacemaker-1.1.22/lrmd/lrmd_private.h.orig        2019-11-27 01:47:19.000000000 +0100
++++ pacemaker-Pacemaker-1.1.22/lrmd/lrmd_private.h     2020-05-31 09:47:18.614948846 +0200
+@@ -32,7 +32,7 @@
+ #define LRMD_ISOLATION_PROVIDER ".isolation"
+-GHashTable *rsc_list;
++extern GHashTable *rsc_list;
+ typedef struct lrmd_rsc_s {
+     char *rsc_id;
index 5fcdb067cbf5f42213a334016c6a0d16cd5f6226..06656ca3e1d6b4d08a7988c3fefa4b5d3bdf033b 100644 (file)
@@ -30,6 +30,8 @@ Patch1:               %{name}-manpage_xslt.patch
 Patch2:                %{name}-update.patch
 Patch4:                %{name}-libs.patch
 Patch5:                %{name}-heartbeat-libexecdir.patch
+Patch6:                %{name}-no-common.patch
+Patch7:                %{name}-inkscape.patch
 URL:           http://clusterlabs.org/wiki/Main_Page
 %{?with_ipmi:BuildRequires:    OpenIPMI-devel}
 BuildRequires: asciidoc
@@ -68,7 +70,7 @@ BuildRequires:        rpmbuild(macros) >= 1.644
 BuildRequires: systemd-units
 BuildRequires: swig
 %if %{with doc}
-BuildRequires: inkscape
+BuildRequires: inkscape >= 1.0
 BuildRequires: publican
 %endif
 Requires:      %{name}-libs = %{version}-%{release}
@@ -204,6 +206,8 @@ Dokumentacja do Pacemakera.
 %patch2 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
+%patch7 -p1
 
 %build
 %{__libtoolize}
This page took 0.184319 seconds and 4 git commands to generate.