File: hurd-ftbfs-fix.patch

package info (click to toggle)
libpgm 5.3.128~dfsg-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, trixie
  • size: 3,932 kB
  • sloc: ansic: 64,654; cpp: 2,632; perl: 2,274; python: 247; sh: 149; makefile: 116; asm: 25
file content (15 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/openpgm/pgm/configure.ac
+++ b/openpgm/pgm/configure.ac
@@ -219,7 +219,11 @@ AC_MSG_CHECKING([for struct group_req.gr
 AC_COMPILE_IFELSE(
 	[AC_LANG_PROGRAM([[#include <netinet/in.h>]],
 		[[struct group_req gr;
-gr.gr_interface = 0;]])],
+gr.gr_interface = 0;
+#ifndef MCAST_JOIN_GROUP
+# error no mcast
+#endif
+]])],
 	[AC_MSG_RESULT([yes])
 		CFLAGS="$CFLAGS -DHAVE_STRUCT_GROUP_REQ"],
 	[AC_MSG_RESULT([no])])