summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-05-24 02:52:57 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-05-24 02:52:57 +0000
commitadd9bb210524c8e550fc6722ab8df44ab92cbb09 (patch)
tree7e6a7c3be1b30cbed61a0df6c923ce70c5bfc2d1 /net-misc/modemmanager/files
parentSync git-2 updates between all versions, and merge KEYWORDS code paths. (diff)
downloadgentoo-2-add9bb210524c8e550fc6722ab8df44ab92cbb09.tar.gz
gentoo-2-add9bb210524c8e550fc6722ab8df44ab92cbb09.tar.bz2
gentoo-2-add9bb210524c8e550fc6722ab8df44ab92cbb09.zip
Fix building old versions against >=glib-2.31.
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/modemmanager/files')
-rw-r--r--net-misc/modemmanager/files/modemmanager-0.5-glib-2.31.patch104
1 files changed, 104 insertions, 0 deletions
diff --git a/net-misc/modemmanager/files/modemmanager-0.5-glib-2.31.patch b/net-misc/modemmanager/files/modemmanager-0.5-glib-2.31.patch
new file mode 100644
index 000000000000..a8aa19184756
--- /dev/null
+++ b/net-misc/modemmanager/files/modemmanager-0.5-glib-2.31.patch
@@ -0,0 +1,104 @@
+From 6406f9eb7042f63a38343412864b6a129be7fe75 Mon Sep 17 00:00:00 2001
+From: Aleksander Morgado <aleksander@lanedo.com>
+Date: Mon, 24 Oct 2011 21:09:11 +0200
+Subject: [PATCH] core: don't include private headers from glib
+
+The "glib/gtypes.h" is now considered private, and only "glib.h" should be
+included directly.
+---
+ src/mm-at-serial-port.h | 1 -
+ src/mm-manager.h | 1 -
+ src/mm-modem-base.h | 1 -
+ src/mm-plugin-base.h | 1 -
+ src/mm-port.h | 1 -
+ src/mm-qcdm-serial-port.h | 1 -
+ src/mm-serial-port.h | 1 -
+ 7 files changed, 0 insertions(+), 7 deletions(-)
+
+diff --git a/src/mm-at-serial-port.h b/src/mm-at-serial-port.h
+index 5d5f13f..cec5dc3 100644
+--- a/src/mm-at-serial-port.h
++++ b/src/mm-at-serial-port.h
+@@ -18,7 +18,6 @@
+ #define MM_AT_SERIAL_PORT_H
+
+ #include <glib.h>
+-#include <glib/gtypes.h>
+ #include <glib-object.h>
+
+ #include "mm-serial-port.h"
+diff --git a/src/mm-manager.h b/src/mm-manager.h
+index 1c98458..c6a64bd 100644
+--- a/src/mm-manager.h
++++ b/src/mm-manager.h
+@@ -17,7 +17,6 @@
+ #ifndef MM_MANAGER_H
+ #define MM_MANAGER_H
+
+-#include <glib/gtypes.h>
+ #include <glib-object.h>
+ #include <dbus/dbus-glib.h>
+ #include "mm-modem.h"
+diff --git a/src/mm-modem-base.h b/src/mm-modem-base.h
+index 0409957..d0cda3d 100644
+--- a/src/mm-modem-base.h
++++ b/src/mm-modem-base.h
+@@ -18,7 +18,6 @@
+ #define MM_MODEM_BASE_H
+
+ #include <glib.h>
+-#include <glib/gtypes.h>
+ #include <glib-object.h>
+
+ #include "mm-port.h"
+diff --git a/src/mm-plugin-base.h b/src/mm-plugin-base.h
+index 799f681..e69ad17 100644
+--- a/src/mm-plugin-base.h
++++ b/src/mm-plugin-base.h
+@@ -17,7 +17,6 @@
+ #define MM_PLUGIN_BASE_H
+
+ #include <glib.h>
+-#include <glib/gtypes.h>
+ #include <glib-object.h>
+
+ #define G_UDEV_API_IS_SUBJECT_TO_CHANGE
+diff --git a/src/mm-port.h b/src/mm-port.h
+index 4bcffd4..df935db 100644
+--- a/src/mm-port.h
++++ b/src/mm-port.h
+@@ -17,7 +17,6 @@
+ #define MM_PORT_H
+
+ #include <glib.h>
+-#include <glib/gtypes.h>
+ #include <glib-object.h>
+
+ typedef enum {
+diff --git a/src/mm-qcdm-serial-port.h b/src/mm-qcdm-serial-port.h
+index 2786ee8..605016d 100644
+--- a/src/mm-qcdm-serial-port.h
++++ b/src/mm-qcdm-serial-port.h
+@@ -18,7 +18,6 @@
+ #define MM_QCDM_SERIAL_PORT_H
+
+ #include <glib.h>
+-#include <glib/gtypes.h>
+ #include <glib-object.h>
+
+ #include "mm-serial-port.h"
+diff --git a/src/mm-serial-port.h b/src/mm-serial-port.h
+index ae38017..f988af3 100644
+--- a/src/mm-serial-port.h
++++ b/src/mm-serial-port.h
+@@ -18,7 +18,6 @@
+ #define MM_SERIAL_PORT_H
+
+ #include <glib.h>
+-#include <glib/gtypes.h>
+ #include <glib-object.h>
+
+ #include "mm-port.h"
+--
+1.7.8.6
+