File: 1000-old-changes.patch

package info (click to toggle)
convlit 1.8-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 796 kB
  • sloc: ansic: 8,168; makefile: 28
file content (36 lines) | stat: -rw-r--r-- 1,313 bytes parent folder | download | duplicates (3)
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
Description: Add old package changes.
 Remove compiler optimization flags.
 Extend compiler related variables instead of setting them directly.
 Fix make clean to include newlzx.
 Use shared library libtommath instead of a local static copy.
Author: Marco Villegas <marco@marvil07.net>
Forwarded: Not-needed
Last-Update: 2019-07-19

--- convlit-1.8.orig/clit18/Makefile
+++ convlit-1.8/clit18/Makefile
@@ -1,9 +1,9 @@
 all: clit
 
-CFLAGS=-funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I .
+CFLAGS+=-funsigned-char -Wall -I ../lib -I ../lib/des -I .
 clean:
 	rm -f *.o clit
 
 clit: clit.o hexdump.o drm5.o explode.o transmute.o display.o utils.o manifest.o ../lib/openclit.a 
-	gcc -o clit $^  ../libtommath-0.30/libtommath.a
+	gcc -o clit $^  -ltommath
 
--- convlit-1.8.orig/lib/Makefile
+++ convlit-1.8/lib/Makefile
@@ -1,8 +1,8 @@
 all: openclit.a
 
-CFLAGS=-O3 -Wall -Ides -Isha -Inewlzx -I.
+CFLAGS+=-Wall -Ides -Isha -Inewlzx -I.
 clean:
-	rm -f *.o openclit.a des/*.o lzx/*.o sha/*.o
+	rm -f *.o openclit.a des/*.o newlzx/*.o sha/*.o
 
 openclit.a: litatom.o litdrm.o litlib.o litembiggen.o littags.o litmetatags.o litmanifest.o litdirectory.o litsections.o litheaders.o litutil.o sha/mssha1.o des/des.o newlzx/lzxglue.o newlzx/lzxd.o
 	-rm -f openclit.a