From 8d2566a0b4e8176ee08ccfe2d8b4973d538e6a8e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sun, 18 Feb 2007 02:16:22 +0000 Subject: [PATCH] Add a patch to build on FreeBSD, and add ~x86-fbsd keyword. Note that this package requires a GCC compiled with the latest change to toolchain.eclass to enable __cxa_atexit. Package-Manager: portage-2.1.2-r9 --- x11-themes/domino/ChangeLog | 8 ++- x11-themes/domino/Manifest | 26 +++++---- x11-themes/domino/domino-0.4.ebuild | 11 +++- x11-themes/domino/files/domino-0.4-fbsd.patch | 55 +++++++++++++++++++ 4 files changed, 86 insertions(+), 14 deletions(-) create mode 100644 x11-themes/domino/files/domino-0.4-fbsd.patch diff --git a/x11-themes/domino/ChangeLog b/x11-themes/domino/ChangeLog index 6ee98349d6b8..248bd8828ebe 100644 --- a/x11-themes/domino/ChangeLog +++ b/x11-themes/domino/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-themes/domino # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/domino/ChangeLog,v 1.2 2007/02/17 00:45:05 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/domino/ChangeLog,v 1.3 2007/02/18 02:16:22 flameeyes Exp $ + + 18 Feb 2007; Diego Pettenò + +files/domino-0.4-fbsd.patch, domino-0.4.ebuild: + Add a patch to build on FreeBSD, and add ~x86-fbsd keyword. Note that this + package requires a GCC compiled with the latest change to toolchain.eclass + to enable __cxa_atexit. 16 Feb 2007; Diego Pettenò domino-0.4.ebuild: Add dependency over kwin/kdebase for the windows decoration. diff --git a/x11-themes/domino/Manifest b/x11-themes/domino/Manifest index c50fc0d185ab..e4d83ff17150 100644 --- a/x11-themes/domino/Manifest +++ b/x11-themes/domino/Manifest @@ -1,15 +1,19 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX domino-0.4-fbsd.patch 1396 RMD160 66750ae3d16c351de7c4fc7fcf90e8eef1126bc7 SHA1 43becd70b454c66be705d03d2fd83a02de0f3fc0 SHA256 08a558290de05fb0b09edd25880691002152ae55ee1566a064d53ac359c2669d +MD5 c8a409e2163da9d724a84d892dc2e190 files/domino-0.4-fbsd.patch 1396 +RMD160 66750ae3d16c351de7c4fc7fcf90e8eef1126bc7 files/domino-0.4-fbsd.patch 1396 +SHA256 08a558290de05fb0b09edd25880691002152ae55ee1566a064d53ac359c2669d files/domino-0.4-fbsd.patch 1396 DIST 42804-domino-0.4.tar.bz2 526684 RMD160 d0e56a3bd9bbcfd294f2038383a9a6223d69607d SHA1 2a5f820911ddf62852825d52f930b52d2dec0dac SHA256 421e21ee3789642bf091da4b65bd910633743abe3d11da8319be0a6319db2a86 -EBUILD domino-0.4.ebuild 554 RMD160 7ffea336637c6223cee7de6d782821d1ecbc21b3 SHA1 db759b9eee2fdca50c574f30bade2d1dc38470ab SHA256 96aa27ddc17497205859952631fd1da77fde928765eec2e53eb7d6543e33d7b0 -MD5 408cab22c856962b06c93d4d65bebb0d domino-0.4.ebuild 554 -RMD160 7ffea336637c6223cee7de6d782821d1ecbc21b3 domino-0.4.ebuild 554 -SHA256 96aa27ddc17497205859952631fd1da77fde928765eec2e53eb7d6543e33d7b0 domino-0.4.ebuild 554 -MISC ChangeLog 560 RMD160 7f09c3625234c507ff887ed66b005819f771a6ee SHA1 de291e3ca20cc69d104173d79fbacb47aa702fb5 SHA256 0241ce12edd8984718a1e4954b1ca779f7dff4da9858a773f9c433133519253a -MD5 cd17485260518968ba83eb72df4b3cff ChangeLog 560 -RMD160 7f09c3625234c507ff887ed66b005819f771a6ee ChangeLog 560 -SHA256 0241ce12edd8984718a1e4954b1ca779f7dff4da9858a773f9c433133519253a ChangeLog 560 +EBUILD domino-0.4.ebuild 661 RMD160 36052300ac27cd097103589b66553629564c92d7 SHA1 b8eee12e503e030b5d5c8aefa133c8b024d3451f SHA256 0bf6754c243f5a88a5c81b601aebc4b7a13a31cee5fb50f4a22453e254a3fbc5 +MD5 f6452ffc0e4ddb3d683ee59a5d232837 domino-0.4.ebuild 661 +RMD160 36052300ac27cd097103589b66553629564c92d7 domino-0.4.ebuild 661 +SHA256 0bf6754c243f5a88a5c81b601aebc4b7a13a31cee5fb50f4a22453e254a3fbc5 domino-0.4.ebuild 661 +MISC ChangeLog 845 RMD160 0cd95c4068f5c150261a391e7e2cc9d8e05e510c SHA1 b395e4bb003c7488a4bb525833495ae832d1997b SHA256 1fdebab0fad197dfc57c54d4ca004474e7e23533459faab470d46ab8cdc2f1d4 +MD5 25636332c44da60b6897e38c8a9ec162 ChangeLog 845 +RMD160 0cd95c4068f5c150261a391e7e2cc9d8e05e510c ChangeLog 845 +SHA256 1fdebab0fad197dfc57c54d4ca004474e7e23533459faab470d46ab8cdc2f1d4 ChangeLog 845 MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156 @@ -20,7 +24,7 @@ SHA256 d6a0093b575abc75339bbeddb408c8c282dd075e9d841ec1b6f22fec8d5b09a5 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFF1lAZAiZjviIA2XgRApZiAKDswl2MYXxtO7mLXpdqKDnL7+Iw0QCfX0Bn -s366UNYW/kdghv6HC8xrh7U= -=BIio +iD8DBQFF17b9AiZjviIA2XgRAiwoAKC/LvUb72cRBN9khebxYgYN1kXWLgCgxqo1 +TZX9kcD4yWQ5wKQt7JnwxN0= +=T5hC -----END PGP SIGNATURE----- diff --git a/x11-themes/domino/domino-0.4.ebuild b/x11-themes/domino/domino-0.4.ebuild index 58aa3fb03491..6f6af7ba4160 100644 --- a/x11-themes/domino/domino-0.4.ebuild +++ b/x11-themes/domino/domino-0.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/domino/domino-0.4.ebuild,v 1.2 2007/02/17 00:45:05 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/domino/domino-0.4.ebuild,v 1.3 2007/02/18 02:16:22 flameeyes Exp $ ARTS_REQUIRED="never" inherit kde @@ -11,8 +11,15 @@ SRC_URI="http://www.kde-look.org/CONTENT/content-files/42804-${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86-fbsd" IUSE="" RDEPEND="|| ( kde-base/kwin kde-base/kdebase )" need-kde 3.4 + +PATCHES="${FILESDIR}/${P}-fbsd.patch" + +src_unpack() { + kde_src_unpack + rm -f "${S}/configure" +} diff --git a/x11-themes/domino/files/domino-0.4-fbsd.patch b/x11-themes/domino/files/domino-0.4-fbsd.patch new file mode 100644 index 000000000000..6e2b21ac89c0 --- /dev/null +++ b/x11-themes/domino/files/domino-0.4-fbsd.patch @@ -0,0 +1,55 @@ +Fix building on FreeBSD systems. +Index: domino-0.4/configure.in.in +=================================================================== +--- domino-0.4.orig/configure.in.in ++++ domino-0.4/configure.in.in +@@ -1 +1,3 @@ + #MIN_CONFIG ++ ++AC_CHECK_HEADERS([endian.h sys/endian.h]) +Index: domino-0.4/domino/misc.cpp +=================================================================== +--- domino-0.4.orig/domino/misc.cpp ++++ domino-0.4/domino/misc.cpp +@@ -22,19 +22,30 @@ + #include "misc.h" + #include + #include +-#include +- +-#if __BYTE_ORDER == __LITTLE_ENDIAN +-#undef WORDS_BIGENDIAN +-#define WORDS_LITTLEENDIAN 1 +-#endif +-#if __BYTE_ORDER == __BIG_ENDIAN +- #undef WORDS_LITTLEENDIAN +- #define WORDS_BIGENDIAN 1 +-#endif +- + ++#include + ++#ifdef HAVE_ENDIAN_H ++# include ++# if __BYTE_ORDER == __LITTLE_ENDIAN ++# undef WORDS_BIGENDIAN ++# define WORDS_LITTLEENDIAN 1 ++# endif ++# if __BYTE_ORDER == __BIG_ENDIAN ++# undef WORDS_LITTLEENDIAN ++# define WORDS_BIGENDIAN 1 ++# endif ++#elif HAVE_SYS_ENDIAN_H /* *BSD in general */ ++# include ++# if _BYTE_ORDER == _LITTLE_ENDIAN ++# undef WORDS_BIGENDIAN ++# define WORDS_LITTLEENDIAN 1 ++# endif ++# if _BYTE_ORDER == _BIG_ENDIAN ++# undef WORDS_LITTLEENDIAN ++# define WORDS_BIGENDIAN 1 ++# endif ++#endif + + QColor alphaBlendColors(const QColor &bgColor, const QColor &fgColor, const int a) + { -- 2.26.2