summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch')
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/meta/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch b/meta/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch
new file mode 100644
index 0000000000..49e47d874e
--- /dev/null
+++ b/meta/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch
@@ -0,0 +1,53 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6Index: libgpg-error-1.8/configure.ac
7===================================================================
8--- libgpg-error-1.8.orig/configure.ac 2010-05-06 06:01:08.000000000 -0700
9+++ libgpg-error-1.8/configure.ac 2010-07-21 02:20:20.923261305 -0700
10@@ -140,6 +140,7 @@
11 AC_SUBST(GPG_ERROR_CONFIG_CFLAGS)
12 AC_SUBST(GPG_ERROR_CONFIG_ISUBDIRAFTER)
13 AC_CONFIG_FILES([src/gpg-error-config], [chmod +x src/gpg-error-config])
14+AC_CONFIG_FILES([src/gpg-error.pc])
15
16
17 # Special defines for certain platforms
18Index: libgpg-error-1.8/src/Makefile.am
19===================================================================
20--- libgpg-error-1.8.orig/src/Makefile.am 2010-04-14 02:16:44.000000000 -0700
21+++ libgpg-error-1.8/src/Makefile.am 2010-07-21 02:22:36.655012496 -0700
22@@ -37,13 +37,15 @@
23 bin_SCRIPTS = gpg-error-config
24 m4datadir = $(datadir)/aclocal
25 m4data_DATA = gpg-error.m4
26+pkgconfigdir = $(libdir)/pkgconfig
27+pkgconfig_DATA = gpg-error.pc
28
29 EXTRA_DIST = mkstrtable.awk err-sources.h.in err-codes.h.in \
30 mkerrnos.awk errnos.in README \
31 mkerrcodes.awk mkerrcodes1.awk mkerrcodes2.awk mkerrcodes.c \
32 mkheader.awk gpg-error.h.in mkw32errmap.c w32-add.h w32ce-add.h \
33 err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \
34- gpg-error.def.in versioninfo.rc.in
35+ gpg-error.def.in versioninfo.rc.in gpg-error.pc.in
36
37 BUILT_SOURCES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \
38 err-sources-sym.h err-codes-sym.h errnos-sym.h gpg-error.h \
39Index: libgpg-error-1.8/src/gpg-error.pc.in
40===================================================================
41--- /dev/null 1970-01-01 00:00:00.000000000 +0000
42+++ libgpg-error-1.8/src/gpg-error.pc.in 2010-07-21 02:20:20.923261305 -0700
43@@ -0,0 +1,10 @@
44+prefix=@prefix@
45+exec_prefix=@exec_prefix@
46+libdir=@libdir@
47+includedir=@includedir@
48+
49+Name: gpg-error
50+Description: a library that defines common error values for all GnuPG components
51+Version: @VERSION@
52+Libs: -L{libdir} -lgpg-error
53+Cflags: -I${includedir}