forked from pool/cmake
Dirk Mueller
650f23f551
* many bugfixes - CTest: Setup command-line dashboard support with Git - CPack: Improve RPM spec files - CTest: Improve host system introspection - FindCUDA: Respect CUDA version differences - FindCURL: Find import libraries on Windows - FindGTK2: Look in fink locations on Mac OS X - FindJNI: Honor find_package() REQUIRED and QUIET options - FindOpenSSL: Fix MinGW support - FindPythonLibs: Look in config for static library - FindQt4: Misc enhancements, sync with KDE vesion - FindX11: Improve documentation - link_directories(): Treat relative paths consistently (CMP0015) - Modernize FindLibXslt and FindLibXml.cmake - UseQt4: Provide dependencies only for static Qt (#10021) OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=54
26 lines
657 B
Diff
26 lines
657 B
Diff
--- Source/kwsys/SystemInformation.cxx
|
|
+++ Source/kwsys/SystemInformation.cxx
|
|
@@ -152,7 +152,7 @@
|
|
|
|
public:
|
|
#define VENDOR_STRING_LENGTH (12 + 1)
|
|
-#define CHIPNAME_STRING_LENGTH (48 + 1)
|
|
+#define CHIPNAME_STRING_LENGTH (70 + 1)
|
|
#define SERIALNUMBER_STRING_LENGTH (29 + 1)
|
|
|
|
typedef struct tagID
|
|
--- Utilities/cmtar/encode.c
|
|
+++ Utilities/cmtar/encode.c
|
|
@@ -32,7 +32,10 @@
|
|
int i, sum = 0;
|
|
|
|
if (t->options & TAR_GNU)
|
|
- strncpy(t->th_buf.magic, "ustar ", 8);
|
|
+ {
|
|
+ strncpy(t->th_buf.version, " ", TVERSLEN);
|
|
+ strncpy(t->th_buf.magic, "ustar", TMAGLEN);
|
|
+ }
|
|
else
|
|
{
|
|
strncpy(t->th_buf.version, TVERSION, TVERSLEN);
|