1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Start cleaning up some of the uselessly ambigious patches named

patch-xy, and giving them proper names.
This commit is contained in:
Adam Weinberger 2014-07-27 15:27:04 +00:00
parent aaa587cd12
commit e2aedd8abd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363075
52 changed files with 22 additions and 26 deletions

View File

@ -1,11 +0,0 @@
--- bstring.cpp 2000/11/30 14:50:57 1.1
+++ bstring.cpp 2000/11/30 14:57:48
@@ -150,7 +150,7 @@
if(strlen(str) < strlen(s)) // If more memory is needed
*this = s; // Use assign function
else // If stpcpy can be used
- stpcpy(str, s); // Copy s into str
+ strcpy(str, s); // Copy s into str
}
return *this; // Return a refrence to this object

View File

@ -1,5 +1,5 @@
--- bstring.cpp.orig 2014-02-21 15:40:03.760303112 -0500
+++ bstring.cpp 2014-02-21 15:41:19.474297650 -0500
--- bstring.cpp.orig 2014-07-27 11:17:34.000000000 -0400
+++ bstring.cpp 2014-07-27 11:17:37.000000000 -0400
@@ -15,7 +15,7 @@
#include "bstring.h"
@ -18,6 +18,15 @@
return temp += s;
}
@@ -150,7 +150,7 @@
if(strlen(str) < strlen(s)) // If more memory is needed
*this = s; // Use assign function
else // If stpcpy can be used
- stpcpy(str, s); // Copy s into str
+ strcpy(str, s); // Copy s into str
}
return *this; // Return a refrence to this object
@@ -217,4 +217,4 @@
//*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/

View File

@ -1,11 +0,0 @@
--- macunpack/lzh.c.orig Fri Apr 16 00:23:03 1999
+++ macunpack/lzh.c Fri Apr 16 00:23:13 1999
@@ -23,7 +23,7 @@
extern unsigned char (*lzah_getbyte)();
extern void de_lzh();
-typedef struct methodinfo {
+struct methodinfo {
char *name;
int number;
};

View File

@ -1,5 +1,14 @@
--- macunpack/lzh.c.orig Thu Sep 28 13:10:04 2006
+++ macunpack/lzh.c Thu Sep 28 13:11:27 2006
--- macunpack/lzh.c.orig 2014-07-27 11:11:36.000000000 -0400
+++ macunpack/lzh.c 2014-07-27 11:11:39.000000000 -0400
@@ -23,7 +23,7 @@
extern unsigned char (*lzah_getbyte)();
extern void de_lzh();
-typedef struct methodinfo {
+struct methodinfo {
char *name;
int number;
};
@@ -40,13 +40,13 @@
{"-lzs-", lzs}
};