summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2003-09-08 23:34:14 +0000
committerMarinus Schraal <foser@gentoo.org>2003-09-08 23:34:14 +0000
commitaf695e2f043db95cdddcea12fb165ad17429acf9 (patch)
treecd1f12f12b7ae37b9a100fe0c83c33056e0d123a /media-libs
parentmsg fix #27611 (diff)
downloadgentoo-2-af695e2f043db95cdddcea12fb165ad17429acf9.tar.gz
gentoo-2-af695e2f043db95cdddcea12fb165ad17429acf9.tar.bz2
gentoo-2-af695e2f043db95cdddcea12fb165ad17429acf9.zip
add gcc331 warning fix
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/gstreamer/ChangeLog6
-rw-r--r--media-libs/gstreamer/Manifest11
-rw-r--r--media-libs/gstreamer/files/gstreamer-0.6.3-gcc33.patch11
-rw-r--r--media-libs/gstreamer/gstreamer-0.6.3.ebuild9
4 files changed, 28 insertions, 9 deletions
diff --git a/media-libs/gstreamer/ChangeLog b/media-libs/gstreamer/ChangeLog
index 08fa3103a314..fadeb621fe22 100644
--- a/media-libs/gstreamer/ChangeLog
+++ b/media-libs/gstreamer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/gstreamer
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/ChangeLog,v 1.33 2003/09/08 19:11:03 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/ChangeLog,v 1.34 2003/09/08 23:34:03 foser Exp $
+
+ 08 Sep 2003; foser <foser@gentoo.org> gstreamer-0.6.3.ebuild :
+ Replaced hack with proper gcc 3.3.1 fix
+ thanks to <stephane.loeuillet@tiscale.fr> for mailing it
08 Sep 2003; Alastair Tse <liquidx@gentoo.org> gstreamer-0.6.3.ebuild:
added quick workaround for gcc-3.3.1 compiler warnings
diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest
index 2ecd90a2bdff..69e11f9980a9 100644
--- a/media-libs/gstreamer/Manifest
+++ b/media-libs/gstreamer/Manifest
@@ -1,13 +1,14 @@
-MD5 05a0638b1c9ced9472f5a1d0724845b9 ChangeLog 6113
+MD5 0c48fb3811ab9494d3bd88cf1b0aabbf gstreamer-0.6.2.ebuild 1653
MD5 e5b7eb6c678fd17c99801420d22577de gstreamer-0.6.0-r2.ebuild 2225
MD5 307f6dc1bbfe3b671121188670ef6640 gstreamer-0.6.1-r1.ebuild 1653
-MD5 0c48fb3811ab9494d3bd88cf1b0aabbf gstreamer-0.6.2.ebuild 1653
-MD5 0fa6c8bb08cdea03a26b48c417d61350 gstreamer-0.6.3.ebuild 1929
+MD5 7aec82466d59127f6961783a4e7eccb1 gstreamer-0.6.3.ebuild 1829
+MD5 313a01dd4e4b0c4717b3413235c30d0a ChangeLog 6278
MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
MD5 2859a53d220f0d4f15d70265c0ae3ee2 files/digest-gstreamer-0.6.0-r2 69
MD5 d7d0bd22f575c14e4b5e9dae76109a13 files/digest-gstreamer-0.6.1-r1 69
+MD5 6bbd0426345ae753a9833575e160ad71 files/gstreamer-default_scheduler_opt.patch 2100
+MD5 a74f9b21ddb30cb0925e25cc18fc9213 files/gstreamer-error_report.patch 771
MD5 25e847f18be30c70bf95d37afd5c82a4 files/digest-gstreamer-0.6.2 69
MD5 108e4dae9d3c886119d0b0651d959feb files/digest-gstreamer-0.6.3 69
+MD5 9a6a2ed73b08e3d33cb2c9d7cb1550ff files/gstreamer-0.6.3-gcc33.patch 557
MD5 19da7f9f949dee117395e898c2e0bf39 files/gstreamer-0.6.0-sparc.patch 1428
-MD5 6bbd0426345ae753a9833575e160ad71 files/gstreamer-default_scheduler_opt.patch 2100
-MD5 a74f9b21ddb30cb0925e25cc18fc9213 files/gstreamer-error_report.patch 771
diff --git a/media-libs/gstreamer/files/gstreamer-0.6.3-gcc33.patch b/media-libs/gstreamer/files/gstreamer-0.6.3-gcc33.patch
new file mode 100644
index 000000000000..cad137ea0765
--- /dev/null
+++ b/media-libs/gstreamer/files/gstreamer-0.6.3-gcc33.patch
@@ -0,0 +1,11 @@
+--- gstreamer-0.6.3/gst/gstplugin.c.old 2003-08-29 09:39:45.301019616 +0800
++++ gstreamer-0.6.3/gst/gstplugin.c 2003-08-29 09:55:03.862377064 +0800
+@@ -180,7 +180,7 @@
+ module = g_module_open (filename, G_MODULE_BIND_LAZY);
+
+ if (module != NULL) {
+- if (g_module_symbol (module, "plugin_desc", (gpointer *)&desc)) {
++ if (g_module_symbol (module, "plugin_desc", (gpointer *)((void *)&desc))) {
+ GST_DEBUG (GST_CAT_PLUGIN_LOADING, "plugin \"%s\" loaded, called entry function...", filename);
+
+ plugin->filename = g_strdup (filename);
diff --git a/media-libs/gstreamer/gstreamer-0.6.3.ebuild b/media-libs/gstreamer/gstreamer-0.6.3.ebuild
index 816bdf666c96..65057f712f04 100644
--- a/media-libs/gstreamer/gstreamer-0.6.3.ebuild
+++ b/media-libs/gstreamer/gstreamer-0.6.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/gstreamer-0.6.3.ebuild,v 1.3 2003/09/08 19:11:03 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/gstreamer-0.6.3.ebuild,v 1.4 2003/09/08 23:34:03 foser Exp $
inherit eutils flag-o-matic libtool gnome.org
@@ -29,9 +29,12 @@ DEPEND="${RDEPEND}
# doc? ( dev-util/gtk-doc )"
src_unpack() {
+
unpack ${A}
- # temporary workaround for gcc-3.3.1 that produces warnings about aliasing
- cd ${S}; sed -i -e "s:GST_ERROR -Werror:GST_ERROR:" configure || die "failed removing -Werror"
+
+ # proper gcc 3.3.1 fix (#27077)
+ epatch ${FILESDIR}/${P}-gcc33.patch
+
}
src_compile() {