summaryrefslogtreecommitdiff
path: root/python/python-pygame-1.6/qpe.patch
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-12-09 09:47:41 +0000
committerChris Larson <clarson@kergoth.com>2004-12-09 09:47:41 +0000
commit2c5b8ec6d95cf68650265941530e5ce38c8dd6d9 (patch)
treebf879bea7ef8517ba8c3d1286ef300401d3d484c /python/python-pygame-1.6/qpe.patch
parent101e2f1623def0a355d20aacb8bd93810703e834 (diff)
Merge oe-devel@oe-devel.bkbits.net:openembedded
into hyperion.kergoth.com:/home/kergoth/code/openembedded 2004/12/09 03:39:39-06:00 kergoth.com!kergoth Break people's builds again.. this time moving the packages into a packages/ subdir to clean things up a bit. BKrev: 41b81f3dvlp3rU7_8MUXLcI8LDdDoA
Diffstat (limited to 'python/python-pygame-1.6/qpe.patch')
-rw-r--r--python/python-pygame-1.6/qpe.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/python/python-pygame-1.6/qpe.patch b/python/python-pygame-1.6/qpe.patch
deleted file mode 100644
index b4d3c01a2f..0000000000
--- a/python/python-pygame-1.6/qpe.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- ./src/base.c~qpe.patch 2003-10-16 15:43:22.000000000 +0930
-+++ ./src/base.c 2004-05-11 02:09:14.000000000 +0930
-@@ -37,6 +37,12 @@
- #include<windows.h>
- extern int SDL_RegisterApp(char*, Uint32, void*);
- #endif
-+#ifdef QWS
-+
-+int SDL_main(int argc, char *argv[]) { return 0; };
-+
-+extern void initQCop(int argc, char *argv[]);
-+#endif
-
- #if defined(macintosh)
- #if(!defined(__MWERKS__) && !TARGET_API_MAC_CARBON)
-@@ -691,7 +697,10 @@
- {
- PyObject *module, *dict, *apiobj;
- static void* c_api[PYGAMEAPI_BASE_NUMSLOTS];
--
-+#ifdef QWS
-+ char *args[] = {"pygame", NULL};
-+#endif
-+
- /* create the module */
- module = Py_InitModule3("base", init__builtins__, doc_pygame_MODULE);
- dict = PyModule_GetDict(module);
-@@ -722,6 +731,9 @@
- /*some intiialization*/
- Py_AtExit(atexit_quit);
- install_parachute();
-+#ifdef QWS
-+ initQCop(1, args);
-+#endif
- #ifdef MS_WIN32
- SDL_RegisterApp("pygame", 0, GetModuleHandle(NULL));
- #endif