summaryrefslogtreecommitdiff
path: root/package/libqmi/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/libqmi/patches')
-rw-r--r--package/libqmi/patches/patch-Makefile_am13
-rw-r--r--package/libqmi/patches/patch-autogen_sh11
-rw-r--r--package/libqmi/patches/patch-configure_ac12
-rw-r--r--package/libqmi/patches/patch-docs_reference_libqmi-glib_Makefile_am25
4 files changed, 61 insertions, 0 deletions
diff --git a/package/libqmi/patches/patch-Makefile_am b/package/libqmi/patches/patch-Makefile_am
new file mode 100644
index 000000000..e064743aa
--- /dev/null
+++ b/package/libqmi/patches/patch-Makefile_am
@@ -0,0 +1,13 @@
+ do not enable gtk-doc
+--- libqmi-1.12.4.orig/Makefile.am 2015-02-10 17:31:06.000000000 +0100
++++ libqmi-1.12.4/Makefile.am 2015-02-20 18:20:29.213191733 +0100
+@@ -4,8 +4,7 @@ SUBDIRS = . data build-aux src utils doc
+ ACLOCAL_AMFLAGS = -I m4
+
+ DISTCHECK_CONFIGURE_FLAGS = \
+- --with-udev-base-dir="$$dc_install_base" \
+- --enable-gtk-doc
++ --with-udev-base-dir="$$dc_install_base"
+
+ EXTRA_DIST = \
+ gtester.make \
diff --git a/package/libqmi/patches/patch-autogen_sh b/package/libqmi/patches/patch-autogen_sh
new file mode 100644
index 000000000..cba4e8ea6
--- /dev/null
+++ b/package/libqmi/patches/patch-autogen_sh
@@ -0,0 +1,11 @@
+ - drop doc stuff which we don't have
+--- libqmi-1.12.4.orig/autogen.sh 2015-02-10 17:31:06.000000000 +0100
++++ libqmi-1.12.4/autogen.sh 2015-02-20 18:05:46.425974772 +0100
+@@ -14,7 +14,6 @@ PKG_NAME=libqmi
+ }
+
+ (cd $srcdir;
+- gtkdocize || exit 1
+ mkdir -p m4
+ touch README NEWS ChangeLog
+ autoreconf --force --install --verbose
diff --git a/package/libqmi/patches/patch-configure_ac b/package/libqmi/patches/patch-configure_ac
new file mode 100644
index 000000000..37f519c4e
--- /dev/null
+++ b/package/libqmi/patches/patch-configure_ac
@@ -0,0 +1,12 @@
+--- libqmi-1.12.4.orig/configure.ac 2015-02-10 17:31:06.000000000 +0100
++++ libqmi-1.12.4/configure.ac 2015-02-27 22:15:42.000000000 +0100
+@@ -76,9 +76,6 @@ AC_SUBST(GLIB_LIBS)
+ GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
+ AC_SUBST(GLIB_MKENUMS)
+
+-dnl Documentation
+-GTK_DOC_CHECK(1.0)
+-
+ # QMI username
+ QMI_USERNAME="root"
+ AC_ARG_ENABLE(qmi-username,
diff --git a/package/libqmi/patches/patch-docs_reference_libqmi-glib_Makefile_am b/package/libqmi/patches/patch-docs_reference_libqmi-glib_Makefile_am
new file mode 100644
index 000000000..39fa9c415
--- /dev/null
+++ b/package/libqmi/patches/patch-docs_reference_libqmi-glib_Makefile_am
@@ -0,0 +1,25 @@
+ - try to avoid having to have gtk-doc stuff
+ - and try to prevent the mess involved with it
+--- libqmi-1.12.4.orig/docs/reference/libqmi-glib/Makefile.am 2015-02-10 17:31:06.000000000 +0100
++++ libqmi-1.12.4/docs/reference/libqmi-glib/Makefile.am 2015-02-20 18:24:30.739430307 +0100
+@@ -73,9 +73,9 @@ expand_content_files =
+
+ extra_files =
+
+-include $(top_srcdir)/gtk-doc.make
++#include $(top_srcdir)/gtk-doc.make
+
+-EXTRA_DIST += \
++EXTRA_DIST = \
+ libqmi-glib-common.sections \
+ $(DOC_MODULE)-sections.txt \
+ $(DOC_MODULE)-sections.mstamp \
+@@ -83,7 +83,7 @@ EXTRA_DIST += \
+ $(DIAGRAMS) \
+ $(NULL)
+
+-CLEANFILES += \
++CLEANFILES = \
+ $(DOC_MODULE)-decl-list.txt \
+ $(DOC_MODULE)-decl.txt \
+ $(DOC_MODULE)-overrides.txt \