diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-09-07 12:19:54 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-09-07 12:19:54 -0300 |
commit | 730bda0e79d3e122d665663a18e0c973d7209236 (patch) | |
tree | 251b00a85c7bbc2e3ee21102c5c16c1054cf4669 /extra/sbcl | |
parent | cfe7b034671297c6bba5e91867d98e182c683ded (diff) | |
parent | fe769389426a6aa5a2878bf7dcfc6144717e1e93 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/gcolor2/PKGBUILD
community/perl-list-moreutils/PKGBUILD
extra/boost/PKGBUILD
extra/cdrkit/PKGBUILD
extra/ettercap/PKGBUILD
extra/lame/PKGBUILD
extra/sdl/PKGBUILD
extra/unzip/PKGBUILD
gnome-unstable/at-spi2-atk/PKGBUILD
gnome-unstable/at-spi2-core/PKGBUILD
gnome-unstable/caribou/PKGBUILD
gnome-unstable/empathy/PKGBUILD
gnome-unstable/eog/PKGBUILD
gnome-unstable/epiphany/PKGBUILD
gnome-unstable/glib2/PKGBUILD
gnome-unstable/glibmm/PKGBUILD
gnome-unstable/gnome-themes-standard/PKGBUILD
gnome-unstable/gtkmm3/PKGBUILD
gnome-unstable/yelp/PKGBUILD
Diffstat (limited to 'extra/sbcl')
-rw-r--r-- | extra/sbcl/0001-Fix-version-string-parsing-for-Linux-3.0.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/extra/sbcl/0001-Fix-version-string-parsing-for-Linux-3.0.patch b/extra/sbcl/0001-Fix-version-string-parsing-for-Linux-3.0.patch deleted file mode 100644 index fe5a807ee..000000000 --- a/extra/sbcl/0001-Fix-version-string-parsing-for-Linux-3.0.patch +++ /dev/null @@ -1,43 +0,0 @@ -From b43c51beeb0569a38900e1e5a78606711f987742 Mon Sep 17 00:00:00 2001 -From: Paul Khuong <pvk@pvk.ca> -Date: Wed, 3 Aug 2011 10:20:41 -0400 -Subject: [PATCH] Fix version string parsing for Linux 3.0 - - Stop assuming the presence of minor and patch version numbers; missing - values are defaulted to 0 (e.g. 3.0.0). - - Reported by a few people on IRC. ---- - src/runtime/linux-os.c | 14 ++++++++++---- - 1 files changed, 10 insertions(+), 4 deletions(-) - -diff --git a/src/runtime/linux-os.c b/src/runtime/linux-os.c -index db72fa6..e262f41 100644 ---- a/src/runtime/linux-os.c -+++ b/src/runtime/linux-os.c -@@ -198,12 +198,18 @@ os_init(char *argv[], char *envp[]) - int patch_version; - char *p; - uname(&name); -+ - p=name.release; - major_version = atoi(p); -- p=strchr(p,'.')+1; -- minor_version = atoi(p); -- p=strchr(p,'.')+1; -- patch_version = atoi(p); -+ minor_version = patch_version = 0; -+ p=strchr(p,'.'); -+ if (p != NULL) { -+ minor_version = atoi(++p); -+ p=strchr(p,'.'); -+ if (p != NULL) -+ patch_version = atoi(++p); -+ } -+ - if (major_version<2) { - lose("linux kernel version too old: major version=%d (can't run in version < 2.0.0)\n", - major_version); --- -1.7.6 - |