summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanagiotis Christopoulos (pchrist) <pchrist@gentoo.org>2013-07-01 23:34:16 +0300
committerPanagiotis Christopoulos (pchrist) <pchrist@gentoo.org>2013-07-01 23:34:16 +0300
commitb3b8a4ed2130267e520ddf5ef8687e575fa3bdd4 (patch)
treef571a5a8c987e5d7eb22c232aad2697bf330b0d9 /dev-lang/gnu-smalltalk/files
parenttest test test (diff)
downloadpchrist-b3b8a4ed2130267e520ddf5ef8687e575fa3bdd4.tar.gz
pchrist-b3b8a4ed2130267e520ddf5ef8687e575fa3bdd4.tar.bz2
pchrist-b3b8a4ed2130267e520ddf5ef8687e575fa3bdd4.zip
dev-lang/gnu-smalltalk: some preliminary work on 3.2.5
Package-Manager: portage-2.1.12.11 Manifest-Sign-Key: 3AC579B91BC03656
Diffstat (limited to 'dev-lang/gnu-smalltalk/files')
-rw-r--r--dev-lang/gnu-smalltalk/files/50gnu-smalltalk-gentoo.el7
-rw-r--r--dev-lang/gnu-smalltalk/files/SequenceableCollection-size-3.2.4.patch23
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-lang/gnu-smalltalk/files/50gnu-smalltalk-gentoo.el b/dev-lang/gnu-smalltalk/files/50gnu-smalltalk-gentoo.el
new file mode 100644
index 0000000..e9e18d4
--- /dev/null
+++ b/dev-lang/gnu-smalltalk/files/50gnu-smalltalk-gentoo.el
@@ -0,0 +1,7 @@
+
+;;; gnu-smalltalk site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'smalltalk-mode "smalltalk-mode" "Autoload for smalltalk-mode" t)
+(autoload 'gst "gst-mode" "Autoload for gst" t)
+(add-to-list 'auto-mode-alist '("\\.st\\'" . smalltalk-mode))
diff --git a/dev-lang/gnu-smalltalk/files/SequenceableCollection-size-3.2.4.patch b/dev-lang/gnu-smalltalk/files/SequenceableCollection-size-3.2.4.patch
new file mode 100644
index 0000000..1842e46
--- /dev/null
+++ b/dev-lang/gnu-smalltalk/files/SequenceableCollection-size-3.2.4.patch
@@ -0,0 +1,23 @@
+--- a/kernel/SeqCollect.st
++++ b/kernel/SeqCollect.st
+@@ -1104,9 +1104,16 @@ some access and manipulation methods.'>
+ ^count
+ ]
+
++ size [
++ "Answer a dummy size of 0, so that SequenceableCollection>>#do: works."
++
++ <category: 'testing collections'>
++ ^0
++ ]
++
+ growSize [
+ <category: 'private methods'>
+- ^self size
++ ^(self size max: 8)
+ ]
+
+ swap: anIndex with: anotherIndex [
+--
+1.7.2.5
+