1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/games/xboing/files/patch-aa

79 lines
2.2 KiB
Plaintext
Raw Normal View History

1995-04-08 05:06:23 +00:00
diff -rc /usr/ports/games/xboing/xboing/include/misc.h ./include/misc.h
*** /usr/ports/games/xboing/xboing/include/misc.h Wed Jan 4 17:14:48 1995
--- ./include/misc.h Mon Apr 3 22:26:22 1995
***************
1995-04-08 05:06:23 +00:00
*** 87,93 ****
int ObtainWindowWidthHeight(Display *display, Window window,
int *width, int *height);
void sleepSync(Display *display, unsigned long ms);
! int usleep(unsigned long usec);
int ObtainMousePosition(Display *display, Window window, int *x, int *y);
int YesNoDialogue(Display *display, char *message);
Pixmap ScalePixmap(Display *display, Window window, Pixmap source,
--- 87,93 ----
int ObtainWindowWidthHeight(Display *display, Window window,
int *width, int *height);
void sleepSync(Display *display, unsigned long ms);
! int Usleep(unsigned long usec);
int ObtainMousePosition(Display *display, Window window, int *x, int *y);
int YesNoDialogue(Display *display, char *message);
Pixmap ScalePixmap(Display *display, Window window, Pixmap source,
***************
*** 100,106 ****
int YesNoDialogue();
int ObtainMousePosition();
void sleepSync();
! int usleep();
int ObtainWindowWidthHeight();
int ResizeMainWindow();
char *GetHomeDir();
--- 100,106 ----
int YesNoDialogue();
int ObtainMousePosition();
void sleepSync();
! int Usleep();
int ObtainWindowWidthHeight();
int ResizeMainWindow();
char *GetHomeDir();
diff -rc /usr/ports/games/xboing/xboing/misc.c ./misc.c
*** /usr/ports/games/xboing/xboing/misc.c Wed Jan 4 17:13:33 1995
--- ./misc.c Mon Apr 3 22:13:07 1995
***************
1995-04-08 05:06:23 +00:00
*** 79,87 ****
*/
#if NeedFunctionPrototypes
! int usleep(unsigned long usec)
#else
! int usleep(usec)
unsigned long usec;
#endif
{
1995-04-08 05:06:23 +00:00
--- 79,87 ----
*/
#if NeedFunctionPrototypes
! int Usleep(unsigned long usec)
#else
! int Usleep(usec)
unsigned long usec;
#endif
{
***************
1995-04-08 05:06:23 +00:00
*** 122,128 ****
((et.tv_usec - st.tv_usec) / 1000) );
if ((ms) > ((1000 / 60) + SyncTime))
! usleep(ms - SyncTime);
}
#if NeedFunctionPrototypes
1995-04-08 05:06:23 +00:00
--- 122,128 ----
((et.tv_usec - st.tv_usec) / 1000) );
if ((ms) > ((1000 / 60) + SyncTime))
! Usleep(ms - SyncTime);
}
#if NeedFunctionPrototypes