public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: x11-misc/fireflies/files/
@ 2017-02-18 22:09 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2017-02-18 22:09 UTC (permalink / raw
  To: gentoo-commits

commit:     e94f7e2743d317f5951857b5358d9c7bd8714fde
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Feb 18 15:30:51 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 22:08:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e94f7e27

x11-misc/fireflies: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/4020

 .../fireflies/files/fireflies-2.06-Make.include.in.patch  | 15 ---------------
 x11-misc/fireflies/files/fireflies-2.06-configure.patch   | 14 --------------
 2 files changed, 29 deletions(-)

diff --git a/x11-misc/fireflies/files/fireflies-2.06-Make.include.in.patch b/x11-misc/fireflies/files/fireflies-2.06-Make.include.in.patch
deleted file mode 100644
index e7cb5ec5a7..0000000000
--- a/x11-misc/fireflies/files/fireflies-2.06-Make.include.in.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/Make.include.in	2003-04-17 06:02:52.000000000 +0100
-+++ b/Make.include.in	2003-11-18 18:36:36.000000000 +0000
-@@ -5,8 +5,9 @@
- GL_LIBS = @GL_LIBS@
- OPT_LIBS = @OPT_LIBS@
- 
--CFLAGS = -Wall -I../libgfx/include/ $(SDL_CFLAGS) @CFLAGS@
--LIBS = ../libgfx/src/libgfx.a $(GL_LIBS) $(SDL_LIBS) $(OPT_LIBS) @LIBS@
-+override CFLAGS += -Wall -I../libgfx/include/ $(SDL_CFLAGS)
-+override CXXFLAGS += -Wall -I../libgfx/include/ $(SDL_CFLAGS)
-+override LIBS += ../libgfx/src/libgfx.a $(GL_LIBS) $(SDL_LIBS) $(OPT_LIBS)
- 
- OBJECTS = arrow.o bait.o firefly.o scene.o tail.o utils.o modes.o @OPT_OBJS@
- PROGRAM = @PROGRAM@
-

diff --git a/x11-misc/fireflies/files/fireflies-2.06-configure.patch b/x11-misc/fireflies/files/fireflies-2.06-configure.patch
deleted file mode 100644
index 096b4018c3..0000000000
--- a/x11-misc/fireflies/files/fireflies-2.06-configure.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/configure	2003-06-21 17:04:21.000000000 +0100
-+++ b/configure	2003-11-18 09:43:21.000000000 +0000
-@@ -2889,8 +2889,8 @@
- #define HAVE_SDL 1
- _ACEOF
- 
--    SDL_LIBS="\`sdl-config --libs\`"
--    SDL_CFLAGS="\`sdl-config --cflags\`"
-+    SDL_LIBS="`sdl-config --libs`"
-+    SDL_CFLAGS="`sdl-config --cflags`"
-     OPT_OBJS="$OPT_OBJS canvas_sdl.o"
- fi
- 
-


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-misc/fireflies/files/
@ 2017-08-13 11:31 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2017-08-13 11:31 UTC (permalink / raw
  To: gentoo-commits

commit:     d85e3753726db7bda68c178af66b0e4f8d35593b
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu Aug 10 17:45:24 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Aug 13 11:29:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d85e3753

x11-misc/fireflies: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/5383

 .../files/fireflies-2.07-build_system.patch        | 85 ----------------------
 .../fireflies/files/fireflies-2.07-gcc43.patch     | 11 ---
 .../fireflies/files/fireflies-2.07-gcc44.patch     | 12 ---
 .../files/fireflies-2.07-libgfx-libpng15.patch     | 20 -----
 .../files/fireflies-2.07-libgfx-libpng16.patch     | 15 ----
 5 files changed, 143 deletions(-)

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
index 2097b881b74..00000000000
--- a/x11-misc/fireflies/files/fireflies-2.07-build_system.patch
+++ /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
index d6bad4d9dda..00000000000
--- a/x11-misc/fireflies/files/fireflies-2.07-gcc43.patch
+++ /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
index 612a25ec280..00000000000
--- a/x11-misc/fireflies/files/fireflies-2.07-gcc44.patch
+++ /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
index 23d471b8fd1..00000000000
--- a/x11-misc/fireflies/files/fireflies-2.07-libgfx-libpng15.patch
+++ /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
index b599cac4f80..00000000000
--- a/x11-misc/fireflies/files/fireflies-2.07-libgfx-libpng16.patch
+++ /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)
- {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-13 11:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-18 22:09 [gentoo-commits] repo/gentoo:master commit in: x11-misc/fireflies/files/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2017-08-13 11:31 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox