summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2007-11-04 11:05:47 +0000
committerChristian Faulhammer <fauli@gentoo.org>2007-11-04 11:05:47 +0000
commit56979de4d702a75909f703995d8b8dfc9702bbc8 (patch)
treeb8aeb91943bdca8ba06084f866226317351eabfd /dev-libs/qof
parentVersion bump. (diff)
downloadhistorical-56979de4d702a75909f703995d8b8dfc9702bbc8.tar.gz
historical-56979de4d702a75909f703995d8b8dfc9702bbc8.tar.bz2
historical-56979de4d702a75909f703995d8b8dfc9702bbc8.zip
remove all warning CFLAGS as they can hinder successful compilation, see bugs 197999 and 196103
Package-Manager: portage-2.1.3.16
Diffstat (limited to 'dev-libs/qof')
-rw-r--r--dev-libs/qof/ChangeLog7
-rw-r--r--dev-libs/qof/Manifest26
-rw-r--r--dev-libs/qof/files/qof-0.7.2-remove_spurious_CFLAGS.patch54
-rw-r--r--dev-libs/qof/qof-0.7.2.ebuild9
4 files changed, 83 insertions, 13 deletions
diff --git a/dev-libs/qof/ChangeLog b/dev-libs/qof/ChangeLog
index 8ca491bfc6f1..801dd01d7b4b 100644
--- a/dev-libs/qof/ChangeLog
+++ b/dev-libs/qof/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/qof
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/qof/ChangeLog,v 1.5 2007/11/03 23:46:01 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/qof/ChangeLog,v 1.6 2007/11/04 11:05:46 opfer Exp $
+
+ 04 Nov 2007; Christian Faulhammer <opfer@gentoo.org>
+ +files/qof-0.7.2-remove_spurious_CFLAGS.patch, qof-0.7.2.ebuild:
+ remove all warning CFLAGS as they can hinder successful compilation, see
+ bugs 197999 and 196103
03 Nov 2007; Olivier CrĂȘte <tester@gentoo.org> qof-0.7.2.ebuild:
Mark ~amd64 for bug #195986
diff --git a/dev-libs/qof/Manifest b/dev-libs/qof/Manifest
index 019603d28741..3d850c09d72b 100644
--- a/dev-libs/qof/Manifest
+++ b/dev-libs/qof/Manifest
@@ -1,15 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX qof-0.7.2-remove_spurious_CFLAGS.patch 1871 RMD160 04969f05620d71466886120d3c0fe6453f0b92f1 SHA1 9beb5d00f0c47c525114fe0eb0c7bb8de27f8e8c SHA256 129f672ede55a1772eeaa933c6eee6c2602ddc691c08f653f9cfd62194d60bf5
+MD5 164b3b9fa0c12e453ba09dc8bac1c2a9 files/qof-0.7.2-remove_spurious_CFLAGS.patch 1871
+RMD160 04969f05620d71466886120d3c0fe6453f0b92f1 files/qof-0.7.2-remove_spurious_CFLAGS.patch 1871
+SHA256 129f672ede55a1772eeaa933c6eee6c2602ddc691c08f653f9cfd62194d60bf5 files/qof-0.7.2-remove_spurious_CFLAGS.patch 1871
DIST qof-0.7.2.tar.gz 866343 RMD160 6cbfec970c8cddda9a6ac1520c67361eb77ce92a SHA1 d23455835cdb513a2f1a4c6bfa286a2d0886dd4c SHA256 643359de7833c9fe661fcfc6fc0dc6e3f390bce55041eba123a495e661366990
-EBUILD qof-0.7.2.ebuild 477 RMD160 8e8f7db76bdcc00e6ebe40f453ac65e39654d5f0 SHA1 cb8ad27ed3878a511ad2d7469c8d8a6db0ae91f9 SHA256 47eb21f099cb5157f2ffba982ac149663ac88e27499fd6509d226be4ed4822bb
-MD5 a6520404de1ceb708074bbcc51ed3daa qof-0.7.2.ebuild 477
-RMD160 8e8f7db76bdcc00e6ebe40f453ac65e39654d5f0 qof-0.7.2.ebuild 477
-SHA256 47eb21f099cb5157f2ffba982ac149663ac88e27499fd6509d226be4ed4822bb qof-0.7.2.ebuild 477
-MISC ChangeLog 794 RMD160 54f25f3c6cea9d1d0428e8b4eb37d6867855967b SHA1 b5f203bbb2e4ac55007b2e4131aa556b30454f38 SHA256 784116d2e15f17022d042ca86195cf4d5882bd5bacda30e4385469ad99ad8a48
-MD5 8e9a001ab457d0ba6af569490b08c78e ChangeLog 794
-RMD160 54f25f3c6cea9d1d0428e8b4eb37d6867855967b ChangeLog 794
-SHA256 784116d2e15f17022d042ca86195cf4d5882bd5bacda30e4385469ad99ad8a48 ChangeLog 794
+EBUILD qof-0.7.2.ebuild 579 RMD160 1650b3354421a57f61e91d167b117b92654f5a93 SHA1 5d6052d7f52be16f2c3f1fb2d2545207333764c2 SHA256 b36d464194da0b086babce9952c69ba5e34c494a58e753fe96756bd6aadedac9
+MD5 d9a08ec4eecadeda0972546ea76c72b8 qof-0.7.2.ebuild 579
+RMD160 1650b3354421a57f61e91d167b117b92654f5a93 qof-0.7.2.ebuild 579
+SHA256 b36d464194da0b086babce9952c69ba5e34c494a58e753fe96756bd6aadedac9 qof-0.7.2.ebuild 579
+MISC ChangeLog 1016 RMD160 45457045e99bcae3aedbcc8fea06150a090bef4e SHA1 308d3791e8e774074a0113d5b81fb9b5e72b6cc3 SHA256 15081a960850f86017cacd5dc3f5d852e608b9bdddc2c228242ca114ace07421
+MD5 978bada2db306c6de8e14a002887888e ChangeLog 1016
+RMD160 45457045e99bcae3aedbcc8fea06150a090bef4e ChangeLog 1016
+SHA256 15081a960850f86017cacd5dc3f5d852e608b9bdddc2c228242ca114ace07421 ChangeLog 1016
MISC metadata.xml 266 RMD160 5fab2514b0096eb1d0710e344d8828acbae236f6 SHA1 082dda7e7d22e86401cba8b8ff225120298f397c SHA256 992d6326c9154489d434561200ae16feff9c42d7c0075e0a6b9dfa39f554f86f
MD5 9d61188e18e5568b1bc3925103aef9da metadata.xml 266
RMD160 5fab2514b0096eb1d0710e344d8828acbae236f6 metadata.xml 266
@@ -20,7 +24,7 @@ SHA256 dbf90aa723ba447725b11c5d4f3f79da5148919382496a89cfbb6c8e4e4c5067 files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
-iD8DBQFHLQhv+IXOQtHLm/gRAimSAJ9o7aFqFKz99laOKCj8n8SG341DwwCeK7v1
-07tnef9fovM/z9rof0Q3pV0=
-=62zQ
+iD8DBQFHLaeaNQqtfCuFneMRApQnAJ4kue00fV25WV/WO/2D0pCU+NcsCQCbBIka
+SIx7jxjeNKspV1o0RpGin7Y=
+=npbH
-----END PGP SIGNATURE-----
diff --git a/dev-libs/qof/files/qof-0.7.2-remove_spurious_CFLAGS.patch b/dev-libs/qof/files/qof-0.7.2-remove_spurious_CFLAGS.patch
new file mode 100644
index 000000000000..38d9e49ffcc6
--- /dev/null
+++ b/dev-libs/qof/files/qof-0.7.2-remove_spurious_CFLAGS.patch
@@ -0,0 +1,54 @@
+--- /tmp/configure 2007-11-04 11:44:13.000000000 +0100
++++ configure 2007-11-04 11:51:58.000000000 +0100
+@@ -26367,18 +26367,18 @@
+ echo $ECHO_N "checking what extra warning flags to pass to the C compiler... $ECHO_C" >&6; }
+ if test ${GCC}x = yesx; then
+ warnFLAGS=
+- CFLAGS="${CFLAGS} -g2 -Wall"
++ CFLAGS="${CFLAGS}"
+ # Check whether --enable-error-on-warning was given.
+ if test "${enable_error_on_warning+set}" = set; then
+ enableval=$enable_error_on_warning; case "${enableval}" in
+- yes) warnFLAGS="${warnFLAGS} -Werror" ;;
++ yes) warnFLAGS="${warnFLAGS}" ;;
+ no) ;;
+ *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-error-on-warning" >&5
+ echo "$as_me: error: bad value ${enableval} for --enable-error-on-warning" >&2;}
+ { (exit 1); exit 1; }; } ;;
+ esac
+ else
+- warnFLAGS="${warnFLAGS} -Werror"
++ warnFLAGS="${warnFLAGS}"
+ fi
+
+ GCC_VERSION=`${CC} -dumpversion`
+@@ -26386,10 +26386,10 @@
+ # This is gcc >= 3.x.x
+ if test `echo ${GCC_VERSION} | cut -d. -f2` -ge 4; then
+ # This is gcc >= 3.4.x
+- warnFLAGS="${warnFLAGS} -Wdeclaration-after-statement"
++ warnFLAGS="${warnFLAGS}"
+ else if test `echo ${GCC_VERSION} | cut -d. -f1` -ge 4; then
+ # This is gcc == 4.x.x
+- warnFLAGS="${warnFLAGS} -Wdeclaration-after-statement -Wno-pointer-sign"
++ warnFLAGS="${warnFLAGS}"
+ fi
+ fi
+ fi
+@@ -26408,16 +26408,6 @@
+ fi
+
+
+-if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+- warnFLAGS="$warnFLAGS -Wcast-align -Wsign-compare \
+- -Wmissing-prototypes -Wmissing-declarations -Werror -Wmissing-include-dirs \
+- -Wstrict-prototypes -Winline -Wnested-externs -Wpointer-arith \
+- -Wmissing-field-initializers"
+-fi
+-
+-
+-
+-
+
+ DATADIR=`eval echo $datadir`
+ QSF_SCHEMA_DIR=`eval echo $DATADIR`"/xml/qof/qsf"
diff --git a/dev-libs/qof/qof-0.7.2.ebuild b/dev-libs/qof/qof-0.7.2.ebuild
index 73fe92a967cd..ac5d621aebbb 100644
--- a/dev-libs/qof/qof-0.7.2.ebuild
+++ b/dev-libs/qof/qof-0.7.2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/qof/qof-0.7.2.ebuild,v 1.5 2007/11/03 23:46:01 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/qof/qof-0.7.2.ebuild,v 1.6 2007/11/04 11:05:46 opfer Exp $
+
+inherit eutils
DESCRIPTION="A Query Object Framework"
HOMEPAGE="http://qof.sourceforge.net/"
@@ -15,6 +17,11 @@ IUSE=""
DEPEND=""
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}/${P}-remove_spurious_CFLAGS.patch"
+}
+
src_install() {
emake DESTDIR="${D}" install || die
}