aboutsummaryrefslogtreecommitdiffstats
path: root/www/lynx
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-05-13 01:55:43 +0800
committerache <ache@FreeBSD.org>1995-05-13 01:55:43 +0800
commit0e0296ac87b645ac6b73f20217543a7c62e8ccc5 (patch)
tree90eb452a264935fea6ef1ee4b1b81c63c03dc1a5 /www/lynx
parent363ebe6d1b054655ee1d51a96167024569e8137a (diff)
downloadfreebsd-ports-gnome-0e0296ac87b645ac6b73f20217543a7c62e8ccc5.tar.gz
freebsd-ports-gnome-0e0296ac87b645ac6b73f20217543a7c62e8ccc5.tar.zst
freebsd-ports-gnome-0e0296ac87b645ac6b73f20217543a7c62e8ccc5.zip
Fix printf/st_size and off_t problem
Diffstat (limited to 'www/lynx')
-rw-r--r--www/lynx/files/patch-aa33
1 files changed, 33 insertions, 0 deletions
diff --git a/www/lynx/files/patch-aa b/www/lynx/files/patch-aa
index 5ac00dc486ad..b8047ce4b128 100644
--- a/www/lynx/files/patch-aa
+++ b/www/lynx/files/patch-aa
@@ -605,3 +605,36 @@
#endif /*MAXINT*/
/* text strings for certain actions */
+*** src/LYJump.c.bak Sat Dec 17 00:59:44 1994
+--- src/LYJump.c Fri May 12 21:46:02 1995
+***************
+*** 7,12 ****
+--- 7,15 ----
+ #include "LYSignal.h"
+
+ #include "LYLeaks.h"
++ #ifdef HAVE_UNISTD_H
++ #include <unistd.h>
++ #endif
+
+ #ifdef VMS
+ #include <fab.h>
+*** src/LYShowInfo.c.bak Sat Dec 17 00:59:46 1994
+--- src/LYShowInfo.c Fri May 12 21:47:07 1995
+***************
+*** 133,139 ****
+ grp = getgrgid(dir_info.st_gid);
+ fprintf(fp0," Group name: %s\n",grp->gr_name);
+ if (((dir_info.st_mode) & S_IFMT) == S_IFREG) {
+! sprintf(temp," File size: %d (bytes)\n",dir_info.st_size);
+ fprintf(fp0,"%s",temp);
+ }
+ /*
+--- 133,139 ----
+ grp = getgrgid(dir_info.st_gid);
+ fprintf(fp0," Group name: %s\n",grp->gr_name);
+ if (((dir_info.st_mode) & S_IFMT) == S_IFREG) {
+! sprintf(temp," File size: %ld (bytes)\n",(long)dir_info.st_size);
+ fprintf(fp0,"%s",temp);
+ }
+ /*