1 |
tommy 10/08/27 14:25:23 |
2 |
|
3 |
Added: polarssl-0.14.0-ldflags.patch |
4 |
polarssl-0.14.0-makefile.patch |
5 |
Log: |
6 |
Version bump, fixes bug 334803 |
7 |
|
8 |
(Portage version: 2.2_rc69-r1/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 net-libs/polarssl/files/polarssl-0.14.0-ldflags.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/polarssl/files/polarssl-0.14.0-ldflags.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/polarssl/files/polarssl-0.14.0-ldflags.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: polarssl-0.14.0-ldflags.patch |
17 |
=================================================================== |
18 |
--- library/Makefile 2010-08-27 15:29:51.879773287 +0200 |
19 |
+++ library/Makefile.new 2010-08-27 15:33:53.960648715 +0200 |
20 |
@@ -43,7 +43,7 @@ |
21 |
|
22 |
libpolarssl.so: libpolarssl.a |
23 |
echo " LD $@" |
24 |
- $(CC) -shared -Wl,-soname,$@ -o $@ $(OBJS) |
25 |
+ $(CC) ${LDFLAGS} -shared -Wl,-soname,$@ -o $@ $(OBJS) |
26 |
|
27 |
libpolarssl.dylib: libpolarssl.a |
28 |
echo " LD $@" |
29 |
--- tests/Makefile 2010-06-19 00:47:29.000000000 +0200 |
30 |
+++ tests/Makefile.new 2010-08-27 16:09:58.269773581 +0200 |
31 |
@@ -2,11 +2,11 @@ |
32 |
# To compile on SunOS: add "-lsocket -lnsl" to LDFLAGS |
33 |
# To compile on MinGW: add "-lws2_32" to LDFLAGS |
34 |
|
35 |
-CFLAGS = -I../include -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement \ |
36 |
+CFLAGS += -I../include -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement \ |
37 |
-Wno-unused-function -Wno-unused-value |
38 |
|
39 |
OFLAGS = -O |
40 |
-LDFLAGS = -L../library -lpolarssl |
41 |
+LDFLAGS += -L../library -lpolarssl |
42 |
|
43 |
APPS = test_suite_aes test_suite_arc4 \ |
44 |
test_suite_base64 test_suite_camellia \ |
45 |
--- programs/Makefile 2010-03-18 21:11:58.000000000 +0100 |
46 |
+++ programs/Makefile.new 2010-08-27 16:09:44.717773482 +0200 |
47 |
@@ -2,9 +2,8 @@ |
48 |
# To compile on SunOS: add "-lsocket -lnsl" to LDFLAGS |
49 |
# To compile on MinGW: add "-lws2_32" to LDFLAGS |
50 |
|
51 |
-CFLAGS = -I../include -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement |
52 |
-OFLAGS = -O |
53 |
-LDFLAGS = -L../library -lpolarssl |
54 |
+CFLAGS += -I../include -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement |
55 |
+LDFLAGS += -L../library -lpolarssl |
56 |
|
57 |
APPS = aes/aescrypt2 hash/hello \ |
58 |
hash/md5sum hash/sha1sum \ |
59 |
|
60 |
|
61 |
|
62 |
1.1 net-libs/polarssl/files/polarssl-0.14.0-makefile.patch |
63 |
|
64 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/polarssl/files/polarssl-0.14.0-makefile.patch?rev=1.1&view=markup |
65 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/polarssl/files/polarssl-0.14.0-makefile.patch?rev=1.1&content-type=text/plain |
66 |
|
67 |
Index: polarssl-0.14.0-makefile.patch |
68 |
=================================================================== |
69 |
diff -Naur polarssl-0.12.0.old/library/Makefile polarssl-0.12.0/library/Makefile |
70 |
--- polarssl-0.12.0.old/library/Makefile 2009-03-28 18:53:03.000000000 +0100 |
71 |
+++ polarssl-0.12.0/library/Makefile 2010-01-23 10:12:03.000000000 +0100 |
72 |
@@ -1,8 +1,7 @@ |
73 |
|
74 |
# Also see "include/polarssl/config.h" |
75 |
|
76 |
-CFLAGS = -I../include -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement |
77 |
-OFLAGS = -O |
78 |
+CFLAGS += -I../include -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement |
79 |
|
80 |
# MicroBlaze specific options: |
81 |
# CFLAGS += -mno-xl-soft-mul -mxl-barrel-shift |