diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2022-05-24 10:27:52 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2022-05-24 10:27:52 +0900 |
commit | 4f58485a00ee254b99d246898740ce8143336c9a (patch) | |
tree | 27b99982607e1fcdf1df50dd504821077dfb9307 | |
parent | 5ed85cba06422b26aeb0073b8698f1092c0d7397 (diff) | |
download | rsync-accepted/tizen_7.0_unified_hotfix.tar.gz rsync-accepted/tizen_7.0_unified_hotfix.tar.bz2 rsync-accepted/tizen_7.0_unified_hotfix.zip |
fix: Change nonosleep to gettimeofdaytizen_7.0_m2_releasesubmit/tizen/20220524.054953submit/tizen/20220524.013809accepted/tizen/unified/20220525.134609accepted/tizen/7.0/unified/hotfix/20221116.111412accepted/tizen/7.0/unified/20221110.060041tizen_7.0_hotfixtizen_7.0accepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unified
sometimes nanosleep occures hang
Change-Id: Ib23c370795b3afdf91c02e1d70af4691bdf8c2b4
-rw-r--r-- | packaging/Chnage_nanosleep_to_gettimeofday.patch | 13 | ||||
-rw-r--r-- | packaging/rsync.spec | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/packaging/Chnage_nanosleep_to_gettimeofday.patch b/packaging/Chnage_nanosleep_to_gettimeofday.patch new file mode 100644 index 00000000..bbad796f --- /dev/null +++ b/packaging/Chnage_nanosleep_to_gettimeofday.patch @@ -0,0 +1,13 @@ +diff --git a/configure.ac b/configure.ac +index 64d2e6d6..017fd953 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -852,7 +852,7 @@ AC_CHECK_FUNCS(waitpid wait4 getcwd chown chmod lchmod mknod mkfifo \ + setlocale setmode open64 lseek64 mkstemp64 mtrace va_copy __va_copy \ + seteuid strerror putenv iconv_open locale_charset nl_langinfo getxattr \ + extattr_get_link sigaction sigprocmask setattrlist getgrouplist \ +- initgroups utimensat posix_fallocate attropen setvbuf nanosleep usleep) ++ initgroups utimensat posix_fallocate attropen setvbuf ) + + dnl cygwin iconv.h defines iconv_open as libiconv_open + if test x"$ac_cv_func_iconv_open" != x"yes"; then diff --git a/packaging/rsync.spec b/packaging/rsync.spec index f6ff87d3..06611846 100644 --- a/packaging/rsync.spec +++ b/packaging/rsync.spec @@ -7,6 +7,7 @@ Url: http://rsync.samba.org/ #X-Vcs-Url: git://git.samba.org/rsync Group: Base/Utilities Source0: http://rsync.samba.org/ftp/rsync/src/rsync-%{version}.tar.gz +Source10: Chnage_nanosleep_to_gettimeofday.patch Source1001: rsync.manifest BuildRequires: libacl-devel BuildRequires: libattr-devel @@ -34,6 +35,7 @@ Support filrs for rsync %prep %setup -q cp %{SOURCE1001} . +%{__patch} -p1 < %{SOURCE10} %build export CFLAGS+=" -fPIC" |