mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- regression test on panther successfull
This commit is contained in:
parent
080e4485f3
commit
cbb3e83c08
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71432
5 changed files with 60 additions and 3 deletions
25
security/pgpin/files/patch-crypto.c
Normal file
25
security/pgpin/files/patch-crypto.c
Normal file
|
@ -0,0 +1,25 @@
|
|||
--- crypto.c.orig Tue Jan 20 09:54:51 1998
|
||||
+++ crypto.c Sun Dec 8 11:43:11 2002
|
||||
@@ -181,7 +181,7 @@
|
||||
if (timestamp != NULL) {
|
||||
/* first, fill array in external byte order: */
|
||||
put_word32(t, timestamp);
|
||||
- convert_byteorder(timestamp,4);
|
||||
+ convert_byteorder(timestamp,SIZEOF_TIMESTAMP);
|
||||
/* convert to internal byteorder */
|
||||
}
|
||||
|
||||
@@ -850,11 +850,11 @@
|
||||
LANG("\n\007Error: System clock/calendar is set wrong.\n"));
|
||||
return -1;
|
||||
}
|
||||
- convert_byteorder(timestamp,4); /* convert to external form */
|
||||
+ convert_byteorder(timestamp,SIZEOF_TIMESTAMP); /* convert to external form */
|
||||
|
||||
/* Finish off message digest calculation with this information */
|
||||
MD_addbuffer (MD, &class, 1, 0);
|
||||
- MD_addbuffer (MD, timestamp, 4, md5buf);
|
||||
+ MD_addbuffer (MD, timestamp, SIZEOF_TIMESTAMP, md5buf);
|
||||
/* We wrote the digest to a static variable because we want to keep it around
|
||||
for random number generation later. Also make a note of that fact. */
|
||||
already_have_md5 = 1;
|
10
security/pgpin/files/patch-global.h
Normal file
10
security/pgpin/files/patch-global.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- global.h.orig Mon Jan 12 00:13:04 1998
|
||||
+++ global.h Sun Dec 8 11:49:27 2002
|
||||
@@ -1,6 +1,6 @@
|
||||
/* Needed by RSAREF */
|
||||
|
||||
-#ifdef __alpha
|
||||
+#if defined(__alpha) || defined(__sparc64__)
|
||||
typedef unsigned UINT4;
|
||||
#else
|
||||
typedef unsigned long UINT4;
|
|
@ -1,5 +1,5 @@
|
|||
--- makefile.orig Fri Mar 23 02:44:58 2001
|
||||
+++ makefile Sun Dec 8 09:39:12 2002
|
||||
+++ makefile Sun Dec 8 11:18:52 2002
|
||||
@@ -79,7 +79,8 @@
|
||||
@echo "where <system> can be:"
|
||||
@echo " 386bsd, 3b1, 3b1_asm, aix370, aix386, amix-68k-gcc, apollo,"
|
||||
|
@ -29,7 +29,7 @@
|
|||
+freebsd-sparc64:
|
||||
+ $(MAKE) all LD="$(CC) -s" \
|
||||
+ CFLAGS="$(RSAINCDIR) $(OS_CFLAGS) -DPORTABLE -DUNIX -DIDEA32 \
|
||||
+ -DHIGHFIRST -DMAX_NAMELEN=255"
|
||||
+ -DHIGHFIRST -DMERRITT -DMAX_NAMELEN=255"
|
||||
|
||||
386bsd:
|
||||
$(MAKE) all CC=gcc LD=gcc OBJS_EXT="_80386.o _zmatch.o" \
|
||||
|
|
11
security/pgpin/files/patch-md5.h
Normal file
11
security/pgpin/files/patch-md5.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- md5.h.orig Mon Jan 12 00:13:05 1998
|
||||
+++ md5.h Sun Dec 8 11:50:50 2002
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef MD5_H
|
||||
#define MD5_H
|
||||
|
||||
-#ifdef __alpha
|
||||
+#if defined(__alpha) || defined(__sparc64__)
|
||||
typedef unsigned int uint32;
|
||||
#else
|
||||
typedef unsigned long uint32;
|
11
security/pgpin/files/patch-usuals.h
Normal file
11
security/pgpin/files/patch-usuals.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- usuals.h.orig Mon Jan 12 00:13:07 1998
|
||||
+++ usuals.h Sun Dec 8 11:34:50 2002
|
||||
@@ -8,7 +8,7 @@
|
||||
typedef byte *byteptr; /* pointer to byte */
|
||||
typedef char *string; /* pointer to ASCII character string */
|
||||
typedef unsigned short word16; /* values are 0-65535 */
|
||||
-#ifdef __alpha
|
||||
+#if defined(__alpha) || defined(__sparc64__)
|
||||
typedef unsigned int word32; /* values are 0-4294967295 */
|
||||
#else
|
||||
typedef unsigned long word32; /* values are 0-4294967295 */
|
Loading…
Add table
Reference in a new issue