summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-12-17 22:32:16 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-12-17 22:32:16 +0000
commit3ae6bfcafacfe933f49c987d50ac883c006371c1 (patch)
tree782254641b3f359439c23acc335b4c223f14c2d7 /dev-lang/blassic
parentamd64 stable, bug #250804 (diff)
downloadhistorical-3ae6bfcafacfe933f49c987d50ac883c006371c1.tar.gz
historical-3ae6bfcafacfe933f49c987d50ac883c006371c1.tar.bz2
historical-3ae6bfcafacfe933f49c987d50ac883c006371c1.zip
add patch to enable building with gcc43 submitted by Yaroslav Gorbunov via bug #250832
Package-Manager: portage-2.1.4.5
Diffstat (limited to 'dev-lang/blassic')
-rw-r--r--dev-lang/blassic/ChangeLog7
-rw-r--r--dev-lang/blassic/Manifest5
-rw-r--r--dev-lang/blassic/blassic-0.10.0.ebuild8
-rw-r--r--dev-lang/blassic/files/blassic-0.10.0-gcc43.patch78
4 files changed, 94 insertions, 4 deletions
diff --git a/dev-lang/blassic/ChangeLog b/dev-lang/blassic/ChangeLog
index b8afb23433e5..1132e514de0a 100644
--- a/dev-lang/blassic/ChangeLog
+++ b/dev-lang/blassic/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/blassic
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/blassic/ChangeLog,v 1.24 2008/01/11 21:51:54 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/blassic/ChangeLog,v 1.25 2008/12/17 22:32:15 mr_bones_ Exp $
+
+ 17 Dec 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/blassic-0.10.0-gcc43.patch, blassic-0.10.0.ebuild:
+ add patch to enable building with gcc43 submitted by Yaroslav Gorbunov via bug
+ #250832
11 Jan 2008; Fabian Groffen <grobian@gentoo.org> blassic-0.10.0.ebuild:
Dropped ppc-macos keyword, see you in prefix
diff --git a/dev-lang/blassic/Manifest b/dev-lang/blassic/Manifest
index bb661635cdf2..9dc67f927073 100644
--- a/dev-lang/blassic/Manifest
+++ b/dev-lang/blassic/Manifest
@@ -1,4 +1,5 @@
+AUX blassic-0.10.0-gcc43.patch 2518 RMD160 d7356140c0c56dfa920e60d57e53376bfed0bf84 SHA1 e4edac5d419c8eb5484df6f5aa3837334bf97b04 SHA256 77c6ef50883c23334bdf82cabf84c3b881ad200c72ce25f1060f8f1431efb4c6
DIST blassic-0.10.0.tgz 349416 RMD160 006df2c2ca25499050a2f7c9e711f07e57475fb2 SHA1 6bb8237c96cb84df8eae8754ca621a76e1d0956f SHA256 ca19d2d9cc82175e00c03866f25e3d910ae18d61263ea0f133cd0fb38f0cea49
-EBUILD blassic-0.10.0.ebuild 824 RMD160 e0ce3458f95961454d8da29cfdcdd0dffc8c5eb4 SHA1 951caf188c3b747977d9ab718ceab9bc297890e5 SHA256 d9741b7d67c8b57cee5c397ac92ad318ec55668eed0117700a50cc3e3bfaa466
-MISC ChangeLog 2804 RMD160 cb563f48d7a45cd201581d43532256173d9f7b33 SHA1 168cc08d9c5fa134a22a6b24fbed6464a0e9b2e6 SHA256 1482e1904a30b86e6a7a40bb084efe6583ee308dca87981cc38dec7a23c40e15
+EBUILD blassic-0.10.0.ebuild 907 RMD160 d01fc160ed508bac8ffa941568ab6bd4dc0a3c3d SHA1 04f9f80cfcbace83f77bfd4d98d4f3ea3bbcd096 SHA256 aa9ee28fe9765076032db97a98252d8df565d560ef5c267b78e76dc0f711d7f7
+MISC ChangeLog 3013 RMD160 ff2e2d7695431d69198927c4afd3fea04148989a SHA1 66bb409ed670367a108f1b5c7be58f7ec3e60e5f SHA256 6d9252f11f9ba4422946ca4360591cc9c3b28b3bcaab64951ef8990af127a43c
MISC metadata.xml 565 RMD160 ee0dc9d7cf5f141e97698d17e736912f50de3f2e SHA1 eb0f3abfe74e7127abd682694fd8f61ce0028e4d SHA256 ef1bedf849891d18fd9b76e031cab1cf30b1b20fec6e0c888df0844c86279b17
diff --git a/dev-lang/blassic/blassic-0.10.0.ebuild b/dev-lang/blassic/blassic-0.10.0.ebuild
index 605cae5b69ba..aadb75e142bb 100644
--- a/dev-lang/blassic/blassic-0.10.0.ebuild
+++ b/dev-lang/blassic/blassic-0.10.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/blassic/blassic-0.10.0.ebuild,v 1.10 2008/01/11 21:51:54 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/blassic/blassic-0.10.0.ebuild,v 1.11 2008/12/17 22:32:15 mr_bones_ Exp $
DESCRIPTION="classic Basic interpreter"
HOMEPAGE="http://blassic.org"
@@ -17,6 +17,12 @@ RDEPEND="sys-libs/ncurses
DEPEND="${RDEPEND}
X? ( x11-proto/xproto )"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}
+
src_compile() {
econf \
--disable-dependency-tracking \
diff --git a/dev-lang/blassic/files/blassic-0.10.0-gcc43.patch b/dev-lang/blassic/files/blassic-0.10.0-gcc43.patch
new file mode 100644
index 000000000000..44631a6566d4
--- /dev/null
+++ b/dev-lang/blassic/files/blassic-0.10.0-gcc43.patch
@@ -0,0 +1,78 @@
+diff -Nurpa blassic-0.10.0.orig/cursor.h blassic-0.10.0/cursor.h
+--- blassic-0.10.0.orig/cursor.h 2008-12-15 02:44:43.000000000 +0300
++++ blassic-0.10.0/cursor.h 2008-12-15 02:46:03.000000000 +0300
+@@ -6,6 +6,7 @@
+
+
+ #include <string>
++#include <cstring>
+
+
+ namespace cursor {
+diff -Nurpa blassic-0.10.0.orig/graphics.cpp blassic-0.10.0/graphics.cpp
+--- blassic-0.10.0.orig/graphics.cpp 2008-12-15 02:44:43.000000000 +0300
++++ blassic-0.10.0/graphics.cpp 2008-12-15 02:46:03.000000000 +0300
+@@ -24,6 +24,8 @@ using util::to_string;
+ #include <sstream>
+ #include <iomanip>
+
++#include <cstdlib>
++#include <cstring>
+ #include <memory>
+ using std::auto_ptr;
+
+diff -Nurpa blassic-0.10.0.orig/memory.cpp blassic-0.10.0/memory.cpp
+--- blassic-0.10.0.orig/memory.cpp 2008-12-15 02:44:43.000000000 +0300
++++ blassic-0.10.0/memory.cpp 2008-12-15 02:46:03.000000000 +0300
+@@ -29,6 +29,7 @@
+ #endif
+ // HAVE_SYS_MMAN_H
+
++#include <cstring>
+ #include <iostream>
+ using std::cerr;
+ using std::endl;
+diff -Nurpa blassic-0.10.0.orig/program.cpp blassic-0.10.0/program.cpp
+--- blassic-0.10.0.orig/program.cpp 2008-12-15 02:44:43.000000000 +0300
++++ blassic-0.10.0/program.cpp 2008-12-15 02:46:03.000000000 +0300
+@@ -18,6 +18,7 @@ using util::to_string;
+ #include <cctype>
+ #include <sstream>
+
++#include <cstring>
+ using std::string;
+ // For debugging.
+ using std::cerr;
+diff -Nurpa blassic-0.10.0.orig/runnerline_instructions.cpp blassic-0.10.0/runnerline_instructions.cpp
+--- blassic-0.10.0.orig/runnerline_instructions.cpp 2008-12-15 02:44:43.000000000 +0300
++++ blassic-0.10.0/runnerline_instructions.cpp 2008-12-15 02:46:03.000000000 +0300
+@@ -16,6 +16,7 @@ using util::to_string;
+
+ #include "trace.h"
+
++#include <cstring>
+ #include <memory>
+ using std::auto_ptr;
+
+diff -Nurpa blassic-0.10.0.orig/socket.cpp blassic-0.10.0/socket.cpp
+--- blassic-0.10.0.orig/socket.cpp 2008-12-15 02:44:43.000000000 +0300
++++ blassic-0.10.0/socket.cpp 2008-12-15 02:45:25.000000000 +0300
+@@ -3,6 +3,7 @@
+
+ #include "socket.h"
+
++#include <cstring>
+ //------------------------------------------------
+ // Changed this: now do not use winsock in Cygwin.
+ //------------------------------------------------
+diff -Nurpa blassic-0.10.0.orig/util.h blassic-0.10.0/util.h
+--- blassic-0.10.0.orig/util.h 2008-12-15 02:44:43.000000000 +0300
++++ blassic-0.10.0/util.h 2008-12-15 02:46:03.000000000 +0300
+@@ -8,6 +8,7 @@
+ #include <sstream>
+ #include <stdexcept>
+ #include <iostream>
++#include <cstdlib>
+
+ #ifdef __BORLANDC__
+ #pragma warn -8027