Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/fireflies/files/
Date: Sun, 13 Aug 2017 11:31:52
Message-Id: 1502623749.d85e3753726db7bda68c178af66b0e4f8d35593b.soap@gentoo
1 commit: d85e3753726db7bda68c178af66b0e4f8d35593b
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Thu Aug 10 17:45:24 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 13 11:29:09 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d85e3753
7
8 x11-misc/fireflies: remove unused patches
9
10 Closes: https://github.com/gentoo/gentoo/pull/5383
11
12 .../files/fireflies-2.07-build_system.patch | 85 ----------------------
13 .../fireflies/files/fireflies-2.07-gcc43.patch | 11 ---
14 .../fireflies/files/fireflies-2.07-gcc44.patch | 12 ---
15 .../files/fireflies-2.07-libgfx-libpng15.patch | 20 -----
16 .../files/fireflies-2.07-libgfx-libpng16.patch | 15 ----
17 5 files changed, 143 deletions(-)
18
19 diff --git a/x11-misc/fireflies/files/fireflies-2.07-build_system.patch b/x11-misc/fireflies/files/fireflies-2.07-build_system.patch
20 deleted file mode 100644
21 index 2097b881b74..00000000000
22 --- a/x11-misc/fireflies/files/fireflies-2.07-build_system.patch
23 +++ /dev/null
24 @@ -1,85 +0,0 @@
25 -Multiple QA issues:
26 -* Respect CXXFLAGS,LDFLAGS
27 -* fix parallel build
28 -* configure recursively
29 -* don't strip binaries
30 -* don't unpack libgfx during make
31 -
32 -http://bugs.gentoo.org/show_bug.cgi?id=336814
33 -
34 ---- configure.ac
35 -+++ configure.ac
36 -@@ -2,6 +2,7 @@
37 - AC_INIT(fireflies, 2.07, guy@××××××××××××××××.org)
38 - AC_CONFIG_SRCDIR([src/arrow.cc])
39 - AC_CONFIG_HEADER([config.h])
40 -+AC_CONFIG_SUBDIRS([libgfx])
41 -
42 - sys=`uname`
43 -
44 ---- Makefile
45 -+++ Makefile
46 -@@ -21,18 +21,17 @@
47 - win32/
48 -
49 - all: libgfx/src/libgfx.a
50 -- cd src && make
51 -+ $(MAKE) -C src
52 -
53 - libgfx/src/libgfx.a:
54 -- gunzip -c libgfx-1.0.1.tar.gz | tar x
55 -- cd libgfx && ./configure && cd src && make
56 -+ $(MAKE) -C libgfx/src
57 -
58 - install: all
59 - sh ./installit $(DESTDIR)
60 -
61 - clean:
62 -- make -C src clean
63 -- make -C win32 clean
64 -+ $(MAKE) -C src clean
65 -+ $(MAKE) -C win32 clean
66 -
67 - dist:
68 - rm -rf fireflies-$(VERSION)
69 -@@ -42,7 +41,7 @@
70 -
71 - # need Make.include temporarily to run make
72 - cp Make.include fireflies-$(VERSION)
73 -- make -C fireflies-$(VERSION) clean
74 -+ $(MAKE) -C fireflies-$(VERSION) clean
75 - rm -f fireflies-$(VERSION)/Make.include
76 -
77 - # don't want to include debian's buildroot
78 ---- src/Makefile
79 -+++ src/Makefile
80 -@@ -8,8 +8,7 @@
81 - all: $(PROGRAM)
82 -
83 - $(PROGRAM): $(OBJECTS)
84 -- $(CXX) -o $(PROGRAM) $(OBJECTS) $(LIBS)
85 -- strip $(PROGRAM)
86 -+ $(CXX) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(LIBS)
87 -
88 - $(OBJECTS): $(HEADERS)
89 -
90 -@@ -17,7 +16,7 @@
91 - .SUFFIXES: .cc .rc .o
92 -
93 - .cc.o:
94 -- $(CXX) -c $(CFLAGS) -o $@ $<
95 -+ $(CXX) -c $(CXXFLAGS) -o $@ $<
96 -
97 - #$(HEADERS_GCH): %.h.gch: %.h
98 - # $(CXX) -c -x c++-header $(CFLAGS) -o $@ $<
99 ---- Make.include.in
100 -+++ Make.include.in
101 -@@ -5,7 +5,7 @@
102 - GL_LIBS = @GL_LIBS@
103 - OPT_LIBS = @OPT_LIBS@
104 -
105 --CFLAGS = -Wall -I../libgfx/include/ $(SDL_CFLAGS) @CFLAGS@
106 -+CXXFLAGS = -Wall -I../libgfx/include/ $(SDL_CFLAGS) @CXXFLAGS@
107 - LIBS = ../libgfx/src/libgfx.a $(GL_LIBS) $(SDL_LIBS) $(OPT_LIBS) @LIBS@
108 -
109 - OBJECTS = arrow.o bait.o firefly.o scene.o tail.o utils.o modes.o @OPT_OBJS@
110
111 diff --git a/x11-misc/fireflies/files/fireflies-2.07-gcc43.patch b/x11-misc/fireflies/files/fireflies-2.07-gcc43.patch
112 deleted file mode 100644
113 index d6bad4d9dda..00000000000
114 --- a/x11-misc/fireflies/files/fireflies-2.07-gcc43.patch
115 +++ /dev/null
116 @@ -1,11 +0,0 @@
117 ---- fireflies-2.07/libgfx/src/raster.cxx.old 2008-07-29 17:53:35.000000000 -0500
118 -+++ fireflies-2.07/libgfx/src/raster.cxx 2008-07-29 17:53:51.000000000 -0500
119 -@@ -9,7 +9,7 @@
120 - #include <gfx/gfx.h>
121 - #include <gfx/raster.h>
122 -
123 --#include <string>
124 -+#include <cstring>
125 - #include <cctype>
126 -
127 - ByteRaster::ByteRaster(const ByteRaster &img)
128
129 diff --git a/x11-misc/fireflies/files/fireflies-2.07-gcc44.patch b/x11-misc/fireflies/files/fireflies-2.07-gcc44.patch
130 deleted file mode 100644
131 index 612a25ec280..00000000000
132 --- a/x11-misc/fireflies/files/fireflies-2.07-gcc44.patch
133 +++ /dev/null
134 @@ -1,12 +0,0 @@
135 -diff -ur fireflies-2.07.orig/src/vroot.h fireflies-2.07/src/vroot.h
136 ---- fireflies-2.07.orig/src/vroot.h 2005-12-09 05:07:30.000000000 +0200
137 -+++ fireflies-2.07/src/vroot.h 2009-08-09 21:18:40.000000000 +0300
138 -@@ -78,6 +78,8 @@
139 - "#Id: vroot.h,v 1.4 1991/09/30 19:23:16 stolcke Exp stolcke #";
140 - #endif
141 -
142 -+#include <stdio.h>
143 -+
144 - #include <X11/X.h>
145 - #include <X11/Xatom.h>
146 - #include <X11/Xlib.h>
147
148 diff --git a/x11-misc/fireflies/files/fireflies-2.07-libgfx-libpng15.patch b/x11-misc/fireflies/files/fireflies-2.07-libgfx-libpng15.patch
149 deleted file mode 100644
150 index 23d471b8fd1..00000000000
151 --- a/x11-misc/fireflies/files/fireflies-2.07-libgfx-libpng15.patch
152 +++ /dev/null
153 @@ -1,20 +0,0 @@
154 ---- libgfx/src/raster-png.cxx
155 -+++ libgfx/src/raster-png.cxx
156 -@@ -39,7 +39,7 @@
157 - // Because we didn't set up any error handlers, we need to be
158 - // prepared to handle longjmps out of the library on error
159 - // conditions.
160 -- if( setjmp(png_ptr->jmpbuf) )
161 -+ if( setjmp(png_jmpbuf(png_ptr)) )
162 - {
163 - png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
164 - fclose(fp);
165 -@@ -129,7 +129,7 @@
166 - return false;
167 - }
168 -
169 -- if( setjmp(png_ptr->jmpbuf) )
170 -+ if( setjmp(png_jmpbuf(png_ptr)) )
171 - {
172 - fclose(fp);
173 - png_destroy_write_struct(&png_ptr, (png_infopp)NULL);
174
175 diff --git a/x11-misc/fireflies/files/fireflies-2.07-libgfx-libpng16.patch b/x11-misc/fireflies/files/fireflies-2.07-libgfx-libpng16.patch
176 deleted file mode 100644
177 index b599cac4f80..00000000000
178 --- a/x11-misc/fireflies/files/fireflies-2.07-libgfx-libpng16.patch
179 +++ /dev/null
180 @@ -1,15 +0,0 @@
181 -raster-png.cxx: In function ‘ByteRaster* read_png_image(const char*)’:
182 -raster-png.cxx:104:47: error: ‘memcpy’ was not declared in this scope
183 - memcpy(pixel, row_pointers[row], nbytes);
184 - ^
185 -
186 ---- libgfx/src/raster-png.cxx
187 -+++ libgfx/src/raster-png.cxx
188 -@@ -16,6 +16,7 @@
189 - #ifdef HAVE_LIBPNG
190 -
191 - #include <png.h>
192 -+#include <string.h> /* memcpy() */
193 -
194 - ByteRaster *read_png_image(const char *file_name)
195 - {