summaryrefslogtreecommitdiff
path: root/package/polkit/patches/patch-src_polkitagent_Makefile_am
diff options
context:
space:
mode:
Diffstat (limited to 'package/polkit/patches/patch-src_polkitagent_Makefile_am')
-rw-r--r--package/polkit/patches/patch-src_polkitagent_Makefile_am37
1 files changed, 37 insertions, 0 deletions
diff --git a/package/polkit/patches/patch-src_polkitagent_Makefile_am b/package/polkit/patches/patch-src_polkitagent_Makefile_am
new file mode 100644
index 000000000..7a5aaeea1
--- /dev/null
+++ b/package/polkit/patches/patch-src_polkitagent_Makefile_am
@@ -0,0 +1,37 @@
+--- polkit-0.112.orig/src/polkitagent/Makefile.am 2013-09-18 18:55:09.000000000 +0200
++++ polkit-0.112/src/polkitagent/Makefile.am 2014-01-09 21:13:36.000000000 +0100
+@@ -109,34 +109,6 @@ polkit_agent_helper_1_LDFLAGS = \
+ $(AM_LDFLAGS) \
+ $(NULL)
+
+-if HAVE_INTROSPECTION
+-
+-girdir = $(INTROSPECTION_GIRDIR)
+-gir_DATA = PolkitAgent-1.0.gir
+-
+-PolkitAgent-1.0.gir: libpolkit-agent-1.la
+-
+-typelibsdir = $(INTROSPECTION_TYPELIBDIR)
+-typelibs_DATA = PolkitAgent-1.0.typelib
+-
+-INTROSPECTION_COMPILER_ARGS = --includedir=../../src/polkit
+-INTROSPECTION_GIRS = PolkitAgent-1.0.gir
+-PolkitAgent_1_0_gir_INCLUDES = Gio-2.0
+-PolkitAgent_1_0_gir_SCANNERFLAGS = \
+- --include-uninstalled=../../src/polkit/Polkit-1.0.gir \
+- --c-include='polkitagent/polkitagent.h'
+-PolkitAgent_1_0_gir_CFLAGS = \
+- $(libpolkit_agent_1_la_CFLAGS) \
+- -D_POLKIT_COMPILATION \
+- -D_POLKIT_AGENT_COMPILATION \
+- -I.. -I$(top_srcdir)/src
+-PolkitAgent_1_0_gir_LIBS = libpolkit-agent-1.la
+-PolkitAgent_1_0_gir_FILES = $(libpolkit_agent_1_la_SOURCES)
+-PolkitAgent_1_0_gir_EXPORT_PACKAGES = polkit-agent-1
+-
+-include $(INTROSPECTION_MAKEFILE)
+-
+-endif # HAVE_INTROSPECTION
+
+ # polkit-agent-helper-1 need to be setuid root because it's used to
+ # authenticate not only the invoking user, but possibly also root