aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/pcmanfm/files/pcmanfm_fix_for_automake_1.12.patch
blob: 1ad0ff5d13ed2c9169525414b5d99e0e76d88d9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Upstream-Status: Pending

Fix these errors:
| automake: warnings are treated as errors
| data/ui/Makefile.am:18: warning: '%'-style pattern rules are a GNU make extension
| src/Makefile.am:10: warning: compiling 'pcmanfm.c' with per-target flags requires 'AM_PROG_CC_C_O' in 'configure.ac'
| autoreconf: automake failed with exit status: 1
| ERROR: autoreconf execution failed.
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@Intel.com>
2012/07/09

Index: pcmanfm-0.9.10/configure.ac
===================================================================
--- pcmanfm-0.9.10.orig/configure.ac
+++ pcmanfm-0.9.10/configure.ac
@@ -13,6 +13,7 @@ AC_PROG_CC
 AM_PROG_LIBTOOL
 AM_PROG_CC_STDC
 AC_HEADER_STDC
+AM_PROG_CC_C_O
 
 # Checks for header files.
 AC_HEADER_STDC
Index: pcmanfm-0.9.10/data/ui/Makefile.am
===================================================================
--- pcmanfm-0.9.10.orig/data/ui/Makefile.am
+++ pcmanfm-0.9.10/data/ui/Makefile.am
@@ -15,6 +15,6 @@ EXTRA_DIST = \
 	$(NULL)
 
 # Purge GtkBuilder UI files
-%.ui: %.glade
+.glade.ui:
 	cp $< $@
 #	$(top_builddir)/src/xml-purge $@