index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-06-19 16:12:01 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-06-19 16:12:01 +0200 |
commit | af7196a3e01837a5be810e74c313a8a692f91331 (patch) | |
tree | 93fd9289b7178b6b838c5e8c52b6144544f6522b /core | |
parent | f404358ae34162db1bdc4d61aff45d673523d2ea (diff) |
-rw-r--r-- | core/nfs-utils/PKGBUILD | 34 | ||||
-rw-r--r-- | core/nfs-utils/nfs-utils-2.3.4-nfsdcld-sqlite-PRIx.patch | 101 | ||||
-rw-r--r-- | core/nfs-utils/nfs-utils-2.3.4-rpcgen-missing-prototype.patch | 12 | ||||
-rw-r--r-- | core/nfs-utils/nfs-utils-2.3.4-testing-statdb_dump-linking.patch | 13 |
diff --git a/core/nfs-utils/PKGBUILD b/core/nfs-utils/PKGBUILD deleted file mode 100644 index ebc92540..00000000 --- a/core/nfs-utils/PKGBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# sprintf format patches: https://marc.info/?l=linux-nfs&m=155854918115682&w=2 -source+=(nfs-utils-2.3.4-nfsdcld-sqlite-PRIx.patch) -sha256sums+=('0238536da610dbde313d9f2d367c6f2b19039f0bae36175af5c46c4a7d2f36bf') -eval "$( - declare -f prepare | \ - sed ' - /.*autoreconf.*/i patch -p1 < ../nfs-utils-2.3.4-nfsdcld-sqlite-PRIx.patch - ' -)" - -# linking errors for statdb_dump test program -source+=(nfs-utils-2.3.4-testing-statdb_dump-linking.patch) -sha256sums+=('e92a5a3e537a356c45c071a346ba47f8f15f76a221804b3e82eca13e330238be') -eval "$( - declare -f prepare | \ - sed ' - /.*autoreconf.*/i patch -p1 < ../nfs-utils-2.3.4-testing-statdb_dump-linking.patch - ' -)" - -# -Werror==missing-prototypes aborts 'make check' because 'nlm_sm_prog_3' and -# 'nlm_sm_prog_4' get no prototypes in 'nlm_sm_inter.h' when generated with 'rpcgen' -# (could be a bug in 'rpcsvc-proto') -source+=(nfs-utils-2.3.4-rpcgen-missing-prototype.patch) -sha256sums+=('dc950cd90fe8bb623b376af12f6181804f165f26714cb547d459f790d9c248bb') -eval "$( - declare -f prepare | \ - sed ' - /.*autoreconf.*/i patch -p1 < ../nfs-utils-2.3.4-rpcgen-missing-prototype.patch - ' -)" - -# Why is the toplevel one missing? PKGBUILD (nfs-utils) E: Missing description in PKGBUILD -pkgdesc="Support programs for Network File Systems" diff --git a/core/nfs-utils/nfs-utils-2.3.4-nfsdcld-sqlite-PRIx.patch b/core/nfs-utils/nfs-utils-2.3.4-nfsdcld-sqlite-PRIx.patch deleted file mode 100644 index 692376b1..00000000 --- a/core/nfs-utils/nfs-utils-2.3.4-nfsdcld-sqlite-PRIx.patch +++ /dev/null @@ -1,101 +0,0 @@ -diff -rauN nfs-utils-2.3.4/utils/nfsdcld/sqlite.c nfs-utils-2.3.4-nfsdcld-sqlite-PRIx-patch/utils/nfsdcld/sqlite.c ---- nfs-utils-2.3.4/utils/nfsdcld/sqlite.c 2019-05-10 21:09:49.000000000 +0200 -+++ nfs-utils-2.3.4-nfsdcld-sqlite-PRIx-patch/utils/nfsdcld/sqlite.c 2019-05-23 11:35:41.306666615 +0200 -@@ -52,6 +52,7 @@ - #include <string.h> - #include <sys/stat.h> - #include <sys/types.h> -+#include <inttypes.h> - #include <fcntl.h> - #include <unistd.h> - #include <stdlib.h> -@@ -535,7 +536,7 @@ - xlog(L_ERROR, "Unable to begin transaction: %s", err); - goto rollback; - } -- ret = snprintf(buf, sizeof(buf), "DELETE FROM \"rec-%016lx\";", -+ ret = snprintf(buf, sizeof(buf), "DELETE FROM \"rec-%016" PRIx64 "\";", - current_epoch); - if (ret < 0) { - xlog(L_ERROR, "sprintf failed!"); -@@ -550,7 +551,7 @@ - xlog(L_ERROR, "Unable to clear records from current epoch: %s", err); - goto rollback; - } -- ret = snprintf(buf, sizeof(buf), "INSERT INTO \"rec-%016lx\" " -+ ret = snprintf(buf, sizeof(buf), "INSERT INTO \"rec-%016" PRIx64 "\" " - "SELECT id FROM attached.clients;", - current_epoch); - if (ret < 0) { -@@ -703,7 +704,7 @@ - int ret; - sqlite3_stmt *stmt = NULL; - -- ret = snprintf(buf, sizeof(buf), "INSERT OR REPLACE INTO \"rec-%016lx\" " -+ ret = snprintf(buf, sizeof(buf), "INSERT OR REPLACE INTO \"rec-%016" PRIx64 "\" " - "VALUES (?);", current_epoch); - if (ret < 0) { - xlog(L_ERROR, "sprintf failed!"); -@@ -748,7 +749,7 @@ - int ret; - sqlite3_stmt *stmt = NULL; - -- ret = snprintf(buf, sizeof(buf), "DELETE FROM \"rec-%016lx\" " -+ ret = snprintf(buf, sizeof(buf), "DELETE FROM \"rec-%016" PRIx64 "\" " - "WHERE id==?;", current_epoch); - if (ret < 0) { - xlog(L_ERROR, "sprintf failed!"); -@@ -798,7 +799,7 @@ - int ret; - sqlite3_stmt *stmt = NULL; - -- ret = snprintf(buf, sizeof(buf), "SELECT count(*) FROM \"rec-%016lx\" " -+ ret = snprintf(buf, sizeof(buf), "SELECT count(*) FROM \"rec-%016" PRIx64 "\" " - "WHERE id==?;", recovery_epoch); - if (ret < 0) { - xlog(L_ERROR, "sprintf failed!"); -@@ -873,7 +874,7 @@ - tcur++; - - ret = snprintf(buf, sizeof(buf), "UPDATE grace " -- "SET current = %ld, recovery = %ld;", -+ "SET current = %" PRId64 ", recovery = %" PRId64 ";", - (int64_t)tcur, (int64_t)trec); - if (ret < 0) { - xlog(L_ERROR, "sprintf failed!"); -@@ -891,7 +892,7 @@ - goto rollback; - } - -- ret = snprintf(buf, sizeof(buf), "CREATE TABLE \"rec-%016lx\" " -+ ret = snprintf(buf, sizeof(buf), "CREATE TABLE \"rec-%016" PRIx64 "\" " - "(id BLOB PRIMARY KEY);", - tcur); - if (ret < 0) { -@@ -915,7 +916,7 @@ - * values in the grace table, just clear out the records for - * the current reboot epoch. - */ -- ret = snprintf(buf, sizeof(buf), "DELETE FROM \"rec-%016lx\";", -+ ret = snprintf(buf, sizeof(buf), "DELETE FROM \"rec-%016" PRIx64 "\";", - tcur); - if (ret < 0) { - xlog(L_ERROR, "sprintf failed!"); -@@ -976,7 +977,7 @@ - goto rollback; - } - -- ret = snprintf(buf, sizeof(buf), "DROP TABLE \"rec-%016lx\";", -+ ret = snprintf(buf, sizeof(buf), "DROP TABLE \"rec-%016" PRIx64 "\";", - recovery_epoch); - if (ret < 0) { - xlog(L_ERROR, "sprintf failed!"); -@@ -1027,7 +1028,7 @@ - return -EINVAL; - } - -- ret = snprintf(buf, sizeof(buf), "SELECT * FROM \"rec-%016lx\";", -+ ret = snprintf(buf, sizeof(buf), "SELECT * FROM \"rec-%016" PRIx64 "\";", - recovery_epoch); - if (ret < 0) { - xlog(L_ERROR, "sprintf failed!"); diff --git a/core/nfs-utils/nfs-utils-2.3.4-rpcgen-missing-prototype.patch b/core/nfs-utils/nfs-utils-2.3.4-rpcgen-missing-prototype.patch deleted file mode 100644 index bbc610c7..00000000 --- a/core/nfs-utils/nfs-utils-2.3.4-rpcgen-missing-prototype.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -rauN nfs-utils-2.3.4/configure.ac nfs-utils-2.3.4-rpcgen-missing-prototype-patch/configure.ac ---- nfs-utils-2.3.4/configure.ac 2019-05-10 21:09:49.000000000 +0200 -+++ nfs-utils-2.3.4-rpcgen-missing-prototype-patch/configure.ac 2019-05-23 12:02:26.639999948 +0200 -@@ -578,7 +578,7 @@ - -Wall \ - -Wextra \ - $rpcgen_cflags \ -- -Werror=missing-prototypes \ -+ -Wmissing-prototypes \ - -Werror=missing-declarations \ - -Werror=format=2 \ - -Werror=undef \ diff --git a/core/nfs-utils/nfs-utils-2.3.4-testing-statdb_dump-linking.patch b/core/nfs-utils/nfs-utils-2.3.4-testing-statdb_dump-linking.patch deleted file mode 100644 index e541ac78..00000000 --- a/core/nfs-utils/nfs-utils-2.3.4-testing-statdb_dump-linking.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -rauN nfs-utils-2.3.4/tests/Makefile.am nfs-utils-2.3.4-testing-statdb_dump-linking-patch/tests/Makefile.am ---- nfs-utils-2.3.4/tests/Makefile.am 2019-05-10 21:09:49.000000000 +0200 -+++ nfs-utils-2.3.4-testing-statdb_dump-linking-patch/tests/Makefile.am 2019-05-23 11:58:40.659999955 +0200 -@@ -4,7 +4,8 @@ - statdb_dump_SOURCES = statdb_dump.c - - statdb_dump_LDADD = ../support/nfs/.libs/libnfs.a \ -- ../support/nsm/libnsm.a $(LIBCAP) -+ ../support/nsm/libnsm.a $(LIBCAP) \ -+ ../support/misc/libmisc.a - - SUBDIRS = nsm_client - |