diff options
author | Mamoru Komachi <usata@gentoo.org> | 2006-06-17 15:45:18 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2006-06-17 15:45:18 +0000 |
commit | 6417081893acaebaa45e44a5afdd1aa3e04eadb2 (patch) | |
tree | 68b1851338384dcb419612d9b1786c2ec216114a /app-text/convertlit/files | |
parent | Masking old dbus & hal for removal per bug #137084 (diff) | |
download | gentoo-2-6417081893acaebaa45e44a5afdd1aa3e04eadb2.tar.gz gentoo-2-6417081893acaebaa45e44a5afdd1aa3e04eadb2.tar.bz2 gentoo-2-6417081893acaebaa45e44a5afdd1aa3e04eadb2.zip |
Respect LDFLAGS and link dynamically to libtommath. Thanks to flameeyes for patches. This closes bug #126851.
(Portage version: 2.1)
Diffstat (limited to 'app-text/convertlit/files')
-rw-r--r-- | app-text/convertlit/files/convertlit-1.8-respectflags.patch | 28 | ||||
-rw-r--r-- | app-text/convertlit/files/digest-convertlit-1.8 | 2 | ||||
-rw-r--r-- | app-text/convertlit/files/digest-convertlit-1.8-r1 | 3 |
3 files changed, 33 insertions, 0 deletions
diff --git a/app-text/convertlit/files/convertlit-1.8-respectflags.patch b/app-text/convertlit/files/convertlit-1.8-respectflags.patch new file mode 100644 index 000000000000..06209ef62ada --- /dev/null +++ b/app-text/convertlit/files/convertlit-1.8-respectflags.patch @@ -0,0 +1,28 @@ +Index: clit18/Makefile +=================================================================== +--- clit18/Makefile.orig ++++ 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 -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
++ $(CC) $(LDFLAGS) -o clit $^ -ltommath
+
+Index: lib/Makefile +=================================================================== +--- lib/Makefile.orig ++++ lib/Makefile +@@ -1,6 +1,6 @@ + all: openclit.a
+
+-CFLAGS=-O3 -Wall -Ides -Isha -Inewlzx -I.
++CFLAGS+=-Ides -Isha -Inewlzx -I.
+ clean:
+ rm -f *.o openclit.a des/*.o lzx/*.o sha/*.o
+
diff --git a/app-text/convertlit/files/digest-convertlit-1.8 b/app-text/convertlit/files/digest-convertlit-1.8 index 0dee498cef8a..c46b442cc870 100644 --- a/app-text/convertlit/files/digest-convertlit-1.8 +++ b/app-text/convertlit/files/digest-convertlit-1.8 @@ -1 +1,3 @@ MD5 d691d4729485fe5d73e3f0937d8fb42e clit18src.zip 135120 +RMD160 6104a7d951ed60ea73705e401be8b55633ea2d47 clit18src.zip 135120 +SHA256 d70a85f5b945104340d56f48ec17bcf544e3bb3c35b1b3d58d230be699e557ba clit18src.zip 135120 diff --git a/app-text/convertlit/files/digest-convertlit-1.8-r1 b/app-text/convertlit/files/digest-convertlit-1.8-r1 new file mode 100644 index 000000000000..c46b442cc870 --- /dev/null +++ b/app-text/convertlit/files/digest-convertlit-1.8-r1 @@ -0,0 +1,3 @@ +MD5 d691d4729485fe5d73e3f0937d8fb42e clit18src.zip 135120 +RMD160 6104a7d951ed60ea73705e401be8b55633ea2d47 clit18src.zip 135120 +SHA256 d70a85f5b945104340d56f48ec17bcf544e3bb3c35b1b3d58d230be699e557ba clit18src.zip 135120 |