public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-arcade/xboing/files: xboing-2.4-buffer.patch xboing-2.4-sleep.patch
@ 2013-02-02 19:19 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; only message in thread
From: Andreas HAttel (dilfridge) @ 2013-02-02 19:19 UTC (permalink / raw
  To: gentoo-commits

dilfridge    13/02/02 19:19:26

  Added:                xboing-2.4-buffer.patch xboing-2.4-sleep.patch
  Log:
  Adopt package, fix buffer overflow (kinda), bug 442290, and impossible game speed. Drop to ~arch as we're returning from package mask.
  
  (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key B6C5F7DE)

Revision  Changes    Path
1.1                  games-arcade/xboing/files/xboing-2.4-buffer.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/xboing/files/xboing-2.4-buffer.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/xboing/files/xboing-2.4-buffer.patch?rev=1.1&content-type=text/plain

Index: xboing-2.4-buffer.patch
===================================================================
diff -ruN xboing.orig/init.c xboing/init.c
--- xboing.orig/init.c	1996-11-22 02:28:46.000000000 +0100
+++ xboing/init.c	2013-02-02 19:57:55.000000000 +0100
@@ -266,7 +266,7 @@
 #endif
 {
 	/* Create all required font structures */
-	char str[80];
+	char str[200];
 
 	/* Font used for titles */
     if (!(titleFont = XLoadQueryFont(display, TITLE_FONT)))



1.1                  games-arcade/xboing/files/xboing-2.4-sleep.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/xboing/files/xboing-2.4-sleep.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/xboing/files/xboing-2.4-sleep.patch?rev=1.1&content-type=text/plain

Index: xboing-2.4-sleep.patch
===================================================================
diff -ru xboing.debian/misc.c xboing/misc.c
--- xboing.debian/misc.c	2013-02-02 20:07:07.000000000 +0100
+++ xboing/misc.c	2013-02-02 20:11:51.000000000 +0100
@@ -116,9 +116,7 @@
     long SyncTime;
     static unsigned long accu;
 
-#ifdef __alpha__
     ms *= 1000;	/* convert from milliseconds to microseconds for usleep */
-#endif
   
     gettimeofday(&st, NULL);
     XSync(display, False);





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-02 19:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-02 19:19 [gentoo-commits] gentoo-x86 commit in games-arcade/xboing/files: xboing-2.4-buffer.patch xboing-2.4-sleep.patch Andreas HAttel (dilfridge)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox