Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for SLE-Module-Server-Applications:ppc64le
DISCONTINUED:openSUSE:11.2:Update
xgalaga
xgalaga-2.0.34.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xgalaga-2.0.34.patch of Package xgalaga
--- images.c +++ images.c 2001/05/22 09:26:34 @@ -3,6 +3,7 @@ #include <config.h> #include <stdlib.h> +#include <string.h> #include "Wlib.h" #include "images.h" #include "struct.h" --- libsprite/data.c +++ libsprite/data.c 2001/05/22 09:24:59 @@ -79,7 +79,10 @@ W_Color W_White = WHITE, W_Black = BLACK, W_Red = RED, W_Green = GREEN; W_Color W_Yellow = YELLOW, W_Cyan = CYAN, W_Grey = LIGHT_GREY, W_DarkGrey = DARK_GREY; int W_Textwidth, W_Textheight, W_BigTextwidth, W_BigTextheight; -char *strdup(); + +#ifndef strdup + char *strdup(); +#endif int W_in_message = 0; /* jfy -- for Jerry's warp message hack */ --- main.c +++ main.c 2001/05/22 09:24:59 @@ -7,6 +7,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #ifdef HAVE_SYS_TIME_H #include <sys/time.h> #endif @@ -96,13 +97,10 @@ p - pauses\n\ q - end this game\n\ b - Toggle buffering (flicker vs. speed.)\n\ -o - Toggle OR mode. Don't use this, it sucks.\n", VERSION, +o - Toggle OR mode. Don't use this, it sucks.\n", VERSION); #ifdef SOUND - " -nosound Turn sound OFF\n" -#else - "" + printf(" -nosound Turn sound OFF\n"); #endif - ); } /*------------------stars-----------------*/ @@ -1103,7 +1101,7 @@ init_score(); init_prizes(); #ifdef SOUND - init_sound(); + if( playSounds ) init_sound(); #endif init_aliens(level); --- score.c +++ score.c 2001/05/22 09:26:47 @@ -4,6 +4,7 @@ #include <config.h> #include <stdio.h> +#include <string.h> #include "Wlib.h" #include "images.h" #include "data.h" --- title.c +++ title.c 2001/05/22 09:26:24 @@ -4,6 +4,7 @@ #include <config.h> #include <stdio.h> +#include <string.h> #include "Wlib.h" #include "defs.h" #include "images.h" --- xgal.sndsrv.linux.c +++ xgal.sndsrv.linux.c 2001/05/22 09:24:59 @@ -90,7 +90,7 @@ int dsp, frag, value; int mixer; - dsp = open(dspdev, O_RDWR); + dsp = open(dspdev, O_WRONLY); if (dsp < 0) { fprintf (stderr, "xgal.sndsrv: Couldn't open DSP %s\n",dspdev);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor