aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fancontroled/link.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-23 09:50:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-23 09:50:09 +0000
commit9ea110264d066b3b84bc37767072b0d70a998a1b (patch)
treeced0d419d3f7d13b43c6865d7a49ff5028bd7fa1 /testing/fancontroled/link.patch
parent3f70619ab971cd3a7a3f547333d6da079d09418d (diff)
downloadaports-9ea110264d066b3b84bc37767072b0d70a998a1b.tar.bz2
aports-9ea110264d066b3b84bc37767072b0d70a998a1b.tar.xz
testing/fancontroled: new aport
a temperature dependent fan speed control http://fancontroled.lukaperkov.net/ ref #1175
Diffstat (limited to 'testing/fancontroled/link.patch')
-rw-r--r--testing/fancontroled/link.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/fancontroled/link.patch b/testing/fancontroled/link.patch
new file mode 100644
index 0000000000..328e78062d
--- /dev/null
+++ b/testing/fancontroled/link.patch
@@ -0,0 +1,11 @@
+--- ./Makefile.orig
++++ ./Makefile
+@@ -12,7 +12,7 @@
+ OBJECTS = $(SOURCES:.c=.o)
+
+ $(FANCONTROLED_TARGET): $(OBJECTS) $(HEADERS)
+- $(CC) $(CFLAGS) $(LDFLAGS) $(INC_PATH) $(LIBS) $(OBJECTS) -D $(MACROS) -o $(FANCONTROLED_TARGET)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(INC_PATH) $(OBJECTS) -D $(MACROS) -o $(FANCONTROLED_TARGET) $(LIBS)
+
+ $(OBJECTS): $(SOURCES)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(INC_PATH) $(LIBS) -D $(MACROS) -c $(@:.o=.c)