diff --git a/.gitignore b/.gitignore index 87713e6..6a92cf3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ numactl-2.0.2.tar.gz numactl-2.0.3-rc3.tar.gz numactl-2.0.3.tar.gz +/numactl-2.0.5.tar.gz diff --git a/numactl-2.0.2-remove-warning.patch b/numactl-2.0.2-remove-warning.patch deleted file mode 100644 index cf8b6d1..0000000 --- a/numactl-2.0.2-remove-warning.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -up numactl-2.0.2/libnuma.c.orig numactl-2.0.2/libnuma.c ---- numactl-2.0.2/libnuma.c.orig 2009-02-09 15:26:41.000000000 -0500 -+++ numactl-2.0.2/libnuma.c 2009-02-09 15:26:45.000000000 -0500 -@@ -306,9 +306,6 @@ set_configured_nodes(void) - - d = opendir("/sys/devices/system/node"); - if (!d) { -- numa_warn(W_nosysfs, -- "/sys not mounted or no numa system. Assuming one node: %s", -- strerror(errno)); - maxconfigurednode = 0; - } else { - while ((de = readdir(d)) != NULL) { diff --git a/numactl-2.0.3-nodes_allowed_list_obo.patch b/numactl-2.0.3-nodes_allowed_list_obo.patch deleted file mode 100644 index 469a136..0000000 --- a/numactl-2.0.3-nodes_allowed_list_obo.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up numactl-2.0.3/libnuma.c.orig numactl-2.0.3/libnuma.c ---- numactl-2.0.3/libnuma.c.orig 2009-08-10 07:02:12.000000000 -0400 -+++ numactl-2.0.3/libnuma.c 2009-08-10 07:02:39.000000000 -0400 -@@ -464,7 +464,7 @@ set_thread_constraints(void) - nodes_allowed_list = malloc(strlen(buffer)-18); - strncpy(nodes_allowed_list, buffer + 19, - strlen(buffer) - 19); -- nodes_allowed_list[strlen(nodes_allowed_list)-1] = '\0'; -+ nodes_allowed_list[strlen(buffer)-19] = '\0'; - } - } - fclose(f); diff --git a/numactl-2.0.3-rc3-distance_parsing.patch b/numactl-2.0.3-rc3-distance_parsing.patch deleted file mode 100644 index 6fac843..0000000 --- a/numactl-2.0.3-rc3-distance_parsing.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff -up numactl-2.0.3-rc3/distance.c.orig numactl-2.0.3-rc3/distance.c ---- numactl-2.0.3-rc3/distance.c.orig 2009-05-08 10:10:06.000000000 -0400 -+++ numactl-2.0.3-rc3/distance.c 2009-05-08 10:13:01.000000000 -0400 -@@ -50,6 +50,7 @@ static int read_distance_table(void) - int numnodes = 0; - int *table = NULL; - int err = -1; -+ int found_nodes = 0; - - for (nd = 0;; nd++) { - char fn[100]; -@@ -57,7 +58,7 @@ static int read_distance_table(void) - sprintf(fn, "/sys/devices/system/node/node%d/distance", nd); - dfh = fopen(fn, "r"); - if (!dfh) { -- if (errno == ENOENT && nd > 0) -+ if (errno == ENOENT) - err = 0; - if (!err && nd - 2.0.5-1 +- Update to latest stable upstream source + * Mon Feb 15 2010 Neil Horman - 2.0.3-8 - Remove static libs from numactl (bz 556088) diff --git a/sources b/sources index 1ccf9e8..0c11c55 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8e4fb249e5f719c25d7f433964fb9220 numactl-2.0.3.tar.gz +7cafe683095d4677326bcc5e4b3cc541 numactl-2.0.5.tar.gz