glibc changed "open" to a macro

This commit is contained in:
Charles Coldwell 2007-08-13 19:42:55 +00:00
parent 80ee808035
commit 5379a0d3b2
1 changed files with 11 additions and 0 deletions

11
glibc-open-macro.patch Normal file
View File

@ -0,0 +1,11 @@
--- emacs-22.1/src/sound.c~ 2007-03-06 07:14:14.000000000 -0500
+++ emacs-22.1/src/sound.c 2007-08-09 15:54:52.117018000 -0400
@@ -1469,7 +1469,7 @@ Internal use only, use `play-sound' inst
error ("No usable sound device driver found");
/* Open the device. */
- current_sound_device->open (current_sound_device);
+ (current_sound_device->open) (current_sound_device);
/* Play the sound. */
current_sound->play (current_sound, current_sound_device);