diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-05 08:40:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-10-05 08:40:31 +0000 |
commit | c35788fc307b31666b1df5c5b955e816a94b476a (patch) | |
tree | f9729f27573593da0c2d8dc68dc0806e6a55aee2 /sys-devel/sparse/files | |
parent | Fix buffer overflows and building with --as-needed wrt bug 339753. Thanks to ... (diff) | |
download | gentoo-2-c35788fc307b31666b1df5c5b955e816a94b476a.tar.gz gentoo-2-c35788fc307b31666b1df5c5b955e816a94b476a.tar.bz2 gentoo-2-c35788fc307b31666b1df5c5b955e816a94b476a.zip |
old
Diffstat (limited to 'sys-devel/sparse/files')
-rw-r--r-- | sys-devel/sparse/files/sparse-0.3-makefile-fix.patch | 34 | ||||
-rw-r--r-- | sys-devel/sparse/files/sparse-0.4-makefile-fix.patch | 11 |
2 files changed, 0 insertions, 45 deletions
diff --git a/sys-devel/sparse/files/sparse-0.3-makefile-fix.patch b/sys-devel/sparse/files/sparse-0.3-makefile-fix.patch deleted file mode 100644 index a89316b54f11..000000000000 --- a/sys-devel/sparse/files/sparse-0.3-makefile-fix.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- sparse-0.3/Makefile -+++ sparse-0.3/Makefile -@@ -16,9 +16,9 @@ - CFLAGS += -DDEBUG - - DESTDIR= --PREFIX=$(HOME) --BINDIR=$(PREFIX)/bin --LIBDIR=$(PREFIX)/lib --INCLUDEDIR=$(PREFIX)/include -+PREFIX= -+BINDIR=$(PREFIX)/usr/bin -+LIBDIR=$(PREFIX)/usr/lib -+INCLUDEDIR=$(PREFIX)/usr/include - PKGCONFIGDIR=$(LIBDIR)/pkgconfig - -@@ -38,7 +38,7 @@ - LIB_FILE= libsparse.a - SLIB_FILE= libsparse.so - --LIBS=$(LIB_FILE) -+LIBS=$(SLIB_FILE) - - all: $(PROGRAMS) sparse.pc - -@@ -101,7 +101,7 @@ - $(AR) rcs $@ $(LIB_OBJS) - - $(SLIB_FILE): $(LIB_OBJS) -- $(CC) -shared -o $@ $(LIB_OBJS) -+ $(CC) $(LDFLAGS) -Wl,-soname,$@ -shared -o $@ $(LIB_OBJS) - - evaluate.o: $(LIB_H) - expression.o: $(LIB_H) diff --git a/sys-devel/sparse/files/sparse-0.4-makefile-fix.patch b/sys-devel/sparse/files/sparse-0.4-makefile-fix.patch deleted file mode 100644 index 5af1467b2c78..000000000000 --- a/sys-devel/sparse/files/sparse-0.4-makefile-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- sparse-0.4/Makefile -+++ sparse-0.4/Makefile -@@ -81,7 +81,7 @@ - $(QUIET_INST_SH)install -v $$f $(DESTDIR)$(BINDIR)/$$f || exit 1; \ - done - $(Q)for f in $(INST_MAN1); do \ -- $(QUIET_INST_SH)install -v $$f $(DESTDIR)$(MAN1DIR)/$$f || exit 1; \ -+ $(QUIET_INST_SH)install -v $$f -m 0644 $(DESTDIR)$(MAN1DIR)/$$f || exit 1; \ - done - $(Q)for f in $(LIBS); do \ - $(QUIET_INST_SH)install -m 644 -v $$f $(DESTDIR)$(LIBDIR)/$$f || exit 1; \ |