0
0
Fork 0
haikuports/net-irc/bitchx/patches/bitchx-1.2.1.patchset

47 lines
1.2 KiB
Plaintext

From d64c55076c0ebca0ca2bf62d8d00a6ae7feda532 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Sat, 10 Nov 2018 12:46:03 +0100
Subject: Build fix for gcc2
diff --git a/source/status.c b/source/status.c
index 36bba31..20bccf7 100644
--- a/source/status.c
+++ b/source/status.c
@@ -996,8 +996,8 @@ static char *status_notify_windows(Window *window)
if (get_int_var(SHOW_STATUS_ALL_VAR) || window == window->screen->current_window)
{
- *notes = 0;
Window *notify_win = NULL;
+ *notes = 0;
while ((traverse_all_windows(&notify_win)))
{
if (notify_win->miscflags & WINDOW_NOTIFIED)
--
2.19.1
From 99df4a2c4fe1a9436bd940b7adcad6bd25b8ffc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Sat, 10 Nov 2018 12:51:33 +0100
Subject: bcopy fix from keaston
diff --git a/include/irc_std.h b/include/irc_std.h
index 29400c2..0ab5279 100644
--- a/include/irc_std.h
+++ b/include/irc_std.h
@@ -205,7 +205,7 @@ int killpg (int pgrp, int sig);
char * getpass (const char * prompt);
#endif
-#ifndef BCOPY_DECLARED
+#if !defined(BCOPY_DECLARED) && !defined(bcopy)
void bcopy (const void *src, void *dest, size_t n);
#endif
--
2.19.1