index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-06-02 13:54:43 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-06-02 13:54:43 +0200 |
commit | 74f6f70783d340d0a5b63089eea0055cb76e1329 (patch) | |
tree | 8a1110a1220fb97d354d40590b53d04b9c668083 | |
parent | f2fd21e31bc4cb4fe73fccb7784624181cf2125e (diff) |
-rw-r--r-- | core/libaio/PKGBUILD | 11 | ||||
-rw-r--r-- | core/libaio/libaio-0.3.113-off_t.patch | 21 |
diff --git a/core/libaio/PKGBUILD b/core/libaio/PKGBUILD new file mode 100644 index 00000000..0103f113 --- /dev/null +++ b/core/libaio/PKGBUILD @@ -0,0 +1,11 @@ +# patch for off_t -> off64_t (test 23) +source+=('libaio-0.3.113-off_t.patch') +sha512sums+=('4393b6f1322f9349f3dc00063867a8d80b97ec77978aad60a26424c6749e6800f77f7d854fcaa3d3517fbaba7f0441d694d0afeb43d7a6b5e10b709c65f9fa84') +b2sums+=('9776de4c42eafd6bcd1042d0a161ac16eb38b4377408d2ad18c4533e6a3d7638fb8cf5cdb9179fa3180a381dc984eefc032f5341d11ce381d7b2914a2dea67bb') + +eval "$( + declare -f prepare | \ + sed ' + $ i cd $pkgname-$pkgname-$pkgver && patch -Np1 -i "$srcdir/libaio-0.3.113-off_t.patch" \ + ' +)" diff --git a/core/libaio/libaio-0.3.113-off_t.patch b/core/libaio/libaio-0.3.113-off_t.patch new file mode 100644 index 00000000..15ae5215 --- /dev/null +++ b/core/libaio/libaio-0.3.113-off_t.patch @@ -0,0 +1,21 @@ +diff -rauN libaio-libaio-0.3.113/harness/cases/23.t libaio-libaio-0.3.113-off_t-patch/harness/cases/23.t +--- libaio-libaio-0.3.113/harness/cases/23.t 2022-04-12 22:49:33.000000000 +0200 ++++ libaio-libaio-0.3.113-off_t-patch/harness/cases/23.t 2022-06-02 13:25:40.945786571 +0200 +@@ -72,7 +72,7 @@ + static void *thrproc2(void *arg) + { + for (;;) { +- off_t offset = 0; ++ off64_t offset = 0; + + pthread_barrier_wait(&barrier); + if (exiting) +@@ -92,7 +92,7 @@ + { + for (;;) { + char c; +- off_t offset = 0; ++ off64_t offset = 0; + + pthread_barrier_wait(&barrier); + if (exiting) |