/[packages]/cauldron/aisleriot/current/SOURCES/aisleriot-3.5.0-fix-build.patch
ViewVC logotype

Contents of /cauldron/aisleriot/current/SOURCES/aisleriot-3.5.0-fix-build.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 264681 - (show annotations) (download)
Thu Jun 28 10:54:49 2012 UTC (11 years, 9 months ago) by wally
File size: 1498 byte(s)
- add patch from upstream git to fix build
- clean .spec a bit (SILENT)
1 From 1a08fcaee70fe0ac5641b4759bca8f71d4d4609a Mon Sep 17 00:00:00 2001
2 From: Christian Persch <chpe@gnome.org>
3 Date: Wed, 27 Jun 2012 19:43:38 +0000
4 Subject: build: Use AC_PROG_MKDIR_P
5
6 Fix the build using newest autoconf.
7
8 https://bugzilla.gnome.org/show_bug.cgi?id=679004
9 ---
10 diff --git a/configure.ac b/configure.ac
11 index 441aca6..c848fb4 100644
12 --- a/configure.ac
13 +++ b/configure.ac
14 @@ -27,6 +27,7 @@ PKGS=
15 AC_PROG_CC
16 AC_PROG_CPP
17 AC_PROG_LN_S
18 +AC_PROG_MKDIR_P
19 AC_PROG_SED
20 AM_PROG_CC_C_O
21
22 diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
23 index 3753d36..0e1b1b9 100644
24 --- a/data/icons/Makefile.am
25 +++ b/data/icons/Makefile.am
26 @@ -38,7 +38,7 @@ install-public-icons:
27 CONTEXT=`echo $$icon | cut -d_ -f2`; \
28 SIZE=`echo $$icon | cut -d_ -f3`; \
29 ICONFILE=`echo $$icon | cut -d_ -f4`; \
30 - mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
31 + $(MKDIR_P) $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
32 $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
33 done
34
35 @@ -48,7 +48,7 @@ install-private-icons:
36 CONTEXT=`echo $$icon | cut -d_ -f2`; \
37 SIZE=`echo $$icon | cut -d_ -f3`; \
38 ICONFILE=`echo $$icon | cut -d_ -f4`; \
39 - $(mkdir_p) $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
40 + $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
41 $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
42 done
43
44 --
45 cgit v0.9.0.2

  ViewVC Help
Powered by ViewVC 1.1.30