summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-04-22 10:24:12 +0000
committerAlin Năstac <mrness@gentoo.org>2006-04-22 10:24:12 +0000
commit257b2cc8e784d43d6fb9c8c609333fd2c55ede74 (patch)
treef4f0922534b8dd364edac704bb50982dbec7a1de /dev-libs/openobex
parentNever trust upstream, readd patch for bug #130402. (diff)
downloadgentoo-2-257b2cc8e784d43d6fb9c8c609333fd2c55ede74.tar.gz
gentoo-2-257b2cc8e784d43d6fb9c8c609333fd2c55ede74.tar.bz2
gentoo-2-257b2cc8e784d43d6fb9c8c609333fd2c55ede74.zip
Fix broken compilation when LDFLAGS=-Wl,--as-needed (#130779)
(Portage version: 2.0.54)
Diffstat (limited to 'dev-libs/openobex')
-rw-r--r--dev-libs/openobex/ChangeLog9
-rw-r--r--dev-libs/openobex/Manifest13
-rw-r--r--dev-libs/openobex/files/digest-openobex-1.2-r11
-rw-r--r--dev-libs/openobex/files/openobex-1.2-as-needed.patch12
-rw-r--r--dev-libs/openobex/openobex-1.2-r1.ebuild42
5 files changed, 66 insertions, 11 deletions
diff --git a/dev-libs/openobex/ChangeLog b/dev-libs/openobex/ChangeLog
index 8decd0a2b088..f814cf61a4a5 100644
--- a/dev-libs/openobex/ChangeLog
+++ b/dev-libs/openobex/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/openobex
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openobex/ChangeLog,v 1.29 2006/04/14 23:03:27 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openobex/ChangeLog,v 1.30 2006/04/22 10:24:12 mrness Exp $
+
+*openobex-1.2-r1 (22 Apr 2006)
+
+ 22 Apr 2006; Alin Nastac <mrness@gentoo.org>
+ +files/openobex-1.2-as-needed.patch, +openobex-1.2-r1.ebuild:
+ Fix broken compilation when LDFLAGS=-Wl,--as-needed, thanks to Mike Auty
+ <mike.auty@gmail.com> (#130779).
*openobex-1.2 (14 Apr 2006)
diff --git a/dev-libs/openobex/Manifest b/dev-libs/openobex/Manifest
index 230629c31f74..593f9e11272f 100644
--- a/dev-libs/openobex/Manifest
+++ b/dev-libs/openobex/Manifest
@@ -1,20 +1,13 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 204d7cefe1e80615013adccb3c36761e ChangeLog 3448
MD5 165cdde955fa7f445d03005d25665e20 files/digest-openobex-1.0.0 66
MD5 a577e794f16a7f437408fcbd5861b9ed files/digest-openobex-1.0.1 66
MD5 8fe13d050110fbeec1d4b636ba431593 files/digest-openobex-1.1 238
MD5 612a596ece71d286736383dbb8645dd8 files/digest-openobex-1.2 64
+MD5 612a596ece71d286736383dbb8645dd8 files/digest-openobex-1.2-r1 64
+MD5 f6453ed2753c40c9912b1d86773bc01b files/openobex-1.2-as-needed.patch 419
MD5 04575f2be24f9d061c624e41b93d0394 metadata.xml 414
MD5 aaf22cbbc6d71ac9d9475ce10b34ed74 openobex-1.0.0.ebuild 615
MD5 b1fe0220e290db877f78f6c5996bcd76 openobex-1.0.1.ebuild 914
MD5 61e6b174ba8f1bc89d73cdc46d212c72 openobex-1.1.ebuild 993
+MD5 a31d5ef76f84bc5ef13dfa1c4e8e042c openobex-1.2-r1.ebuild 1090
MD5 6b1af9ee016c5b8ff9af7d5d232727dc openobex-1.2.ebuild 1017
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.2 (GNU/Linux)
-
-iD8DBQFEQCpVjG8pv1lIUX4RAjoSAKCZTXULe0i0H0Nsi6dkfcK7ImrYPACgjq2I
-GYY82bZActqBCCmwCokgDJI=
-=OVuA
------END PGP SIGNATURE-----
diff --git a/dev-libs/openobex/files/digest-openobex-1.2-r1 b/dev-libs/openobex/files/digest-openobex-1.2-r1
new file mode 100644
index 000000000000..148dcd0ce15b
--- /dev/null
+++ b/dev-libs/openobex/files/digest-openobex-1.2-r1
@@ -0,0 +1 @@
+MD5 c92746ae7bd69255c2c41f51e9349c65 openobex-1.2.tar.gz 341324
diff --git a/dev-libs/openobex/files/openobex-1.2-as-needed.patch b/dev-libs/openobex/files/openobex-1.2-as-needed.patch
new file mode 100644
index 000000000000..717136397d7e
--- /dev/null
+++ b/dev-libs/openobex/files/openobex-1.2-as-needed.patch
@@ -0,0 +1,12 @@
+diff -uNr openobex-1.2.orig/ircp/Makefile.am openobex-1.2/ircp/Makefile.am
+--- openobex-1.2.orig/ircp/Makefile.am 2006-01-03 18:36:15.000000000 +0000
++++ openobex-1.2/ircp/Makefile.am 2006-04-21 22:43:13.000000000 +0000
+@@ -11,7 +11,7 @@
+
+ bin_PROGRAMS = ircp
+
+-LDADD = $(top_builddir)/lib/libopenobex.la libircp.a
++LDADD = libircp.a $(top_builddir)/lib/libopenobex.la
+
+ INCLUDES = -I$(top_builddir)/include
+ endif
diff --git a/dev-libs/openobex/openobex-1.2-r1.ebuild b/dev-libs/openobex/openobex-1.2-r1.ebuild
new file mode 100644
index 000000000000..ffe042c78a01
--- /dev/null
+++ b/dev-libs/openobex/openobex-1.2-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openobex/openobex-1.2-r1.ebuild,v 1.1 2006/04/22 10:24:12 mrness Exp $
+
+inherit autotools eutils gnuconfig
+
+DESCRIPTION="An implementation of the OBEX protocol used for transferring data to mobile devices"
+HOMEPAGE="http://sourceforge.net/projects/openobex"
+SRC_URI="mirror://sourceforge/openobex/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+IUSE="bluetooth debug irda syslog usb"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND="usb? ( dev-libs/libusb )"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-as-needed.patch"
+ eautoreconf
+ gnuconfig_update
+}
+
+src_compile() {
+ econf --enable-apps \
+ $(use_enable irda) \
+ $(use_enable bluetooth) \
+ $(use_enable usb) \
+ $(use_enable debug) \
+ $(use_enable debug dump) \
+ $(use_enable syslog) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install () {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc README AUTHORS NEWS ChangeLog
+}