* [gentoo-commits] gentoo-x86 commit in dev-lang/squeak/files: squeak-dprintf.patch squeak-inisqueak.patch squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch
@ 2009-09-01 10:14 Patrick Lauer (patrick)
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Lauer (patrick) @ 2009-09-01 10:14 UTC (permalink / raw
To: gentoo-commits
patrick 09/09/01 10:14:04
Added: squeak-dprintf.patch squeak-inisqueak.patch
squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch
Log:
Bump to 3.10.5. Patches by manny15. Closes #275748 and adds ~amd64 keyword.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-lang/squeak/files/squeak-dprintf.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/squeak/files/squeak-dprintf.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/squeak/files/squeak-dprintf.patch?rev=1.1&content-type=text/plain
Index: squeak-dprintf.patch
===================================================================
--- ./platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc.orig Wed Jun 24 17:39:12 2009 -0400
+++ ./platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc Wed Jun 24 18:01:19 2009 -0400
@@ -116,6 +116,12 @@
#include <als./asoundlib.h>
+#if (DEBUG)
+# define dprintf(...) printf(__VA_ARGS__)
+#else
+# define dprintf(...)
+#endif
+
static snd_seq_t *seq = 0;
static int queue = 0;
static int in_port = -1;
--- ./platforms/unix/vm-display-fbdev/sqUnixFBDev.c.orig Wed Jun 24 17:39:12 2009 -0400
+++ ./platforms/unix/vm-display-fbdev/sqUnixFBDev.c Wed Jun 24 18:01:19 2009 -0400
@@ -49,7 +49,13 @@
# undef ioMSecs
#endif
-#include <stdio.h>
+// we need stdio.h to override glibc's dprintf function
+// since new glibc has this function with different interface
+#include <features.h>
+#ifdef __USE_XOPEN2K8
+# include <stdio.h>
+#endif
+
#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
@@ -68,15 +74,11 @@
#endif
-static void dprintf(const char *fmt, ...)
-{
#if (DEBUG)
- va_list ap;
- va_start(ap, fmt);
- vprintf(fmt, ap);
- va_end(ap);
+# define dprintf(...) printf(__VA_ARGS__)
+#else
+# define dprintf(...)
#endif
-}
static void fatalError(const char *who)
{
--- ./platforms/unix/vm-sound-NAS/sqUnixSoundNAS.c.orig Wed Jun 24 17:39:12 2009 -0400
+++ ./platforms/unix/vm-sound-NAS/sqUnixSoundNAS.c Wed Jun 24 18:01:19 2009 -0400
@@ -33,13 +33,12 @@
#include <audio/audiolib.h>
#include <assert.h>
-#ifdef DEBUG
-# define dprintf printf
+#if (DEBUG)
+# define dprintf(...) printf(__VA_ARGS__)
#else
- static void dprintf(char *fmt, ...) {}
+# define dprintf(...)
#endif
-
#ifdef WORDS_BIGENDIAN
# define AU_FORMAT AuFormatLinearSigned16MSB
#else
1.1 dev-lang/squeak/files/squeak-inisqueak.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/squeak/files/squeak-inisqueak.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/squeak/files/squeak-inisqueak.patch?rev=1.1&content-type=text/plain
Index: squeak-inisqueak.patch
===================================================================
--- Squeak-3.10-5/platforms/unix/config/inisqueak.in 2006-10-18 13:14:20.000000000 -0400
+++ Squeak-3.10-5-new/platforms/unix/config/inisqueak.in 2009-07-03 22:09:34.000000000 -0400
@@ -30,7 +30,7 @@
#
# Last edited: 2006-10-18 10:14:20 by piumarta on emilia.local
-MAJOR=@SQ_MAJOR@
+MAJOR=@SQ_MAJOR@9
VERSION=@SQ_VERSION@
prefix=@prefix@
1.1 dev-lang/squeak/files/squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/squeak/files/squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/squeak/files/squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch?rev=1.1&content-type=text/plain
Index: squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch
===================================================================
--- ./platforms/unix/vm/debug.h.orig 2003-08-07 07:39:34.000000000 +0000
+++ ./platforms/unix/vm/debug.h 2009-05-09 21:38:27.000000000 +0000
@@ -7,6 +7,13 @@
#endif
+// we need stdio.h to override glibc's dprintf function
+// since new glibc has this function with different interface
+#include <features.h>
+#ifdef __USE_XOPEN2K8
+# include <stdio.h>
+#endif
+
#if (DEBUG)
/* the thing to use here is a variadic macro, but Apple's gcc barfs on
** them when running in precomp mode. did they _really_ have to break
--- olpc/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc.orig 2007-03-11 23:56:36.000000000 +0000
+++ olpc/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc 2009-05-09 22:07:29.000000000 +0000
@@ -116,6 +116,12 @@
#include <alsa/asoundlib.h>
+#if (DEBUG)
+# define dprintf(...) printf(__VA_ARGS__)
+#else
+# define dprintf(...)
+#endif
+
static snd_seq_t *seq = 0;
static int queue = 0;
static int in_port = -1;
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-lang/squeak/files: squeak-dprintf.patch squeak-inisqueak.patch squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch
@ 2010-04-06 17:36 Samuli Suominen (ssuominen)
0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2010-04-06 17:36 UTC (permalink / raw
To: gentoo-commits
ssuominen 10/04/06 17:36:22
Removed: squeak-dprintf.patch squeak-inisqueak.patch
squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch
Log:
Remove vulnerable squeak
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-06 17:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-06 17:36 [gentoo-commits] gentoo-x86 commit in dev-lang/squeak/files: squeak-dprintf.patch squeak-inisqueak.patch squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch Samuli Suominen (ssuominen)
-- strict thread matches above, loose matches on Subject: below --
2009-09-01 10:14 Patrick Lauer (patrick)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox