summaryrefslogtreecommitdiff
path: root/libsdl/libsdl-qpe-1.2.7/pygame.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 /libsdl/libsdl-qpe-1.2.7/pygame.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 'libsdl/libsdl-qpe-1.2.7/pygame.patch')
-rw-r--r--libsdl/libsdl-qpe-1.2.7/pygame.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/libsdl/libsdl-qpe-1.2.7/pygame.patch b/libsdl/libsdl-qpe-1.2.7/pygame.patch
deleted file mode 100644
index f13a945ee2..0000000000
--- a/libsdl/libsdl-qpe-1.2.7/pygame.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- SDL-1.2.7/src/main/qtopia/SDL_qtopia_main.cc~pygame.patch 2003-12-14 16:55:53.000000000 +1030
-+++ SDL-1.2.7/src/main/qtopia/SDL_qtopia_main.cc 2004-05-11 01:20:46.000000000 +0930
-@@ -16,7 +16,7 @@
- // some issues in Qtopia where there are left-over qcop files in /tmp/.
- // I'm guessing this will also clean up the taskbar in the Sharp version
- // of Qtopia.
--static inline void cleanupQCop() {
-+static void cleanupQCop() {
- QString appname(qApp->argv()[0]);
- int slash = appname.findRev("/");
- if(slash != -1) { appname = appname.mid(slash+1); }
-@@ -27,19 +27,25 @@
- }
-
- static QPEApplication *app;
-+
-+extern "C" void initQCop(int argc, char *argv[]) {
-+
-+ app = new QPEApplication(argc, argv);
-+ QWidget dummy;
-+ app->showMainWidget(&dummy);
-+ atexit(cleanupQCop);
-+}
-+
- #endif
-
- extern int SDL_main(int argc, char *argv[]);
-
--int main(int argc, char *argv[])
-+extern "C" int main(int argc, char *argv[])
- {
- #ifdef QWS
- // This initializes the Qtopia application. It needs to be done here
- // because it parses command line options.
-- app = new QPEApplication(argc, argv);
-- QWidget dummy;
-- app->showMainWidget(&dummy);
-- atexit(cleanupQCop);
-+ initQCop(argc, argv);
- #endif
- // Exit here because if return is used, the application
- // doesn't seem to quit correctly.