aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/libcabinet/files
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-27 23:27:04 +0800
committeradamw <adamw@FreeBSD.org>2014-07-27 23:27:04 +0800
commit4728fcce67db344f91a0b44890a64e36ad8935f0 (patch)
tree6f70fd9588858cfa314056ee54c090493d3fcc75 /archivers/libcabinet/files
parent6b2b035161741fcc144b9d5439a780d7d3858fee (diff)
downloadfreebsd-ports-gnome-4728fcce67db344f91a0b44890a64e36ad8935f0.tar.gz
freebsd-ports-gnome-4728fcce67db344f91a0b44890a64e36ad8935f0.tar.zst
freebsd-ports-gnome-4728fcce67db344f91a0b44890a64e36ad8935f0.zip
Start cleaning up some of the uselessly ambigious patches named
patch-xy, and giving them proper names.
Diffstat (limited to 'archivers/libcabinet/files')
-rw-r--r--archivers/libcabinet/files/patch-ab11
-rw-r--r--archivers/libcabinet/files/patch-bstring.cpp13
2 files changed, 11 insertions, 13 deletions
diff --git a/archivers/libcabinet/files/patch-ab b/archivers/libcabinet/files/patch-ab
deleted file mode 100644
index b36dca6cc36a..000000000000
--- a/archivers/libcabinet/files/patch-ab
+++ /dev/null
@@ -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
diff --git a/archivers/libcabinet/files/patch-bstring.cpp b/archivers/libcabinet/files/patch-bstring.cpp
index 3eabf052ae84..c4f88c8138f2 100644
--- a/archivers/libcabinet/files/patch-bstring.cpp
+++ b/archivers/libcabinet/files/patch-bstring.cpp
@@ -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 @@
//*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/