Package: osdsh / 0.7.0-10.2

00-make-clean.dpatch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
--- osdsh-0.7.0.orig/src/config.h
+++ osdsh-0.7.0/src/config.h
@@ -11,5 +11,5 @@
 #define OSD_FIFO_PATH "/tmp/osdsh"
 #define PPP_DEVICE "ppp0"
 #define PPP_PID_PATH "/var/run"
-#define PLUGINSDIR "/usr/local/lib/osdsh"
+#define PLUGINSDIR "/usr/lib/osdsh"
 #define MAX_PLUGINS 20
--- osdsh-0.7.0.orig/src/osdctl/Makefile
+++ osdsh-0.7.0/src/osdctl/Makefile
@@ -13,5 +13,5 @@
 	gcc $(LIBDIR) $(LIBS) $(CFLAGS) -o $@ $@.c
 
 clean: 
-	rm osdctl
+	rm -f osdctl
 
--- osdsh-0.7.0.orig/src/osdsh/Makefile
+++ osdsh-0.7.0/src/osdsh/Makefile
@@ -18,18 +18,18 @@
 
 %.o: %.c
 
-	gcc -c $<
+	gcc -fPIC -c $<
 
 osdsh: $(OBJS)
 	gcc -c $(CFLAGS) $@.c
 	gcc $(CFLAGS) -o $@ osdsh.o $(OBJS) $(LIBS) &#8211;ldl
 
 clean: libclean
-	rm osdsh
-	rm *.o
+	rm -f osdsh
+	rm -f *.o
 
 libclean:
-	rm libosdsh*.so
+	rm -f libosdsh*.so
 
 libosdshclock.so: 
 	gcc -fPIC -c clockdisplay.c