x11-misc/fireflies: remove unused patches
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Thu, 10 Aug 2017 17:45:24 +0000 (19:45 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 13 Aug 2017 11:29:09 +0000 (13:29 +0200)
Closes: https://github.com/gentoo/gentoo/pull/5383

x11-misc/fireflies/files/fireflies-2.07-build_system.patch [deleted file]
x11-misc/fireflies/files/fireflies-2.07-gcc43.patch [deleted file]
x11-misc/fireflies/files/fireflies-2.07-gcc44.patch [deleted file]
x11-misc/fireflies/files/fireflies-2.07-libgfx-libpng15.patch [deleted file]
x11-misc/fireflies/files/fireflies-2.07-libgfx-libpng16.patch [deleted file]

diff --git a/x11-misc/fireflies/files/fireflies-2.07-build_system.patch b/x11-misc/fireflies/files/fireflies-2.07-build_system.patch
deleted file mode 100644 (file)
index 2097b88..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-Multiple QA issues:
-* Respect CXXFLAGS,LDFLAGS
-* fix parallel build
-* configure recursively
-* don't strip binaries
-* don't unpack libgfx during make
-
-http://bugs.gentoo.org/show_bug.cgi?id=336814
-
---- configure.ac
-+++ configure.ac
-@@ -2,6 +2,7 @@
- AC_INIT(fireflies, 2.07, guy@somewhere.fscked.org)
- AC_CONFIG_SRCDIR([src/arrow.cc])
- AC_CONFIG_HEADER([config.h])
-+AC_CONFIG_SUBDIRS([libgfx])
- sys=`uname`
---- Makefile
-+++ Makefile
-@@ -21,18 +21,17 @@
- win32/
- all:  libgfx/src/libgfx.a
--      cd src && make
-+      $(MAKE) -C src
- libgfx/src/libgfx.a:
--      gunzip -c libgfx-1.0.1.tar.gz | tar x
--      cd libgfx && ./configure && cd src && make
-+      $(MAKE) -C libgfx/src
- install: all
-       sh ./installit $(DESTDIR)
- clean:
--      make -C src clean
--      make -C win32 clean
-+      $(MAKE) -C src clean
-+      $(MAKE) -C win32 clean
- dist:
-       rm -rf fireflies-$(VERSION)
-@@ -42,7 +41,7 @@
-       # need Make.include temporarily to run make
-       cp Make.include fireflies-$(VERSION)
--      make -C fireflies-$(VERSION) clean
-+      $(MAKE) -C fireflies-$(VERSION) clean
-       rm -f fireflies-$(VERSION)/Make.include
-       # don't want to include debian's buildroot
---- src/Makefile
-+++ src/Makefile
-@@ -8,8 +8,7 @@
- all:  $(PROGRAM)
- $(PROGRAM):   $(OBJECTS)
--      $(CXX) -o $(PROGRAM) $(OBJECTS) $(LIBS)
--      strip $(PROGRAM)
-+      $(CXX) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(LIBS)
- $(OBJECTS): $(HEADERS)
-@@ -17,7 +16,7 @@
- .SUFFIXES: .cc .rc .o
- .cc.o:
--      $(CXX) -c $(CFLAGS) -o $@ $<
-+      $(CXX) -c $(CXXFLAGS) -o $@ $<
- #$(HEADERS_GCH): %.h.gch: %.h
- #     $(CXX) -c -x c++-header $(CFLAGS) -o $@ $<
---- Make.include.in
-+++ Make.include.in
-@@ -5,7 +5,7 @@
- GL_LIBS = @GL_LIBS@
- OPT_LIBS = @OPT_LIBS@
--CFLAGS = -Wall -I../libgfx/include/ $(SDL_CFLAGS) @CFLAGS@
-+CXXFLAGS = -Wall -I../libgfx/include/ $(SDL_CFLAGS) @CXXFLAGS@
- LIBS = ../libgfx/src/libgfx.a $(GL_LIBS) $(SDL_LIBS) $(OPT_LIBS) @LIBS@
- OBJECTS = arrow.o bait.o firefly.o scene.o tail.o utils.o modes.o @OPT_OBJS@
diff --git a/x11-misc/fireflies/files/fireflies-2.07-gcc43.patch b/x11-misc/fireflies/files/fireflies-2.07-gcc43.patch
deleted file mode 100644 (file)
index d6bad4d..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- fireflies-2.07/libgfx/src/raster.cxx.old   2008-07-29 17:53:35.000000000 -0500
-+++ fireflies-2.07/libgfx/src/raster.cxx       2008-07-29 17:53:51.000000000 -0500
-@@ -9,7 +9,7 @@
- #include <gfx/gfx.h>
- #include <gfx/raster.h>
--#include <string>
-+#include <cstring>
- #include <cctype>
- ByteRaster::ByteRaster(const ByteRaster &img)
diff --git a/x11-misc/fireflies/files/fireflies-2.07-gcc44.patch b/x11-misc/fireflies/files/fireflies-2.07-gcc44.patch
deleted file mode 100644 (file)
index 612a25e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur fireflies-2.07.orig/src/vroot.h fireflies-2.07/src/vroot.h
---- fireflies-2.07.orig/src/vroot.h    2005-12-09 05:07:30.000000000 +0200
-+++ fireflies-2.07/src/vroot.h 2009-08-09 21:18:40.000000000 +0300
-@@ -78,6 +78,8 @@
-  "#Id: vroot.h,v 1.4 1991/09/30 19:23:16 stolcke Exp stolcke #";
- #endif
-+#include <stdio.h>
-+
- #include <X11/X.h>
- #include <X11/Xatom.h>
- #include <X11/Xlib.h>
diff --git a/x11-misc/fireflies/files/fireflies-2.07-libgfx-libpng15.patch b/x11-misc/fireflies/files/fireflies-2.07-libgfx-libpng15.patch
deleted file mode 100644 (file)
index 23d471b..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---- libgfx/src/raster-png.cxx
-+++ libgfx/src/raster-png.cxx
-@@ -39,7 +39,7 @@
-    // Because we didn't set up any error handlers, we need to be
-    // prepared to handle longjmps out of the library on error
-    // conditions.
--   if( setjmp(png_ptr->jmpbuf) )
-+   if( setjmp(png_jmpbuf(png_ptr)) )
-    {
-       png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
-       fclose(fp);
-@@ -129,7 +129,7 @@
-       return false;
-    }
--   if( setjmp(png_ptr->jmpbuf) )
-+   if( setjmp(png_jmpbuf(png_ptr)) )
-    {
-       fclose(fp);
-       png_destroy_write_struct(&png_ptr,  (png_infopp)NULL);
diff --git a/x11-misc/fireflies/files/fireflies-2.07-libgfx-libpng16.patch b/x11-misc/fireflies/files/fireflies-2.07-libgfx-libpng16.patch
deleted file mode 100644 (file)
index b599cac..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-raster-png.cxx: In function ‘ByteRaster* read_png_image(const char*)’:
-raster-png.cxx:104:47: error: ‘memcpy’ was not declared in this scope
-       memcpy(pixel, row_pointers[row], nbytes);
-                                              ^
-
---- libgfx/src/raster-png.cxx
-+++ libgfx/src/raster-png.cxx
-@@ -16,6 +16,7 @@
- #ifdef HAVE_LIBPNG
- #include <png.h>
-+#include <string.h> /* memcpy() */
- ByteRaster *read_png_image(const char *file_name)
- {