summaryrefslogtreecommitdiff
path: root/~emulatorman/xchat-xsys-noaudacious/xchat-xsys-parabola.patch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-17 15:23:24 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-17 15:23:24 -0300
commitc09bfc90e874607edab8e77d50d9aa15ea145b53 (patch)
treeba3397a58d32f1e3761cb26a2ee7b965f3c4d348 /~emulatorman/xchat-xsys-noaudacious/xchat-xsys-parabola.patch
parentdd4f80e98fdd486f86ccd77b5ad307d461723844 (diff)
fixes and ports
Diffstat (limited to '~emulatorman/xchat-xsys-noaudacious/xchat-xsys-parabola.patch')
-rw-r--r--~emulatorman/xchat-xsys-noaudacious/xchat-xsys-parabola.patch37
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);