Bug 55214 - Maintainer-update: samba-libsmbclient build fix for amd64
Summary: Maintainer-update: samba-libsmbclient build fix for amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-03 20:30 UTC by Koop Mast
Modified: 2003-08-03 21:00 UTC (History)
0 users

See Also:


Attachments
patch-configure (1.02 KB, text/plain)
2003-08-03 20:30 UTC, Koop Mast
no flags Details
Makefile.diff (264 bytes, patch)
2003-08-03 20:30 UTC, Koop Mast
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Koop Mast 2003-08-03 20:30:11 UTC
	2 patches to fix building on amd64.	

	Noticed by: bento & kris

Fix: --- include/includes.h.orig	Tue Jul  1 22:44:25 2003
+++ include/includes.h	Sun Aug  3 12:05:23 2003
@@ -1248,10 +1248,14 @@
 
 
 /* we need to use __va_copy() on some platforms */
-#ifdef HAVE_VA_COPY
+#ifdef HAVE__VA_COPY
 #define VA_COPY(dest, src) __va_copy(dest, src)
 #else
+#ifdef HAVE_VA_COPY
+#define VA_COPY(dest, src) va_copy(dest, src)
+#else
 #define VA_COPY(dest, src) (dest) = (src)
+#endif
 #endif
 
 #ifndef HAVE_TIMEGM
--- patch-include_includes.h ends here ---
Comment 1 Joe Marcus Clarke freebsd_committer freebsd_triage 2003-08-03 20:59:32 UTC
State Changed
From-To: open->closed

Committed, thanks!  You should consider making similar modifications to 
configure.in, then submit your patches to the Samba developers for  
integration into their tree.