Группа :: Система/Серверы
Пакет: pdnsd
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: pdnsd-1.2.4-alt-no-old-glibc.patch
--- pdnsd-1.2.4/src/ipvers.h- 2005-09-27 15:09:03 +0000
+++ pdnsd-1.2.4/src/ipvers.h 2005-09-27 15:11:39 +0000
@@ -76,7 +76,7 @@ struct in_pktinfo
};
#endif
-#if (TARGET==TARGET_LINUX)
+#if 0 /* ALT: old glibc code commented out */
/* some older glibc versions seem to lack this. */
# ifndef IP_PKTINFO
# define IP_PKTINFO 8
@@ -131,7 +131,7 @@ __cmsg_nxthdr (struct msghdr *__mhdr, st
# define SIN_LEN
#endif
-#if defined(ENABLE_IPV6) && (TARGET==TARGET_LINUX)
+#if 0 /* ALT: old glibc code commented out */
/* Some glibc versions (I know of 2.1.2) get this wrong, so we define out own. To be exact, this is fixed
* glibc code. */