File: 02_optionalstrip.patch

package info (click to toggle)
quelcom 0.4.0-16
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 1,544 kB
  • sloc: cpp: 4,148; makefile: 158; sh: 15
file content (50 lines) | stat: -rw-r--r-- 1,410 bytes parent folder | download | duplicates (6)
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
44
45
46
47
48
49
50
diff -Nbaur quelcom-0.4.0_03/bin/makefile quelcom-0.4.0/bin/makefile
--- quelcom-0.4.0_03/bin/makefile	2001-02-23 04:29:12.000000000 -0800
+++ quelcom-0.4.0/bin/makefile	2002-10-09 02:29:25.000000000 -0700
@@ -22,11 +22,11 @@
 
 $(MP3BIN): %: %.o
 	$(CXX) -o $@ $< -L./../lib -lqextra -lqmp3
-	strip $@
+	$(STRIP) $@
 
 $(WAVBIN): %: %.o
 	$(CXX) -o $@ $< -L./../lib -lqextra -lqwav
-	strip $@
+	$(STRIP) $@
 
 install: all
 	mkdir -p $(BINDIR)
diff -Nbaur quelcom-0.4.0_03/lib/makefile quelcom-0.4.0/lib/makefile
--- quelcom-0.4.0_03/lib/makefile	2002-10-09 02:27:32.000000000 -0700
+++ quelcom-0.4.0/lib/makefile	2002-10-09 02:28:56.000000000 -0700
@@ -30,15 +30,15 @@
 
 libqextra.so: $(EXTRAHEADERS) $(EXTRASOURCES) $(EXTRAOBJECTS)
 	$(CXX) $(CXXFLAGS) -o $@ -shared $(EXTRAOBJECTS)
-	strip $@
+	$(STRIP) $@
 
 libqwav.so: $(WAVLIBSOURCES) $(WAVLIBHEADERS) $(WAVLIBOBJECTS)
 	$(CXX) $(CXXFLAGS) -o $@ -shared $(WAVLIBOBJECTS)
-	strip $@
+	$(STRIP) $@
 
 libqmp3.so: $(MP3LIBSOURCES) $(MP3LIBHEADERS) $(MP3LIBOBJECTS)
 	$(CXX) $(CXXLIBFLAGS) -o $@ -shared $(MP3LIBOBJECTS)
-	strip $@
+	$(STRIP) $@
 
 install: all
 	mkdir -p $(LIBDIR)
diff -Nbaur quelcom-0.4.0_03/makefile quelcom-0.4.0/makefile
--- quelcom-0.4.0_03/makefile	2001-02-23 04:29:12.000000000 -0800
+++ quelcom-0.4.0/makefile	2002-10-09 02:28:23.000000000 -0700
@@ -17,6 +17,7 @@
 VERSION=0.4.0
 
 CXX=g++
+STRIP=strip
 
 DIRS=lib bin doc po