I don’t remember at all why I did this. I can’t remember if the minbif
port was broken or what my motivation was. I downloaded the last
version of minbif and started editing crap until it compiled on
FreeBSD 10.2. Which, with this patch, it does. In any case, it’s going
here for posterity, I guess.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
| diff -Naur minbif-1.0.5/src/im/account.cpp
minbif-1.0.5-new/src/im/account.cpp
--- minbif-1.0.5/src/im/account.cpp 2011-12-04 09:24:51.000000000
-0500
+++ minbif-1.0.5-new/src/im/account.cpp 2016-01-26 17:20:54.418450000
-0500
@@ -272,7 +272,7 @@
else
{
char** prpl_formats =
g_strsplit(prplinfo->icon_spec.format,",",0);
- ImlibLoadError err =
IMLIB_LOAD_ERROR_UNKNOWN;
+ Imlib_Load_Error err =
IMLIB_LOAD_ERROR_UNKNOWN;
close(temp_fd);
/* Try to encode in a
* supported format. */
diff -Naur minbif-1.0.5/src/im/auth_pam.h
minbif-1.0.5-new/src/im/auth_pam.h
--- minbif-1.0.5/src/im/auth_pam.h 2011-12-04 09:24:51.000000000
-0500
+++ minbif-1.0.5-new/src/im/auth_pam.h 2016-01-26 17:15:57.047434000
-0500
@@ -21,7 +21,7 @@
#include "auth.h"
#include <security/pam_appl.h>
-#include <security/pam_misc.h>
+#include <security/openpam.h>
struct _pam_conv_func_data {
bool update;
diff -Naur minbif-1.0.5/src/server_poll/daemon_fork.cpp
minbif-1.0.5-new/src/server_poll/daemon_fork.cpp
--- minbif-1.0.5/src/server_poll/daemon_fork.cpp 2011-12-04
09:24:51.000000000 -0500
+++ minbif-1.0.5-new/src/server_poll/daemon_fork.cpp 2016-01-26
12:14:09.049463000 -0500
@@ -20,7 +20,7 @@
#include <cassert>
#include <cstring>
#include <cerrno>
-#include <glib/gmain.h>
+#include <glib.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <arpa/inet.h>
diff -Naur minbif-1.0.5/src/server_poll/inetd.cpp
minbif-1.0.5-new/src/server_poll/inetd.cpp
--- minbif-1.0.5/src/server_poll/inetd.cpp 2011-12-04
09:24:51.000000000 -0500
+++ minbif-1.0.5-new/src/server_poll/inetd.cpp 2016-01-26
12:09:56.808247000 -0500
@@ -17,7 +17,7 @@
*/
#include <cassert>
-#include <glib/gmain.h>
+#include <glib.h>
#include "inetd.h"
#include "irc/irc.h"
|
Author
redlegion
LastMod
2016-02-28 03:50 PM
License
CC BY-NC-ND 4.0