aboutsummaryrefslogtreecommitdiffstats
path: root/main/bzip2/bzip2-1.0.4-makefile-CFLAGS.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.4-makefile-CFLAGS.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.4-makefile-CFLAGS.patch')
-rw-r--r--main/bzip2/bzip2-1.0.4-makefile-CFLAGS.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/bzip2/bzip2-1.0.4-makefile-CFLAGS.patch b/main/bzip2/bzip2-1.0.4-makefile-CFLAGS.patch
index 85a3c6af6c..cf146188c3 100644
--- a/main/bzip2/bzip2-1.0.4-makefile-CFLAGS.patch
+++ b/main/bzip2/bzip2-1.0.4-makefile-CFLAGS.patch
@@ -1,5 +1,5 @@
---- a/Makefile
-+++ b/Makefile
+--- ./Makefile
++++ ./Makefile
@@ -18,10 +18,9 @@
CC=gcc
AR=ar
@@ -8,18 +8,18 @@
BIGFILES=-D_FILE_OFFSET_BITS=64
-CFLAGS=-Wall -Winline -O2 -g $(BIGFILES)
-+CFLAGS+=-Wall -Winline $(BIGFILES)
++CFLAGS+=-Wall -Winline $(BIGFILES) $(CPPFLAGS)
# Where you want it installed when you do 'make install'
PREFIX=/usr/local
---- a/Makefile-libbz2_so
-+++ b/Makefile-libbz2_so
+--- ./Makefile-libbz2_so
++++ ./Makefile-libbz2_so
@@ -24,7 +24,7 @@
SHELL=/bin/sh
CC=gcc
BIGFILES=-D_FILE_OFFSET_BITS=64
-CFLAGS=-fpic -fPIC -Wall -Winline -O2 -g $(BIGFILES)
-+CFLAGS+=-fpic -fPIC -Wall -Winline $(BIGFILES)
++CFLAGS+=-fpic -fPIC -Wall -Winline $(BIGFILES) $(CPPFLAGS)
OBJS= blocksort.o \
huffman.o \