summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-12-22 06:13:57 +0000
committerMike Frysinger <vapier@gentoo.org>2008-12-22 06:13:57 +0000
commit9fe97963ad6e270c23b35b73ca2d7468c6f041f2 (patch)
treef1548b001d681903e4c58104da8d543f16693af6 /sys-fs/autorun
parentVersion bump #251651 by Lars (Polynomial-C). (diff)
downloadhistorical-9fe97963ad6e270c23b35b73ca2d7468c6f041f2.tar.gz
historical-9fe97963ad6e270c23b35b73ca2d7468c6f041f2.tar.bz2
historical-9fe97963ad6e270c23b35b73ca2d7468c6f041f2.zip
Fix building with gcc-4.3 #251684 by Diego E. Pettenò.
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.27.8 x86_64
Diffstat (limited to 'sys-fs/autorun')
-rw-r--r--sys-fs/autorun/ChangeLog8
-rw-r--r--sys-fs/autorun/Manifest15
-rw-r--r--sys-fs/autorun/autorun-3.17.ebuild12
-rw-r--r--sys-fs/autorun/files/autorun-3.17-headers.patch13
4 files changed, 41 insertions, 7 deletions
diff --git a/sys-fs/autorun/ChangeLog b/sys-fs/autorun/ChangeLog
index 7e881d95a0b5..bff1bab37af1 100644
--- a/sys-fs/autorun/ChangeLog
+++ b/sys-fs/autorun/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/autorun
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/autorun/ChangeLog,v 1.3 2006/09/02 01:12:50 vapier Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/autorun/ChangeLog,v 1.4 2008/12/22 06:13:57 vapier Exp $
+
+ 22 Dec 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/autorun-3.17-headers.patch, autorun-3.17.ebuild:
+ Fix building with gcc-4.3 #251684 by Diego E. Pettenò.
*autorun-3.17 (02 Sep 2006)
diff --git a/sys-fs/autorun/Manifest b/sys-fs/autorun/Manifest
index ac0668991266..d9c33905c33a 100644
--- a/sys-fs/autorun/Manifest
+++ b/sys-fs/autorun/Manifest
@@ -1,4 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX autorun-3.17-headers.patch 225 RMD160 7449824aaa3e008c21565282cc541d5f42824085 SHA1 596d18ab42818f7d50873121f1938e3a5c1250f6 SHA256 3734aca3b15e2fefec5ce2e3e5d1a2a7cea74e55a5b6531e26a0cb703d23b197
DIST autorun-3.17.tar.gz 481168 RMD160 9f0a7b72d6bce68cded0cd42dabade5a099137ac SHA1 88e4a76007a7c6333587cf458967aabfb950061e SHA256 5f1bc8c9a5ba9796f6803bd8dc7a43a2f95aa8f351b7aa63e56a198717852e91
-EBUILD autorun-3.17.ebuild 623 RMD160 2c9ea3b882681d2ab65576e74f81cc1c39a6429d SHA1 0c588ff7a5309aa4a06adc8aa9ea0bf0bc36461c SHA256 3d09da2a2592697b568316840c15cf5eccb3f940cd1ed258c3fc00f52e7dab73
-MISC ChangeLog 635 RMD160 c2e290238f1a5c6968680442ce387a72d174ca0b SHA1 2854f54ac45b7294f9f8eb5a96c53b9db72b2ff6 SHA256 6c6b579db2052768f7d998e1949eb67aa36525eeeb446e57226b73698e7662f2
+EBUILD autorun-3.17.ebuild 715 RMD160 14b2059d56b84918ea080a1b390ec4f4bc9fbdc6 SHA1 a8f121532c801a0da940e5b8a107359bac181620 SHA256 99fd3ebd3db214d912865aaeae8f07902dc94d8cf7b742863d670b90f0b7d3c6
+MISC ChangeLog 802 RMD160 5b1727460dfb07a6deba7716addffda1724ab924 SHA1 21355abe505e602425caa2b1d10665bad9615a69 SHA256 95564acb1c68520b33877c33cf1420cd8422f1bd110bec2803d5cb7304c949aa
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAklPOpQACgkQn/5bYzqsSmG+kgCcDZCQ/PshlZuRUloDXi7qfVJc
+I3MAnRWIIMcr/5VuJRon68TCBAbisVng
+=lPA5
+-----END PGP SIGNATURE-----
diff --git a/sys-fs/autorun/autorun-3.17.ebuild b/sys-fs/autorun/autorun-3.17.ebuild
index c49e99208b77..c94a6232fe3f 100644
--- a/sys-fs/autorun/autorun-3.17.ebuild
+++ b/sys-fs/autorun/autorun-3.17.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/autorun/autorun-3.17.ebuild,v 1.2 2006/09/05 07:11:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/autorun/autorun-3.17.ebuild,v 1.3 2008/12/22 06:13:57 vapier Exp $
inherit kde-functions eutils
@@ -19,7 +19,13 @@ DEPEND="app-text/xmlto
=app-text/docbook-xml-dtd-4.1.2*"
RDEPEND=""
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-headers.patch #251684
+}
+
src_install() {
- make install DESTDIR="${D}" || die
+ emake install DESTDIR="${D}" || die
dodoc AUTHORS ChangeLog NEWS README
}
diff --git a/sys-fs/autorun/files/autorun-3.17-headers.patch b/sys-fs/autorun/files/autorun-3.17-headers.patch
new file mode 100644
index 000000000000..642f1596b704
--- /dev/null
+++ b/sys-fs/autorun/files/autorun-3.17-headers.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/251684
+
+--- autorun.cc
++++ autorun.cc
+@@ -90,6 +90,8 @@ char *strchr (), *strrchr ();
+
+ #include <errno.h>
+
++#include <stdlib.h>
++
+ #ifndef MNTTYPE_ISO9660
+ #define MNTTYPE_ISO9660 "iso9660"
+ #endif