diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-02-01 04:45:05 -0200 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-02-01 04:45:05 -0200 |
commit | 52dd108836155b53454bd95a4a9dbd0c104b79d3 (patch) | |
tree | c87f4853b64b5333f7a5aa97bdb5823d34628e21 /~emulatorman/xchat-xsys-noaudacious/xchat-xsys-parabola.patch | |
parent | 5af0fca430a07bda87310d2ef1a33b6cdb31f732 (diff) | |
parent | e2abfecd7d65712f41cd27c8f5ae8d69c478f214 (diff) | |
download | abslibre-52dd108836155b53454bd95a4a9dbd0c104b79d3.tar.gz abslibre-52dd108836155b53454bd95a4a9dbd0c104b79d3.tar.bz2 abslibre-52dd108836155b53454bd95a4a9dbd0c104b79d3.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to '~emulatorman/xchat-xsys-noaudacious/xchat-xsys-parabola.patch')
-rw-r--r-- | ~emulatorman/xchat-xsys-noaudacious/xchat-xsys-parabola.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/~emulatorman/xchat-xsys-noaudacious/xchat-xsys-parabola.patch b/~emulatorman/xchat-xsys-noaudacious/xchat-xsys-parabola.patch deleted file mode 100644 index a3b905be9..000000000 --- a/~emulatorman/xchat-xsys-noaudacious/xchat-xsys-parabola.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- xsys-2.2.0/parse.c 2007-11-12 18:42:20.000000000 -0200 -+++ xsys-2.2.0.new/parse.c 2012-03-10 20:36:46.301892322 -0200 -@@ -389,32 +389,8 @@ - } - snprintf(buffer, bsize, "%s \"%s\" %s", id, codename, release); - } -- else if((fp = fopen("/etc/make.conf", "r")) != NULL) -- { -- char keywords[bsize]; -- while(fgets(buffer, bsize, fp) != NULL) -- find_match_char(buffer, "ACCEPT_KEYWORDS", keywords); -- if (strstr(keywords, "\"") == NULL) -- snprintf(buffer, bsize, "Gentoo Linux (stable)"); -- else -- snprintf(buffer, bsize, "Gentoo Linux %s", keywords); -- } -- else if((fp = fopen("/etc/redhat-release", "r")) != NULL) -- fgets(buffer, bsize, fp); -- else if((fp = fopen("/etc/slackware-version", "r")) != NULL) -- fgets(buffer, bsize, fp); -- else if((fp = fopen("/etc/mandrake-release", "r")) != NULL) -- fgets(buffer, bsize, fp); -- else if((fp = fopen("/etc/debian_version", "r")) != NULL) -- { -- char release[bsize]; -- fgets(release, bsize, fp); -- snprintf(buffer, bsize, "Debian %s", release); -- } -- else if((fp = fopen("/etc/SuSE-release", "r")) != NULL) -- fgets(buffer, bsize, fp); -- else if((fp = fopen("/etc/turbolinux-release", "r")) != NULL) -- fgets(buffer, bsize, fp); -+ else if((fp = fopen("/etc/arch-release", "r")) != NULL) -+ snprintf(buffer, bsize, "Parabola GNU/Linux-libre"); - else - snprintf(buffer, bsize, "Unknown Distro"); - if(fp != NULL) fclose(fp); |