Removed
Link Here
|
1 |
From 5eb482ca5657a91b7641b97ec503ade881889d49 Mon Sep 17 00:00:00 2001 |
2 |
From: Fabian Keil <fk@fabiankeil.de> |
3 |
Date: Sat, 11 Jan 2014 21:58:37 +0100 |
4 |
Subject: [PATCH] Use fmemopen reimplementation on FreeBSD systems that need it |
5 |
|
6 |
Apparently FreeBSD 8.4 does. |
7 |
--- |
8 |
src/include.am | 7 +++++++ |
9 |
1 file changed, 7 insertions(+) |
10 |
|
11 |
diff --git src/include.am src/include.am |
12 |
index 259d618..6f230d7 100644 |
13 |
--- src/include.am |
14 |
+++ src/include.am |
15 |
@@ -231,6 +231,13 @@ endif |
16 |
check_PROGRAMS+= src/proxy-bio_unittest |
17 |
noinst_PROGRAMS+= src/proxy-bio_unittest |
18 |
endif |
19 |
+# XXX This conditional should apply for any system where we're building |
20 |
+# conf_unittest, but I don't know how to tell that to automake. |
21 |
+if !HAVE_FMEMOPEN |
22 |
+if HAVE_FUNOPEN |
23 |
+src_conf_unittest_SOURCES+= src/common/fmemopen-funopen.c |
24 |
+endif |
25 |
+endif |
26 |
endif |
27 |
|
28 |
if TARGET_NETBSD |
29 |
-- |
30 |
1.8.5.2 |
31 |
|
32 |
From ebfa24395c046e3e732d5be4475f412165bef679 Mon Sep 17 00:00:00 2001 |
33 |
From: Fabian Keil <fk@fabiankeil.de> |
34 |
Date: Sun, 12 Jan 2014 21:02:37 +0100 |
35 |
Subject: [PATCH] Only compile event_unittest when targetting GNU/Linux |
36 |
|
37 |
It tests code that currently doesn't compile on FreeBSD and |
38 |
it looks like it won't compile on the other non-GNU/Linux |
39 |
targets either. |
40 |
--- |
41 |
src/include.am | 2 ++ |
42 |
1 file changed, 2 insertions(+) |
43 |
|
44 |
diff --git src/include.am src/include.am |
45 |
index 6f230d7..c164627 100644 |
46 |
--- src/include.am |
47 |
+++ src/include.am |
48 |
@@ -439,11 +439,13 @@ endif |
49 |
endif |
50 |
endif |
51 |
|
52 |
+if TARGET_LINUX |
53 |
src_event_unittest_SOURCES = src/event.c |
54 |
src_event_unittest_SOURCES+= src/event-unittest.c |
55 |
src_event_unittest_SOURCES+= src/routeup.c |
56 |
src_event_unittest_SOURCES+= src/util.c |
57 |
check_PROGRAMS+= src/event_unittest |
58 |
+endif |
59 |
|
60 |
if !TARGET_OSX |
61 |
check_PROGRAMS+= src/test/proxy-override src/test/return-argc \ |
62 |
-- |
63 |
1.8.5.2 |
64 |
|