ports/86638: maintainer-update: security/tthsum - fix build on amd64

Emanuel Haupt ehaupt at critical.ch
Tue Sep 27 15:30:22 UTC 2005


>Number:         86638
>Category:       ports
>Synopsis:       maintainer-update: security/tthsum - fix build on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 27 15:30:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 5.4-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD beaver.critical.ch 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Wed Jul 27 20:19:15 CEST 2005 root at beaver.critical.ch:/usr/obj/usr/src/RELENG_5_4/src/sys/BEAVER i386


	
>Description:
The following patch fixex the build on amd64.

Pointed out by:		pointyhat (krismail)

>How-To-Repeat:
	
>Fix:

	



--- tthsum.patch begins here ---
Index: files/patch-base32.c
===================================================================
RCS file: files/patch-base32.c
diff -N files/patch-base32.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-base32.c	27 Sep 2005 15:26:32 -0000
@@ -0,0 +1,20 @@
+--- base32.c.orig	Tue Sep 27 17:13:03 2005
++++ base32.c	Tue Sep 27 17:13:37 2005
+@@ -22,7 +22,7 @@
+ #include "endian.h"
+ #include "texts.h"
+ #ifdef BIG_ENDIAN
+-#	include <malloc.h>
++#	include <stdlib.h>
+ #	include <string.h>
+ #endif /* BIG_ENDIAN */
+ #include <assert.h>
+@@ -143,7 +143,7 @@
+ 
+ #ifdef TEST_BASE32_C
+ 
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+ #include <stdlib.h>
--- tthsum.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list