diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2019-11-29 14:30:38 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2019-11-29 19:27:32 +0100 |
commit | a52a222a24a7dfa9b27ab8bba8036433f5891cf7 (patch) | |
tree | 9bdc8fcdee830ff64b470ccff51f77ae63a22e15 /dev-libs/libspnav | |
parent | dev-go/go-text: Remove old version 0_pre20160211 (diff) | |
download | gentoo-a52a222a24a7dfa9b27ab8bba8036433f5891cf7.tar.gz gentoo-a52a222a24a7dfa9b27ab8bba8036433f5891cf7.tar.bz2 gentoo-a52a222a24a7dfa9b27ab8bba8036433f5891cf7.zip |
dev-libs/libspnav: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/13799
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'dev-libs/libspnav')
-rw-r--r-- | dev-libs/libspnav/files/libspnav-0.2.2-custom-flags.patch | 75 | ||||
-rw-r--r-- | dev-libs/libspnav/files/libspnav-0.2.2-makefile.patch | 27 |
2 files changed, 0 insertions, 102 deletions
diff --git a/dev-libs/libspnav/files/libspnav-0.2.2-custom-flags.patch b/dev-libs/libspnav/files/libspnav-0.2.2-custom-flags.patch deleted file mode 100644 index cc96655bf469..000000000000 --- a/dev-libs/libspnav/files/libspnav-0.2.2-custom-flags.patch +++ /dev/null @@ -1,75 +0,0 @@ -diff -Npur libspnav-0.2.2.orig/Makefile.in libspnav-0.2.2/Makefile.in ---- libspnav-0.2.2.orig/Makefile.in 2012-01-31 22:34:01.448356249 +0100 -+++ libspnav-0.2.2/Makefile.in 2012-01-31 22:39:20.229350669 +0100 -@@ -7,7 +7,8 @@ lib_so = $(soname).1 - - CC = gcc - AR = ar --CFLAGS = $(opt) $(dbg) -std=c89 -fpic -pedantic -Wall -fno-strict-aliasing -I. -+CFLAGS = $(opt) -fpic -I. -+LDFLAGS = $(ldopt) -shared -Wl,-soname,$(soname) - - .PHONY: all - all: $(lib_a) $(lib_so) -@@ -16,7 +17,7 @@ $(lib_a): $(obj) - $(AR) rcs $@ $(obj) - - $(lib_so): $(obj) -- $(CC) -shared -Wl,-soname,$(soname) -o $@ $(obj) -+ $(CC) $(LDFLAGS) -o $@ $(obj) - - %.o: $(srcdir)/%.c - $(CC) $(CFLAGS) -c $< -o $@ -diff -Npur libspnav-0.2.2.orig/configure libspnav-0.2.2/configure ---- libspnav-0.2.2.orig/configure 2012-01-31 22:34:01.448356249 +0100 -+++ libspnav-0.2.2/configure 2012-01-31 22:34:39.703355615 +0100 -@@ -4,6 +4,7 @@ echo 'configuring spacenav library...' - - PREFIX=/usr/local - OPT=yes -+LDOPT=yes - DBG=yes - X11=yes - -@@ -26,6 +27,11 @@ for arg; do - --disable-opt) - OPT=no;; - -+ --enable-ldopt) -+ LDOPT=yes;; -+ --disable-ldopt) -+ LDOPT=no;; -+ - --enable-debug) - DBG=yes;; - --disable-debug) -@@ -44,6 +50,8 @@ for arg; do - echo ' --disable-x11: disable X11 communication mode' - echo ' --enable-opt: enable speed optimizations (default)' - echo ' --disable-opt: disable speed optimizations' -+ echo ' --enable-ldopt: enable link optimizations (default)' -+ echo ' --disable-ldopt: disable link optimizations' - echo ' --enable-debug: include debugging symbols (default)' - echo ' --disable-debug: do not include debugging symbols' - echo 'all invalid options are silently ignored' -@@ -54,6 +62,7 @@ done - - echo " prefix: $PREFIX" - echo " optimize for speed: $OPT" -+echo " optimize link: $LDOPT" - echo " include debugging symbols: $DBG" - echo " x11 communication method: $X11" - echo "" -@@ -74,7 +83,11 @@ if [ "$DBG" = 'yes' ]; then - fi - - if [ "$OPT" = 'yes' ]; then -- echo 'opt = -O3' >>Makefile -+ echo "opt = ${CFLAGS:--O3}" >>Makefile -+fi -+ -+if [ "$LDOPT" = 'yes' ]; then -+ echo "ldopt = ${LDFLAGS}" >>Makefile - fi - - if [ "$X11" = 'yes' ]; then diff --git a/dev-libs/libspnav/files/libspnav-0.2.2-makefile.patch b/dev-libs/libspnav/files/libspnav-0.2.2-makefile.patch deleted file mode 100644 index f65300c5f58a..000000000000 --- a/dev-libs/libspnav/files/libspnav-0.2.2-makefile.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -Npur libspnav-0.2.2.orig/Makefile.in libspnav-0.2.2/Makefile.in ---- libspnav-0.2.2.orig/Makefile.in 2012-01-31 22:40:36.619349333 +0100 -+++ libspnav-0.2.2/Makefile.in 2012-01-31 22:41:52.554347975 +0100 -@@ -11,7 +11,7 @@ CFLAGS = $(opt) -I. - LDFLAGS = $(ldopt) -shared -Wl,-soname,$(soname) - - .PHONY: all --all: $(lib_a) $(lib_so) -+all: $(lib_so) - - $(lib_a): $(obj) - $(AR) rcs $@ $(obj) -@@ -31,10 +31,10 @@ distclean: - rm -f $(obj) $(lib_a) $(lib_so) Makefile - - .PHONY: install --install: $(lib_a) $(lib_so) -- cp $(lib_a) $(PREFIX)/$(libdir)/$(lib_a) -- cp $(lib_so) $(PREFIX)/$(libdir)/$(lib_so) -- for h in $(hdr); do cp -p $(srcdir)/$$h $(PREFIX)/include/; done -+install: $(lib_so) -+ mkdir -p $(DESTDIR)$(PREFIX)/$(libdir) $(DESTDIR)$(PREFIX)/include -+ cp $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) -+ for h in $(hdr); do cp -p $(srcdir)/$$h $(DESTDIR)$(PREFIX)/include/; done - - .PHONY: uninstall - uninstall: |