summaryrefslogtreecommitdiff
path: root/archivers/libcabinet/files
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-11-30 16:29:46 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-11-30 16:29:46 +0000
commit2fc7b0201595e25577dcbeb0597b19b36b06e593 (patch)
treef9af0240d7652c187a719d0984275626987494ae /archivers/libcabinet/files
parentTypo (diff)
Add libcabinet - a library and utility to use (create, modify etc.) Microsoft
cabinet (.cab) files.
Diffstat (limited to 'archivers/libcabinet/files')
-rw-r--r--archivers/libcabinet/files/patch-aa16
-rw-r--r--archivers/libcabinet/files/patch-ab11
2 files changed, 27 insertions, 0 deletions
diff --git a/archivers/libcabinet/files/patch-aa b/archivers/libcabinet/files/patch-aa
new file mode 100644
index 000000000000..f679e77eb7e1
--- /dev/null
+++ b/archivers/libcabinet/files/patch-aa
@@ -0,0 +1,16 @@
+--- Makefile.orig Thu Nov 30 17:28:23 2000
++++ Makefile Thu Nov 30 17:35:00 2000
+@@ -0,0 +1,13 @@
++LIB= cabinet
++LIBDIR= ${PREFIX}/lib
++INCDIR= ${PREFIX}/include/cabinet
++SHLIB_MAJOR= 1
++SHLIB_MINOR= 0
++SRCS= bstring.cpp cfcreate.cpp cfdblock.cpp cffdrmgr.cpp cffile.cpp \
++ cffolder.cpp cfheader.cpp cfreader.cpp cftypes.cpp object.cpp
++INCS= bstring.h cfcreate.h cfdblock.h cffdrmgr.h cffile.h cffolder.h \
++ cfheader.h cfreader.h cftypes.h darray.h dos_comp.h object.hpp \
++ queue.hpp
++LDADD= -lz
++
++.include <bsd.lib.mk>
diff --git a/archivers/libcabinet/files/patch-ab b/archivers/libcabinet/files/patch-ab
new file mode 100644
index 000000000000..b36dca6cc36a
--- /dev/null
+++ b/archivers/libcabinet/files/patch-ab
@@ -0,0 +1,11 @@
+--- 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