aboutsummaryrefslogtreecommitdiff
path: root/devel/py-game
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-05-09 22:21:59 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-05-09 22:21:59 +0000
commita765013955fac2866dc9bf094a0fd667fb2664e2 (patch)
tree2af387d89f287565428eb08cb23df8e18791f401 /devel/py-game
parentd54dc938e308848c5fbc939ac4593ec2852d6edf (diff)
downloadports-a765013955fac2866dc9bf094a0fd667fb2664e2.tar.gz
ports-a765013955fac2866dc9bf094a0fd667fb2664e2.zip
Notes
Diffstat (limited to 'devel/py-game')
-rw-r--r--devel/py-game/files/patch-src::mixer.c23
-rw-r--r--devel/py-game/files/patch-src::music.c23
-rw-r--r--devel/py-game/pkg-plist5
3 files changed, 51 insertions, 0 deletions
diff --git a/devel/py-game/files/patch-src::mixer.c b/devel/py-game/files/patch-src::mixer.c
new file mode 100644
index 000000000000..6e3eb3305cad
--- /dev/null
+++ b/devel/py-game/files/patch-src::mixer.c
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- src/mixer.c 2002/05/09 21:53:08 1.1
++++ src/mixer.c 2002/05/09 21:55:19
+@@ -926,7 +926,7 @@
+ /*DOC*/ "Temporarily stops playback on all the mixer channels.\n"
+ /*DOC*/ ;
+
+-static PyObject* pause(PyObject* self, PyObject* args)
++static PyObject* all_pause(PyObject* self, PyObject* args)
+ {
+ if(!PyArg_ParseTuple(args, ""))
+ return NULL;
+@@ -1029,7 +1029,7 @@
+ { "find_channel", find_channel, 1, doc_find_channel },
+ { "fadeout", fadeout, 1, doc_fadeout },
+ { "stop", stop, 1, doc_stop },
+- { "pause", pause, 1, doc_pause },
++ { "pause", all_pause, 1, doc_pause },
+ { "unpause", unpause, 1, doc_unpause },
+ /* { "lookup_frequency", lookup_frequency, 1, doc_lookup_frequency },*/
+
diff --git a/devel/py-game/files/patch-src::music.c b/devel/py-game/files/patch-src::music.c
new file mode 100644
index 000000000000..a4ff93a13d12
--- /dev/null
+++ b/devel/py-game/files/patch-src::music.c
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- src/music.c 2002/05/09 21:56:01 1.1
++++ src/music.c 2002/05/09 21:56:51
+@@ -148,7 +148,7 @@
+ /*DOC*/ "Temporarily stops the current music.\n"
+ /*DOC*/ ;
+
+-static PyObject* pause(PyObject* self, PyObject* args)
++static PyObject* music_pause(PyObject* self, PyObject* args)
+ {
+ if(!PyArg_ParseTuple(args, ""))
+ return NULL;
+@@ -365,7 +365,7 @@
+ { "get_busy", get_busy, 1, doc_get_busy },
+ { "fadeout", fadeout, 1, doc_fadeout },
+ { "stop", stop, 1, doc_stop },
+- { "pause", pause, 1, doc_pause },
++ { "pause", music_pause, 1, doc_pause },
+ { "unpause", unpause, 1, doc_unpause },
+ { "rewind", mus_rewind, 1, doc_rewind },
+ { "set_volume", set_volume, 1, doc_set_volume },
diff --git a/devel/py-game/pkg-plist b/devel/py-game/pkg-plist
index d2af76fc3e10..0ad9489210c9 100644
--- a/devel/py-game/pkg-plist
+++ b/devel/py-game/pkg-plist
@@ -5,6 +5,7 @@ include/%%PYTHON_VERSION%%/pygame/pygame.h
include/%%PYTHON_VERSION%%/pygame/setproctitle.h
lib/%%PYTHON_VERSION%%/site-packages/pygame/__init__.py
lib/%%PYTHON_VERSION%%/site-packages/pygame/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pygame/__init__.pyo
lib/%%PYTHON_VERSION%%/site-packages/pygame/base.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/bluebold.ttf
lib/%%PYTHON_VERSION%%/site-packages/pygame/bluebold.txt
@@ -12,6 +13,7 @@ lib/%%PYTHON_VERSION%%/site-packages/pygame/cdrom.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/constants.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/cursors.py
lib/%%PYTHON_VERSION%%/site-packages/pygame/cursors.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pygame/cursors.pyo
lib/%%PYTHON_VERSION%%/site-packages/pygame/display.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/draw.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/event.so
@@ -22,6 +24,7 @@ lib/%%PYTHON_VERSION%%/site-packages/pygame/joystick.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/key.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/locals.py
lib/%%PYTHON_VERSION%%/site-packages/pygame/locals.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pygame/locals.pyo
lib/%%PYTHON_VERSION%%/site-packages/pygame/mixer.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/mixer_music.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/mouse.so
@@ -34,6 +37,7 @@ lib/%%PYTHON_VERSION%%/site-packages/pygame/rect.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/rwobject.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/sprite.py
lib/%%PYTHON_VERSION%%/site-packages/pygame/sprite.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pygame/sprite.pyo
lib/%%PYTHON_VERSION%%/site-packages/pygame/surface.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/surfarray.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/surflock.so
@@ -41,6 +45,7 @@ lib/%%PYTHON_VERSION%%/site-packages/pygame/time.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/transform.so
lib/%%PYTHON_VERSION%%/site-packages/pygame/version.py
lib/%%PYTHON_VERSION%%/site-packages/pygame/version.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pygame/version.pyo
%%PORTDOCS%%share/doc/py-game/LGPL
%%PORTDOCS%%share/doc/py-game/index.html
%%PORTDOCS%%share/doc/py-game/logos.html