From d24e1b99fdca169ba0a598c36de66d929bfc4b2f Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Mon, 4 Dec 2017 16:15:22 +0100 Subject: [PATCH] Debian pkg: forced g_type init. --- debian/changelog | 7 ++++--- .../patches/0002-Apache-api-old-version.patch | 2 +- debian/patches/0003-Forced-g_type-init.patch | 21 +++++++++++++++++++ debian/patches/series | 3 ++- 4 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 debian/patches/0003-Forced-g_type-init.patch diff --git a/debian/changelog b/debian/changelog index dbbfe53..9c9f1e5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,6 @@ -libapache2-mod-authn-zakauthe (0.0.1-2~2.gbpff962a) UNRELEASED; urgency=medium +libapache2-mod-authn-zakauthe (0.0.1-2~3.gbp53ad4a) UNRELEASED; urgency=medium - ** SNAPSHOT build @ff962a7d52e1a697b9d15c67246b8c7f01c8d506 ** + ** SNAPSHOT build @53ad4a45f1abb50ed148e5e636ae9c85d1c6a4de ** [ Andrea Zagli ] ** SNAPSHOT build @99cea452a9bc102436b3195e6241e49ee956cc8d ** @@ -9,5 +9,6 @@ libapache2-mod-authn-zakauthe (0.0.1-2~2.gbpff962a) UNRELEASED; urgency=medium * Debian pkg: added files. * Debian pkg: added files. * Debian pkg: added files. + * Debian pkg: apache2.2 old api. - -- tux Mon, 04 Dec 2017 15:35:07 +0100 + -- tux Fri, 15 Dec 2017 11:55:22 +0100 diff --git a/debian/patches/0002-Apache-api-old-version.patch b/debian/patches/0002-Apache-api-old-version.patch index 997c428..b0debdf 100644 --- a/debian/patches/0002-Apache-api-old-version.patch +++ b/debian/patches/0002-Apache-api-old-version.patch @@ -7,7 +7,7 @@ Subject: apache api version 2.2 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mod_authn_zakauthe.c b/src/mod_authn_zakauthe.c -index 0880081..23837e1 100644 +index 2474b42..23837e1 100644 --- a/src/mod_authn_zakauthe.c +++ b/src/mod_authn_zakauthe.c @@ -129,9 +129,9 @@ static const authn_provider authn_zakauthe_provider = diff --git a/debian/patches/0003-Forced-g_type-init.patch b/debian/patches/0003-Forced-g_type-init.patch new file mode 100644 index 0000000..32edebf --- /dev/null +++ b/debian/patches/0003-Forced-g_type-init.patch @@ -0,0 +1,21 @@ +From: Andrea Zagli +Date: Fri, 15 Dec 2017 11:55:13 +0100 +Subject: Forced g_type init. + +--- + src/mod_authn_zakauthe.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/mod_authn_zakauthe.c b/src/mod_authn_zakauthe.c +index 23837e1..f4ae8a1 100644 +--- a/src/mod_authn_zakauthe.c ++++ b/src/mod_authn_zakauthe.c +@@ -129,6 +129,8 @@ static const authn_provider authn_zakauthe_provider = + static void + register_hooks (apr_pool_t *pool) + { ++ g_type_init (); ++ + ap_register_provider (pool, AUTHN_PROVIDER_GROUP, "zakauthe", + "0", + &authn_zakauthe_provider); diff --git a/debian/patches/series b/debian/patches/series index 27f9468..f8fcec3 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 0001-autogen.sh-aclocal-missing-I.patch -0002-Apache-api-old-version.patch \ No newline at end of file +0002-Apache-api-old-version.patch +0003-Forced-g_type-init.patch -- 2.49.0