View | Details | Raw Unified | Return to bug 187636 | Differences between
and this patch

Collapse All | Expand All

(-)atanks/files/patch-Makefile (-3 / +41 lines)
Lines 1-6 Link Here
1
--- Makefile.orig	2010-06-10 10:03:35.000000000 -0300
1
--- ./Makefile.orig	2011-06-30 20:35:07.000000000 -0300
2
+++ Makefile	2010-06-10 11:00:00.000000000 -0300
2
+++ ./Makefile	2014-03-16 13:47:44.469102752 -0300
3
@@ -16,7 +16,7 @@
3
@@ -11,16 +11,16 @@
4
 export INSTALLDIR
5
 
6
 FILENAME=atanks-${VERSION}
7
-INSTALL=$(PREFIX)bin/install -c
8
+INSTALL=install 
9
 DISTCOMMON=atanks/*.dat atanks/COPYING atanks/README atanks/TODO atanks/Changelog atanks/BUGS atanks/*.txt
4
 INCOMMON=COPYING README TODO Changelog *.txt unicode.dat
10
 INCOMMON=COPYING README TODO Changelog *.txt unicode.dat
5
 
11
 
6
 all:
12
 all:
Lines 9-11 Link Here
9
 
15
 
10
 install: 
16
 install: 
11
 	mkdir -p ${BINDIR}
17
 	mkdir -p ${BINDIR}
18
-	$(INSTALL) -g 0 -m 755 -o 0 atanks ${BINDIR}
19
+	$(INSTALL) -g 0 -m555 -s -o 0 atanks ${BINDIR}
20
 	mkdir -p ${INSTALLDIR}
21
 	mkdir -p ${INSTALLDIR}/button
22
 	mkdir -p ${INSTALLDIR}/misc
23
@@ -31,16 +31,16 @@
24
 	mkdir -p ${INSTALLDIR}/tankgun
25
 	mkdir -p ${INSTALLDIR}/title
26
 	mkdir -p ${INSTALLDIR}/text
27
-	$(INSTALL) -g 0 -m 644 -o 0 $(INCOMMON) ${INSTALLDIR}
28
-	$(INSTALL) -g 0 -m 644 -o 0 button/* ${INSTALLDIR}/button
29
-	$(INSTALL) -g 0 -m 644 -o 0 misc/* ${INSTALLDIR}/misc
30
-	$(INSTALL) -g 0 -m 644 -o 0 missile/* ${INSTALLDIR}/missile
31
-	$(INSTALL) -g 0 -m 644 -o 0 sound/* ${INSTALLDIR}/sound
32
-	$(INSTALL) -g 0 -m 644 -o 0 stock/* ${INSTALLDIR}/stock
33
-	$(INSTALL) -g 0 -m 644 -o 0 tank/* ${INSTALLDIR}/tank
34
-	$(INSTALL) -g 0 -m 644 -o 0 tankgun/* ${INSTALLDIR}/tankgun
35
-	$(INSTALL) -g 0 -m 644 -o 0 title/* ${INSTALLDIR}/title
36
-	$(INSTALL) -g 0 -m 644 -o 0 text/* ${INSTALLDIR}/text
37
+	$(INSTALL) -g 0 -m444 -o 0 $(INCOMMON) ${INSTALLDIR}
38
+	$(INSTALL) -g 0 -m444 -o 0 button/* ${INSTALLDIR}/button
39
+	$(INSTALL) -g 0 -m444 -o 0 misc/* ${INSTALLDIR}/misc
40
+	$(INSTALL) -g 0 -m444 -o 0 missile/* ${INSTALLDIR}/missile
41
+	$(INSTALL) -g 0 -m444 -o 0 sound/* ${INSTALLDIR}/sound
42
+	$(INSTALL) -g 0 -m444 -o 0 stock/* ${INSTALLDIR}/stock
43
+	$(INSTALL) -g 0 -m444 -o 0 tank/* ${INSTALLDIR}/tank
44
+	$(INSTALL) -g 0 -m444 -o 0 tankgun/* ${INSTALLDIR}/tankgun
45
+	$(INSTALL) -g 0 -m444 -o 0 title/* ${INSTALLDIR}/title
46
+	$(INSTALL) -g 0 -m444 -o 0 text/* ${INSTALLDIR}/text
47
 
48
 user:
49
 	INSTALLDIR=./ FLAGS=-DLINUX $(MAKE) -C src
(-)atanks/files/patch-src__Makefile.bsd (+13 lines)
Line 0 Link Here
1
--- ./src/Makefile.bsd.orig	2014-03-16 13:48:06.240647286 -0300
2
+++ ./src/Makefile.bsd	2014-03-16 13:48:16.656643016 -0300
3
@@ -4,8 +4,8 @@
4
           missile.o perlin.o physobj.o player.o satellite.o sky.o tank.o team.o teleport.o virtobj.o \
5
           update.o network.o floattext.o land.o text.o client.o gameloop.o
6
 
7
-CPP=g++
8
-CC=gcc
9
+CPP=clang++
10
+CC=clang
11
 LD=g++
12
 LIB=ar
13
 WINDRES=

Return to bug 187636