summaryrefslogtreecommitdiffstats
path: root/package/lzma/lzma.100-futimesat.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-08-29 16:40:38 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-08-29 16:40:38 +0000
commitb1221b25d10fec735e652e0396efa01035cfdb62 (patch)
treef6fc71c3f7b417e9a2d86269a50cbb31fdd274f3 /package/lzma/lzma.100-futimesat.patch
parent43d38b341adce56e89ac0ebfe545481f767c3468 (diff)
downloadbuildroot-novena-b1221b25d10fec735e652e0396efa01035cfdb62.tar.gz
buildroot-novena-b1221b25d10fec735e652e0396efa01035cfdb62.zip
- add package lzma
Diffstat (limited to 'package/lzma/lzma.100-futimesat.patch')
-rw-r--r--package/lzma/lzma.100-futimesat.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/lzma/lzma.100-futimesat.patch b/package/lzma/lzma.100-futimesat.patch
new file mode 100644
index 000000000..06dc89f98
--- /dev/null
+++ b/package/lzma/lzma.100-futimesat.patch
@@ -0,0 +1,14 @@
+--- lzma-4.32.0beta3.orig/src/lzma/lzmp.cpp 2006-07-06 23:58:46.000000000 +0200
++++ lzma-4.32.0beta3/src/lzma/lzmp.cpp 2006-08-29 20:21:22.000000000 +0200
+@@ -47,7 +47,11 @@ typedef vector<string> stringVector;
+
+ // For Solaris
+ #ifndef HAVE_FUTIMES
++#ifdef HAVE_FUTIMESAT
+ #define futimes(fd, tv) futimesat(fd, NULL, tv)
++#else
++#define futimes(fd, tv) 0 /* utimes(fd, NULL, tv)*/
++#endif
+ #endif
+
+ #if defined(_WIN32) || defined(OS2) || defined(MSDOS)