fix compile issues for gcc4, no need to bump
This commit is contained in:
parent
b34aac93f1
commit
c2e9c853b5
11
audio/teknap/patches/patch-include_napster_h
Normal file
11
audio/teknap/patches/patch-include_napster_h
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-include_napster_h,v 1.1 2010/05/09 23:08:00 espie Exp $
|
||||
--- include/napster.h.orig Mon May 10 01:03:25 2010
|
||||
+++ include/napster.h Mon May 10 01:03:40 2010
|
||||
@@ -362,7 +362,6 @@ int is_valid_dcc(char *);
|
||||
|
||||
extern unsigned long shared_count;
|
||||
#ifdef THREAD
|
||||
-extern pthread_mutex_t fserv_struct_mutex;
|
||||
extern pthread_mutex_t shared_count_mutex;
|
||||
extern pthread_mutex_t send_ncommand_mutex;
|
||||
void init_share_mutexes(void);
|
12
audio/teknap/patches/patch-include_struct_h
Normal file
12
audio/teknap/patches/patch-include_struct_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-include_struct_h,v 1.1 2010/05/09 23:08:00 espie Exp $
|
||||
--- include/struct.h.orig Mon May 10 01:06:13 2010
|
||||
+++ include/struct.h Mon May 10 01:06:21 2010
|
||||
@@ -582,8 +582,6 @@ struct timeval time;
|
||||
int delete;
|
||||
} TimerList;
|
||||
|
||||
-extern TimerList *PendingTimers;
|
||||
-
|
||||
/* IrcVariable: structure for each variable in the variable table */
|
||||
typedef struct
|
||||
{
|
11
audio/teknap/patches/patch-source_scott_c
Normal file
11
audio/teknap/patches/patch-source_scott_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-source_scott_c,v 1.1 2010/05/09 23:08:00 espie Exp $
|
||||
--- source/scott.c.orig Mon May 10 01:00:30 2010
|
||||
+++ source/scott.c Mon May 10 01:01:00 2010
|
||||
@@ -357,6 +357,7 @@ browser_main_loop(void)
|
||||
cleanup();
|
||||
return;
|
||||
default:
|
||||
+ break;
|
||||
#if 0
|
||||
{
|
||||
char buf[20];
|
21
audio/teknap/patches/patch-source_term_c
Normal file
21
audio/teknap/patches/patch-source_term_c
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-source_term_c,v 1.1 2010/05/09 23:08:00 espie Exp $
|
||||
--- source/term.c.orig Mon May 10 01:04:46 2010
|
||||
+++ source/term.c Mon May 10 01:05:32 2010
|
||||
@@ -39,6 +39,7 @@ DWORD gdwPlatform;
|
||||
#include "screen.h"
|
||||
#include "output.h"
|
||||
|
||||
+#include <stdlib.h>
|
||||
#if defined(_ALL_SOURCE) || defined(__EMX__)
|
||||
#include <termios.h>
|
||||
#else
|
||||
@@ -86,9 +87,6 @@ extern int tgetflag();
|
||||
#define Tgetnum(x) tgetnum(x.tname)
|
||||
#define Tgetflag(x) tgetflag(x.tname)
|
||||
#endif
|
||||
-
|
||||
-extern char *getenv();
|
||||
-extern char *tparm();
|
||||
|
||||
/*
|
||||
* The old code assumed termcap. termcap is almost always present, but on
|
Loading…
Reference in New Issue
Block a user