summaryrefslogtreecommitdiffstats
path: root/testing/hardinfo/hardinfo-alpine.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-29 16:23:02 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-29 16:26:35 +0000
commitfd0cf32e80cc193c56fabc8639e91bf022bc8b06 (patch)
tree810696eae012171fbc3d4949629d2d123e3bbedd /testing/hardinfo/hardinfo-alpine.patch
parent0652de5a797997bc087c9e0065184a127e7ddac2 (diff)
downloadaports-fd0cf32e80cc193c56fabc8639e91bf022bc8b06.tar.bz2
aports-fd0cf32e80cc193c56fabc8639e91bf022bc8b06.tar.xz
testing/hardinfo: added support for alpine OS release
Diffstat (limited to 'testing/hardinfo/hardinfo-alpine.patch')
-rw-r--r--testing/hardinfo/hardinfo-alpine.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/hardinfo/hardinfo-alpine.patch b/testing/hardinfo/hardinfo-alpine.patch
new file mode 100644
index 000000000..279aa5d53
--- /dev/null
+++ b/testing/hardinfo/hardinfo-alpine.patch
@@ -0,0 +1,10 @@
+--- ./computer.h.orig
++++ ./computer.h
+@@ -23,6 +23,7 @@
+ static struct {
+ gchar *file, *codename;
+ } distro_db[] = {
++ { DB_PREFIX "alpine-version", "al" },
+ { DB_PREFIX "debian_version", "deb" },
+ { DB_PREFIX "slackware-version", "slk" },
+ { DB_PREFIX "mandrake-release", "mdk" },