summaryrefslogtreecommitdiff
path: root/debian/patches/external.patch
blob: cfdbda379d75aeb37ff54ececa4d0dd258e74478 (plain)
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
Include procfs, random, and DDE in the build

Index: hurd-debian/Makefile
===================================================================
--- hurd-debian.orig/Makefile	2010-09-27 19:42:53.000000000 +0000
+++ hurd-debian/Makefile	2010-09-27 19:45:57.000000000 +0000
@@ -31,7 +31,8 @@
 # Hurd libraries
 lib-subdirs = libshouldbeinlibc libihash libiohelp libports libthreads \
 	      libpager libfshelp libdiskfs libtrivfs libps \
-	      libnetfs libpipe libstore libhurdbugaddr libftpconn libcons
+	      libnetfs libpipe libstore libhurdbugaddr libftpconn libcons \
+	      libmachdev libbpf libddekit libhurd-slab eth-filter eth-multiplexer
 
 # Hurd programs
 prog-subdirs = auth proc exec init term \
@@ -40,7 +41,7 @@
 	       login daemons boot console \
 	       hostmux usermux ftpfs trans \
 	       console-client utils sutils \
-	       benchmarks fstests
+	       benchmarks fstests procfs random devnode
 
 ifeq ($(HAVE_SUN_RPC),yes)
 prog-subdirs += nfs nfsd
--- hurd-debian.orig/Makeconf
+++ hurd-debian/Makeconf
@@ -548,7 +548,7 @@ vpath %.defs $(top_srcdir)/hurd
 # These we want to find in the libc include directory...
 mach_defs_names = bootstrap exc mach mach4 \
 	mach_host mach_port mach_timer_reply memory_object \
-	memory_object_default notify
+	memory_object_default notify experimental
 device_defs_names = dev_forward device device_reply device_request

 mach_defs = $(addsuffix .defs,$(mach_defs_names))
diff --git a/configure.ac b/configure.ac
index 05b959b..68ec159 100644
--- a/configure.ac
+++ b/configure.ac
@@ -227,6 +227,12 @@ AC_SUBST(boot_store_types)dnl
 AC_MSG_CHECKING(boot store types)
 AC_MSG_RESULT($boot_store_types)
 
+AC_CHECK_LIB(pciaccess, pci_system_init, LIBPCIACCESS=-lpciaccess, LIBPCIACCESS=no)
+AC_SUBST(LIBPCIACCESS)
+if test "$LIBPCIACCESS" = "no"; then
+  AC_MSG_ERROR([libpciaccess must be install in order to use libddekit])
+fi
+
 # Check for ncursesw, which is needed for the console-curses client.
 hurd_LIB_NCURSESW