Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 17 years ago
parent
commit
c6ce290f10
2 changed files with 9 additions and 43 deletions
  1. +0
    -36
      package/base/tar/futimens.patch
  2. +9
    -7
      package/base/tar/tar.conf

+ 0
- 36
package/base/tar/futimens.patch

@ -1,36 +0,0 @@
--- ./lib/utimens.c.orig 2007-05-31 08:37:07.000000000 +0200
+++ ./lib/utimens.c 2007-05-31 08:37:17.000000000 +0200
@@ -73,7 +73,7 @@
Return 0 on success, -1 (setting errno) on failure. */
int
-futimens (int fd ATTRIBUTE_UNUSED,
+futimens_local (int fd ATTRIBUTE_UNUSED,
char const *file, struct timespec const timespec[2])
{
/* There's currently no interface to set file timestamps with
@@ -166,5 +166,5 @@
int
utimens (char const *file, struct timespec const timespec[2])
{
- return futimens (-1, file, timespec);
+ return futimens_local (-1, file, timespec);
}
--- ./lib/utimens.h.orig 2007-05-31 08:37:07.000000000 +0200
+++ ./lib/utimens.h 2007-05-31 08:37:20.000000000 +0200
@@ -1,3 +1,3 @@
#include "timespec.h"
-int futimens (int, char const *, struct timespec const [2]);
+int futimens_local (int, char const *, struct timespec const [2]);
int utimens (char const *, struct timespec const [2]);
--- ./src/misc.c.orig 2007-05-31 08:37:07.000000000 +0200
+++ ./src/misc.c 2007-05-31 08:37:26.000000000 +0200
@@ -518,7 +518,7 @@
}
#endif
- return futimens (fd, file, timespec);
+ return futimens_local (fd, file, timespec);
}
/* A description of a working directory. */

+ 9
- 7
package/base/tar/tar.conf

@ -1,3 +1,4 @@
#!/bin/bash
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
@ -19,11 +20,12 @@
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
#
postmake="mv -v $root/usr/bin/tar $root/bin/tar ; \
install -m 0644 -o root -g root ${builddir}/$pkg-$ver/tar.1 $root/usr/man/man1/"
var_append confopt ' ' '-C'
if [ $stagelevel -gt 0 ]; then
postmake="mv -v $root/usr/bin/tar $root/bin/tar ; \
install -m 0644 -o root -g root ${builddir}/$pkg-$ver/tar.1 $root/usr/man/man1/"
fi
# Makes the C99 "restrict" keyword work.
var_append GCC_WRAPPER_INSERT " " "-std=gnu99"
# Alternatively, use __restrict instead:
# hook_add preconf 5 "echo ac_cv_c_restrict=__restrict > config.cache"
# var_append extraconfopt " " "--cache-file=config.cache"

Loading…
Cancel
Save