Marking ~ppc-macos
authorFabian Groffen <grobian@gentoo.org>
Wed, 31 Aug 2005 10:20:10 +0000 (10:20 +0000)
committerFabian Groffen <grobian@gentoo.org>
Wed, 31 Aug 2005 10:20:10 +0000 (10:20 +0000)
Package-Manager: portage-2.0.51.22-r2

app-text/antiword/ChangeLog
app-text/antiword/Manifest
app-text/antiword/antiword-0.36.1.ebuild
app-text/antiword/files/antiword-0.36.1-ppc-macos.diff [new file with mode: 0644]

index f1cc90bf17434c78c5850a776a04f38589b5be31..11eb7d3a6d8be2791975c18526add20f3f003820 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for app-text/antiword
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/antiword/ChangeLog,v 1.23 2005/03/11 13:25:34 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/antiword/ChangeLog,v 1.24 2005/08/31 10:20:10 grobian Exp $
+
+  31 Aug 2005; Fabian Groffen <grobian@gentoo.org>
+  +files/antiword-0.36.1-ppc-macos.diff, antiword-0.36.1.ebuild:
+  Marking ~ppc-macos (bug #104314)
 
   11 Mar 2005; Seemant Kulleen <seemant@gentoo.org> antiword-0.36.1.ebuild:
   stable on x86 at the request of throw_away_2002@yahoo.com and Tor Klingberg
index 0540527ce6beffff00a76d5b1c5e78ff0ded194b..54f0855c518e5483a271ff42cff4d92a7038b07e 100644 (file)
@@ -1,7 +1,8 @@
-MD5 f0dce8045b02f9a260603d1c22158e05 ChangeLog 3037
+MD5 e1e4217dfb45debd7da4d287b018d813 antiword-0.36.1.ebuild 903
 MD5 a02c1b31a27e3b071344a2e4ddb669ca antiword-0.35.ebuild 849
+MD5 7ccb42a471b1510df2d74aaa30faf7f9 ChangeLog 3189
 MD5 80b835acc9a0bdf0e08223237560edb5 metadata.xml 342
-MD5 dd491f35cfd117a980b44f8474780d10 antiword-0.36.1.ebuild 805
-MD5 e4f62732e83760a801113f9897e06c0f files/digest-antiword-0.35 65
+MD5 f35c9cb9fec58f1b5fc7379ebab7dcb5 files/antiword-0.36.1-ppc-macos.diff 440
 MD5 8970b39f62ba21a9a9699c6f6b907147 files/digest-antiword-0.36.1 67
+MD5 e4f62732e83760a801113f9897e06c0f files/digest-antiword-0.35 65
 MD5 dc4b195386deeddbd406c7aa5afb8a60 files/gentoo-antiword.diff 380
index 91255b83735959017ab752107cb44a7f26c1ac66..9ae91017fb2fa3c679457bf296589b021a613955 100644 (file)
@@ -1,6 +1,8 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/antiword/antiword-0.36.1.ebuild,v 1.3 2005/03/11 13:25:34 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/antiword/antiword-0.36.1.ebuild,v 1.4 2005/08/31 10:20:10 grobian Exp $
+
+inherit eutils
 
 IUSE="kde"
 DESCRIPTION="free MS Word reader"
@@ -9,10 +11,15 @@ HOMEPAGE="http://www.winfield.demon.nl"
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="x86 amd64 ppc sparc alpha ~hppa ppc64"
+KEYWORDS="alpha amd64 ~hppa ppc ~ppc-macos ppc64 sparc x86"
 
 DEPEND="virtual/ghostscript"
 
+src_unpack() {
+       unpack ${A}
+       epatch ${FILESDIR}/${P}-ppc-macos.diff
+}
+
 src_compile() {
        emake || die
 }
diff --git a/app-text/antiword/files/antiword-0.36.1-ppc-macos.diff b/app-text/antiword/files/antiword-0.36.1-ppc-macos.diff
new file mode 100644 (file)
index 0000000..d93d340
--- /dev/null
@@ -0,0 +1,14 @@
+--- main_u.c   2005-08-30 17:55:24 -0500
++++ antiword-0.36.1/main_u.c   2005-08-30 17:55:36 -0500
+@@ -29,9 +29,9 @@
+ #include <fcntl.h>
+ #include <io.h>
+ #endif /* __dos */
+-#if defined(__STDC_ISO_10646__)
++#if defined(__STDC_ISO_10646__) || defined(__APPLE_CC__)
+ #include <locale.h>
+-#endif /* __STDC_ISO_10646__ */
++#endif /* __STDC_ISO_10646__ || __APPLE_CC__ */
+ #if defined(N_PLAT_NLM)
+ #if !defined(_VA_LIST)
+ #include "NW-only/nw_os.h"