diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-03-29 00:35:50 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-29 19:58:12 +0200 |
commit | 3cd8d7e968879c885794cd83e1cdce22fb55fd85 (patch) | |
tree | 0bbb63812b3ae93c35382c323dd491f850f3c638 /Ports | |
parent | 3c390d65e4fd634da0d3e13393ba5a335ea53cc4 (diff) | |
download | serenity-3cd8d7e968879c885794cd83e1cdce22fb55fd85.zip |
Ports/SQLite: Remove HAVE_UTIME compilation flag
Diffstat (limited to 'Ports')
-rwxr-xr-x | Ports/sqlite/package.sh | 1 | ||||
-rw-r--r-- | Ports/sqlite/patches/shell.c.patch | 13 |
2 files changed, 0 insertions, 14 deletions
diff --git a/Ports/sqlite/package.sh b/Ports/sqlite/package.sh index ee58c75633..9c4b7fbc65 100755 --- a/Ports/sqlite/package.sh +++ b/Ports/sqlite/package.sh @@ -4,4 +4,3 @@ useconfigure="true" version="3350300" files="https://www.sqlite.org/2021/sqlite-autoconf-${version}.tar.gz sqlite-autoconf-${version}.tar.gz" workdir="sqlite-autoconf-${version}" -configopts="CFLAGS=-DHAVE_UTIME" diff --git a/Ports/sqlite/patches/shell.c.patch b/Ports/sqlite/patches/shell.c.patch deleted file mode 100644 index 776f182abe..0000000000 --- a/Ports/sqlite/patches/shell.c.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- sqlite-autoconf-3350300/shell.c 2021-03-26 15:24:58.000000000 +0100 -+++ sqlite-autoconf-port/shell.c 2021-03-27 12:05:40.289547647 +0100 -@@ -2554,6 +2554,10 @@ - if( utimensat(AT_FDCWD, zFile, times, AT_SYMLINK_NOFOLLOW) ){ - return 1; - } -+#elif defined(HAVE_UTIME) -+ int rc = utime(zFile, NULL); -+ if (rc < 0) -+ return 1; - #else - /* Legacy unix */ - struct timeval times[2]; |