summaryrefslogtreecommitdiffstats
path: root/main/bzip2/bzip2-1.0.6-saneso.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-09-22 07:03:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-09-22 07:10:19 +0000
commit1b7a989a8a8e1ce2bef83fb1f9f2488254ac5d75 (patch)
treefa594d65dbb185f92e07633be27b0098c270caa2 /main/bzip2/bzip2-1.0.6-saneso.patch
parent44e57c85ddf771aaa21424bdab2a0d6041327aaa (diff)
downloadaports-1b7a989a8a8e1ce2bef83fb1f9f2488254ac5d75.tar.bz2
aports-1b7a989a8a8e1ce2bef83fb1f9f2488254ac5d75.tar.xz
main/bzip2: upgrade to 1.0.6. security fix for CVE-2010-0405
Diffstat (limited to 'main/bzip2/bzip2-1.0.6-saneso.patch')
-rw-r--r--main/bzip2/bzip2-1.0.6-saneso.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/bzip2/bzip2-1.0.6-saneso.patch b/main/bzip2/bzip2-1.0.6-saneso.patch
new file mode 100644
index 000000000..1968a63bf
--- /dev/null
+++ b/main/bzip2/bzip2-1.0.6-saneso.patch
@@ -0,0 +1,13 @@
+--- ./Makefile-libbz2_so
++++ ./Makefile-libbz2_so
+@@ -35,8 +35,8 @@
+ bzlib.o
+
+ all: $(OBJS)
+- $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.6 $(OBJS)
+- $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.6
++ $(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.6 $(OBJS)
++ $(CC) $(LDFLAGS) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.6
+ rm -f libbz2.so.1.0
+ ln -s libbz2.so.1.0.6 libbz2.so.1.0
+