summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-04-23 17:18:52 +0000
committerAlin Năstac <mrness@gentoo.org>2006-04-23 17:18:52 +0000
commit34d3dbd38c39a9ddb5421ed17435604e95281ad6 (patch)
tree9ed575874b4ff740df5524e2f61831d7afca96d1 /app-mobilephone/gnome-phone-manager/files
parentforce dependency of >=libbtctl-0.6.0-r1, the only version that could work wit... (diff)
downloadhistorical-34d3dbd38c39a9ddb5421ed17435604e95281ad6.tar.gz
historical-34d3dbd38c39a9ddb5421ed17435604e95281ad6.tar.bz2
historical-34d3dbd38c39a9ddb5421ed17435604e95281ad6.zip
Fix configure error when build against >=dev-libs/openobex-1.1 (#122262).
Package-Manager: portage-2.0.54
Diffstat (limited to 'app-mobilephone/gnome-phone-manager/files')
-rw-r--r--app-mobilephone/gnome-phone-manager/files/digest-gnome-phone-manager-0.6-r11
-rw-r--r--app-mobilephone/gnome-phone-manager/files/gnome-phone-manager-0.6-aclocal_openobex.patch67
2 files changed, 68 insertions, 0 deletions
diff --git a/app-mobilephone/gnome-phone-manager/files/digest-gnome-phone-manager-0.6-r1 b/app-mobilephone/gnome-phone-manager/files/digest-gnome-phone-manager-0.6-r1
new file mode 100644
index 000000000000..917d8152eecd
--- /dev/null
+++ b/app-mobilephone/gnome-phone-manager/files/digest-gnome-phone-manager-0.6-r1
@@ -0,0 +1 @@
+MD5 b9c0fd3cdba4a6eb92bfad823f602fe4 gnome-phone-manager-0.6.tar.bz2 650105
diff --git a/app-mobilephone/gnome-phone-manager/files/gnome-phone-manager-0.6-aclocal_openobex.patch b/app-mobilephone/gnome-phone-manager/files/gnome-phone-manager-0.6-aclocal_openobex.patch
new file mode 100644
index 000000000000..f2b00d652cfe
--- /dev/null
+++ b/app-mobilephone/gnome-phone-manager/files/gnome-phone-manager-0.6-aclocal_openobex.patch
@@ -0,0 +1,67 @@
+diff -Nru gnome-phone-manager-0.6.orig/aclocal.m4 gnome-phone-manager-0.6/aclocal.m4
+--- gnome-phone-manager-0.6.orig/aclocal.m4 2005-09-09 12:51:56.000000000 +0300
++++ gnome-phone-manager-0.6/aclocal.m4 2006-04-23 19:49:36.254216750 +0300
+@@ -6801,63 +6801,6 @@
+ AC_MSG_RESULT([$SED])
+ ])
+
+-dnl Check for openobex library
+-dnl Written by Pontus Fuchs 2000-08-18
+-dnl Version checking fixed by Christian W. Zuckschwerdt 2002-10-17
+-
+-AC_DEFUN([AM_PATH_OPENOBEX], [
+- AC_PATH_PROG(OPENOBEX_CONFIG, openobex-config, no)
+-
+- if test "$OPENOBEX_CONFIG" = "no" ; then
+- AC_MSG_ERROR(openobex-config not found. Pehaps openobex is not installed.)
+- fi
+-
+- min_obex_version=ifelse([$1], ,0.9.6,$1)
+- AC_MSG_CHECKING(for openobex - version >= $min_obex_version)
+-
+- OPENOBEX_CFLAGS=`$OPENOBEX_CONFIG --cflags`
+- OPENOBEX_LIBS=`$OPENOBEX_CONFIG --libs`
+-
+- obex_config_version=`$OPENOBEX_CONFIG --version`
+-
+- obex_config_major_version=`$OPENOBEX_CONFIG --version | \
+- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
+- obex_config_minor_version=`$OPENOBEX_CONFIG --version | \
+- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
+- obex_config_micro_version=`$OPENOBEX_CONFIG --version | \
+- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
+-
+- obex_req_major_version=`echo $min_obex_version | \
+- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
+- obex_req_minor_version=`echo $min_obex_version | \
+- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
+- obex_req_micro_version=`echo $min_obex_version | \
+- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
+-
+-
+- if test $obex_req_major_version -lt $obex_config_major_version ; then
+- obex_config_version_ok="yes"
+- fi
+- if test $obex_req_major_version -eq $obex_config_major_version ; then
+- if test $obex_req_minor_version -lt $obex_config_minor_version ; then
+- obex_config_version_ok="yes"
+- fi
+- if test $obex_req_minor_version -eq $obex_config_minor_version ; then
+- if test $obex_req_micro_version -le $obex_config_micro_version ; then
+- obex_config_version_ok="yes"
+- fi
+- fi
+- fi
+-
+- if test "$obex_config_version_ok" != "yes" ; then
+- AC_MSG_ERROR(Installed openobex library too old ($obex_config_version))
+- fi
+-
+- AC_SUBST(OPENOBEX_CFLAGS)
+- AC_SUBST(OPENOBEX_LIBS)
+- AC_MSG_RESULT(yes)
+-])
+-
+
+ dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
+ dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page