pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44313: pam-tacplus compilation fix on DragonFlyBSD



>Number:         44313
>Category:       pkg
>Synopsis:       pam-tacplus compilation fix on DragonFlyBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 02 19:35:00 +0000 2011
>Originator:     Ilia
>Release:        DragonFly 2.9.1
>Organization:
>Environment:
DragonFly 2.9-DEVELOPMENT DragonFly v2.9.1.370.g78775c-DEVELOPMENT #0: Sun Jan 
2 12:34:32 2011     root@:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
pam-tacplus -- <sys/socket.h> header is not being defined.
>How-To-Repeat:

>Fix:
--- distinfob   2011-01-03 01:05:40 -0600
+++ distinfo    2011-01-03 01:06:02 -0600
@@ -3,3 +3,4 @@
 SHA1 (pam_tacplus-1.2.11.tar.gz) = 74b33dde8aa80b49cc59e587eb254fd66d3e104a
 RMD160 (pam_tacplus-1.2.11.tar.gz) = 841038262f0320a5b3a39e7337294e6807a29ada
 Size (pam_tacplus-1.2.11.tar.gz) = 30736 bytes
+SHA1 (patch-aa) = 9759caf91c1d1bdf596b39ee314cd261d4fa0b7e



$NetBSD$

--- connect.c.orig      2011-01-03 06:31:26 +0000
+++ connect.c
@@ -7,6 +7,7 @@
  * connect.c  Open connection to server.
  */
 
+#include <sys/socket.h>
 #include <netinet/in.h>
 #include <netdb.h>
 #include <syslog.h>
@@ -18,10 +19,6 @@
 #include <fcntl.h>
 #include <errno.h>
 
-#ifdef _AIX
-  #include <sys/socket.h>
-#endif
-
 #ifndef __linux__
   #include <strings.h>
 #endif




Home | Main Index | Thread Index | Old Index