[gentoo-commits] repo/gentoo:master commit in: media-gfx/xfig/files/

2024-02-17 Thread David Seifert
commit: 0462d9b7b48ccdc169d09602107494dd0aceca18
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Feb 17 14:35:18 2024 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb 17 14:35:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0462d9b7

media-gfx/xfig: remove unused patches

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: David Seifert  gentoo.org>

 media-gfx/xfig/files/xfig-3.2.6a-urwfonts.patch| 79 --
 .../files/xfig-3.2.8b-Fix-build-with-flto.patch| 62 -
 .../xfig/files/xfig-3.2.8b-app-defaults.patch  | 14 
 3 files changed, 155 deletions(-)

diff --git a/media-gfx/xfig/files/xfig-3.2.6a-urwfonts.patch 
b/media-gfx/xfig/files/xfig-3.2.6a-urwfonts.patch
deleted file mode 100644
index 89957590af6d..
--- a/media-gfx/xfig/files/xfig-3.2.6a-urwfonts.patch
+++ /dev/null
@@ -1,79 +0,0 @@
 a/src/u_fonts.c2002-09-09 13:36:58.0 -0400
-+++ b/src/u_fonts.c2006-10-11 00:29:07.0 -0400
-@@ -22,41 +22,41 @@
- /* X11 font names */
- 
- struct _xfstruct x_fontinfo[NUM_FONTS] = {
--{"-*-times-medium-r-normal--", (struct xfont*) NULL},
--{"-*-times-medium-i-normal--", (struct xfont*) NULL},
--{"-*-times-bold-r-normal--", (struct xfont*) NULL},
--{"-*-times-bold-i-normal--", (struct xfont*) NULL},
--{"-*-avantgarde-book-r-normal--", (struct xfont*) NULL},
--{"-*-avantgarde-book-o-normal--", (struct xfont*) NULL},
--{"-*-avantgarde-demi-r-normal--", (struct xfont*) NULL},
--{"-*-avantgarde-demi-o-normal--", (struct xfont*) NULL},
--{"-*-bookman-light-r-normal--", (struct xfont*) NULL},
--{"-*-bookman-light-i-normal--", (struct xfont*) NULL},
--{"-*-bookman-demi-r-normal--", (struct xfont*) NULL},
--{"-*-bookman-demi-i-normal--", (struct xfont*) NULL},
--{"-*-courier-medium-r-normal--", (struct xfont*) NULL},
--{"-*-courier-medium-o-normal--", (struct xfont*) NULL},
--{"-*-courier-bold-r-normal--", (struct xfont*) NULL},
--{"-*-courier-bold-o-normal--", (struct xfont*) NULL},
--{"-*-helvetica-medium-r-normal--", (struct xfont*) NULL},
--{"-*-helvetica-medium-o-normal--", (struct xfont*) NULL},
--{"-*-helvetica-bold-r-normal--", (struct xfont*) NULL},
--{"-*-helvetica-bold-o-normal--", (struct xfont*) NULL},
--{"-*-helvetica-medium-r-narrow--", (struct xfont*) NULL},
--{"-*-helvetica-medium-o-narrow--", (struct xfont*) NULL},
--{"-*-helvetica-bold-r-narrow--", (struct xfont*) NULL},
--{"-*-helvetica-bold-o-narrow--", (struct xfont*) NULL},
--{"-*-new century schoolbook-medium-r-normal--", (struct xfont*) NULL},
--{"-*-new century schoolbook-medium-i-normal--", (struct xfont*) NULL},
--{"-*-new century schoolbook-bold-r-normal--", (struct xfont*) NULL},
--{"-*-new century schoolbook-bold-i-normal--", (struct xfont*) NULL},
--{"-*-palatino-medium-r-normal--", (struct xfont*) NULL},
--{"-*-palatino-medium-i-normal--", (struct xfont*) NULL},
--{"-*-palatino-bold-r-normal--", (struct xfont*) NULL},
--{"-*-palatino-bold-i-normal--", (struct xfont*) NULL},
--{"-*-symbol-medium-r-normal--", (struct xfont*) NULL},
--{"-*-itc zapf chancery-medium-i-normal--", (struct xfont*) NULL},
--{"-*-itc zapf dingbats-*-*-*--", (struct xfont*) NULL},
-+{"-urw-nimbus roman no9 l-medium-r-normal--", (struct xfont*) NULL},
-+{"-urw-nimbus roman no9 l-medium-i-normal--", (struct xfont*) NULL},
-+{"-urw-nimbus roman no9 l-bold-r-normal--", (struct xfont*) NULL},
-+{"-urw-nimbus roman no9 l-bold-i-normal--", (struct xfont*) NULL},
-+{"-urw-urw gothic l-medium-r-normal--", (struct xfont*) NULL},
-+{"-urw-urw gothic l-medium-o-normal--", (struct xfont*) NULL},
-+{"-urw-urw gothic l-semibold-r-normal--", (struct xfont*) NULL},
-+{"-urw-urw gothic l-semibold-o-normal--", (struct xfont*) NULL},
-+{"-urw-urw bookman l-medium-r-normal--", (struct xfont*) NULL},
-+{"-urw-urw bookman l-medium-i-normal--", (struct xfont*) NULL},
-+{"-urw-urw bookman l-bold-r-normal--", (struct xfont*) NULL},
-+{"-urw-urw bookman l-bold-i-normal--", (struct xfont*) NULL},
-+{"-urw-nimbus mono l-medium-r-normal--", (struct xfont*) NULL},
-+{"-urw-nimbus mono l-medium-o-normal--", (struct xfont*) NULL},
-+{"-urw-nimbus mono l-bold-r-normal--", (struct xfont*) NULL},
-+{"-urw-nimbus mono l-bold-o-normal--", (struct xfont*) NULL},
-+{"-urw-nimbus sans l-medium-r-normal--", (struct xfont*) NULL},
-+{"-urw-nimbus sans l-medium-i-normal--", (struct xfont*) NULL},
-+{"-urw-nimbus sans l-bold-r-normal--", (struct xfont*) NULL},
-+{"-urw-nimbus sans l-bold-i-normal--", (struct xfont*) NULL},
-+{"-urw-nimbus sans l-medium-r-condensed--", (struct xfont*) NULL},
-+{"-urw-nimbus sans l-medium-i-condensed--", (struct xfont*) NULL},
-+{"-urw-nimbus sans l-bold-r-condensed--", (struct 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/xfig/files/, media-gfx/xfig/

2023-10-15 Thread Hans de Graaff
commit: 086cdb657c4cc10d9006e6e0a52414993faa42d9
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Oct 15 08:45:42 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Oct 15 08:45:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=086cdb65

media-gfx/xfig: add 3.2.9

Signed-off-by: Hans de Graaff  gentoo.org>

 media-gfx/xfig/Manifest|  1 +
 media-gfx/xfig/files/xfig-3.2.9-app-defaults.patch | 12 +
 media-gfx/xfig/xfig-3.2.9.ebuild   | 51 ++
 3 files changed, 64 insertions(+)

diff --git a/media-gfx/xfig/Manifest b/media-gfx/xfig/Manifest
index eaa8f0ea2b77..eedea84da010 100644
--- a/media-gfx/xfig/Manifest
+++ b/media-gfx/xfig/Manifest
@@ -1 +1,2 @@
 DIST xfig-3.2.8b.tar.xz 5382524 BLAKE2B 
94963d165664c6451776fcbc3e332a7933c00d4b43e3d4196f15883a9873171f7a0791e6fa41cbb6e8d07958f9ddcceb9578a62a9893cf2f436c07dcbe3e7f37
 SHA512 
5cc5e61977f97956baca77bf4bce09d0f47ea6fafb10055d0523f7cccd72d7af80e706daa62ae16df3fc54338b4f6cd4a6b71dc460311e65be749ec84fa662b3
+DIST xfig-3.2.9.tar.xz 5368544 BLAKE2B 
6fd04d7238453d304a5e9624524f1e3674fe21ea3485d0925fa430a6312b61019a54397301cd7773565035cd3aee7fa130ed2459187241a778c0d44759c57d45
 SHA512 
c5e797b394740761a24e6e5e83d025dd78a11ad7d12662728c708218d7131d9077d9ed0c09023134ed9d709c58f52f5c9182e5b50e540b1876be4c359d79a60e

diff --git a/media-gfx/xfig/files/xfig-3.2.9-app-defaults.patch 
b/media-gfx/xfig/files/xfig-3.2.9-app-defaults.patch
new file mode 100644
index ..09c61453f679
--- /dev/null
+++ b/media-gfx/xfig/files/xfig-3.2.9-app-defaults.patch
@@ -0,0 +1,12 @@
+diff -ruN xfig-3.2.8b.orig/app-defaults/Fig xfig-3.2.6a/app-defaults/Fig
+--- xfig-3.2.8b.orig/app-defaults/Fig  2017-01-10 00:27:39.0 +0100
 xfig-3.2.8b/app-defaults/Fig   2017-03-24 16:22:14.702253419 +0100
+@@ -10,4 +10,8 @@
+ 
++! If the following resource is set to false, xfig will use metric units
++! by default.
++Fig.inches:   false
++
+ ! The following fixes a problem that some window managers have
+ ! with xfig continually resizing itself
+ 

diff --git a/media-gfx/xfig/xfig-3.2.9.ebuild b/media-gfx/xfig/xfig-3.2.9.ebuild
new file mode 100644
index ..c264b39dadc8
--- /dev/null
+++ b/media-gfx/xfig/xfig-3.2.9.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature xdg
+
+DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively 
in an X window"
+HOMEPAGE="https://mcj.sourceforge.net/;
+SRC_URI="https://downloads.sourceforge.net/project/mcj/${P}.tar.xz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+COMMON_DEPEND="
+   app-text/ghostscript-gpl:=
+   >=media-gfx/fig2dev-${PV}
+   media-libs/libjpeg-turbo:=
+   media-libs/libpng:=
+   media-libs/tiff:=
+   x11-libs/libX11
+   x11-libs/libXaw3d[unicode(+)]
+   x11-libs/libXpm
+   x11-libs/libXt
+"
+DEPEND="${COMMON_DEPEND}
+   x11-base/xorg-proto
+"
+RDEPEND="${COMMON_DEPEND}
+   media-fonts/font-misc-misc
+   media-fonts/urw-fonts
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-3.2.6a-solaris.patch"
+   "${FILESDIR}/${PN}-3.2.9-app-defaults.patch"
+)
+
+src_configure() {
+   local myeconfargs=(
+   --htmldir="${EPREFIX}/usr/share/doc/${PF}" # it expects 
docdir...
+   )
+   econf "${myeconfargs[@]}"
+}
+
+pkg_postinst() {
+   xdg_pkg_postinst
+
+   optfeature "GIF support" media-libs/netpbm virtual/imagemagick-tools
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/xfig/files/

2022-12-26 Thread Conrad Kostecki
commit: cb4f73246a68b3e2dc6fbd7ff9bb5d208f4eec5c
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Dec 26 08:31:03 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Dec 26 13:41:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb4f7324

media-gfx/xfig: remove unused patches

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/28813
Signed-off-by: Conrad Kostecki  gentoo.org>

 media-gfx/xfig/files/xfig-3.2.6a-app-defaults.patch | 14 --
 media-gfx/xfig/files/xfig-3.2.7b-ghostscript.patch  | 13 -
 2 files changed, 27 deletions(-)

diff --git a/media-gfx/xfig/files/xfig-3.2.6a-app-defaults.patch 
b/media-gfx/xfig/files/xfig-3.2.6a-app-defaults.patch
deleted file mode 100644
index 7d11b571df39..
--- a/media-gfx/xfig/files/xfig-3.2.6a-app-defaults.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -ruN xfig-3.2.6a.orig/app-defaults/Fig xfig-3.2.6a/app-defaults/Fig
 xfig-3.2.6a.orig/app-defaults/Fig  2017-01-10 00:27:39.0 +0100
-+++ xfig-3.2.6a/app-defaults/Fig   2017-03-24 16:22:14.702253419 +0100
-@@ -10,6 +10,10 @@
- 
- ! some sample settings you may want to change
- 
-+! If the following resource is set to false, xfig will use metric units
-+! by default.
-+Fig.inches:   false
-+
- ! The following fixes a problem that some window managers have
- ! with xfig continually resizing itself
- 

diff --git a/media-gfx/xfig/files/xfig-3.2.7b-ghostscript.patch 
b/media-gfx/xfig/files/xfig-3.2.7b-ghostscript.patch
deleted file mode 100644
index 07a7de141ec0..
--- a/media-gfx/xfig/files/xfig-3.2.7b-ghostscript.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/Makefile.in b/src/Makefile.in
-index 7426253..ae5b045 100644
 a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -1356,7 +1356,7 @@ splash.xpm: $(top_srcdir)/splash-image/spl_bckgnd.fig.in 
\
-   fig2dev -L xpm $(top_srcdir)/splash-image/spl_bckgnd.fig \
-   | sed '2 {s/static //; s/noname/spl_bckgnd_xpm/}' > $@
- 
--splash.xbm: $(top_srcdir)/splash-image/spl_bckgnd.fig $(top_srcdir)/version.m4
-+splash.xbm: $(top_srcdir)/splash-image/spl_bckgnd.fig.in 
$(top_srcdir)/version.m4
-   fig2dev -L xbm -S 4 $(top_srcdir)/splash-image/spl_bckgnd.fig \
-   | sed '1,3 s/noname/spl_bckgnd/; 3 s/char/unsigned &/' > $@
- 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/xfig/files/

2018-03-06 Thread Andreas Sturmlechner
commit: dee9fe14f47bcbd13804d8513132cd2299832443
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Tue Mar  6 19:24:53 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Mar  7 00:58:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dee9fe14

media-gfx/xfig: remove unused patch

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

 media-gfx/xfig/files/xfig-3.2.5c-png16.patch | 18 --
 1 file changed, 18 deletions(-)

diff --git a/media-gfx/xfig/files/xfig-3.2.5c-png16.patch 
b/media-gfx/xfig/files/xfig-3.2.5c-png16.patch
deleted file mode 100644
index f7a426295d3..000
--- a/media-gfx/xfig/files/xfig-3.2.5c-png16.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Source: https://bugzilla.redhat.com/show_bug.cgi?id=1150330
-
-From: David Kaufmann 
-Subject: Fix PNG reading
-
 a/f_readpng.c  2014-09-15 13:25:26.290813563 +0200
-+++ a/f_readpng.c  2014-09-15 14:04:10.241297027 +0200
-@@ -90,8 +90,8 @@
- png_get_IHDR(png_ptr, info_ptr, , , _depth, _type,
-   _type, _type, _type);
- 
--png_fixed_point gamma = 0.45;
--png_get_gAMA_fixed(png_ptr,info_ptr,);
-+double gamma = 0.45455;
-+png_get_gAMA(png_ptr,info_ptr,);
- png_set_gamma(png_ptr, 2.2, gamma);
- 
- if (png_get_valid(png_ptr,info_ptr,PNG_INFO_bKGD)) {



[gentoo-commits] repo/gentoo:master commit in: media-gfx/xfig/files/, media-gfx/xfig/

2017-03-24 Thread Andreas Hüttel
commit: 36808ffac39c0c2f370e00173d09f4c669bcb827
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Mar 24 14:31:41 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Fri Mar 24 14:32:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36808ffa

media-gfx/xfig: Add patch for libpng-1.6 support from RH

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 .../xfig/files/xfig-3.2.5b-app-defaults.patch  |   4 +-
 media-gfx/xfig/files/xfig-3.2.5b-mkstemp.patch |   4 +-
 media-gfx/xfig/files/xfig-3.2.5b-solaris.patch |   8 +-
 media-gfx/xfig/files/xfig-3.2.5b-urwfonts.patch|   4 +-
 media-gfx/xfig/files/xfig-3.2.5c-png16.patch   |  18 
 media-gfx/xfig/xfig-3.2.5c-r1.ebuild   | 111 +
 6 files changed, 139 insertions(+), 10 deletions(-)

diff --git a/media-gfx/xfig/files/xfig-3.2.5b-app-defaults.patch 
b/media-gfx/xfig/files/xfig-3.2.5b-app-defaults.patch
index d773da51b18..560ddef94eb 100644
--- a/media-gfx/xfig/files/xfig-3.2.5b-app-defaults.patch
+++ b/media-gfx/xfig/files/xfig-3.2.5b-app-defaults.patch
@@ -1,8 +1,8 @@
 Defaults for xfig. Idea from Roland Rosenfeld 
 
 diff -urNad xfig~/Fig.ad xfig/Fig.ad
 Fig.ad
-+++ Fig.ad
+--- a/Fig.ad
 b/Fig.ad
 @@ -10,13 +10,17 @@
  
  ! some sample settings you may want to change

diff --git a/media-gfx/xfig/files/xfig-3.2.5b-mkstemp.patch 
b/media-gfx/xfig/files/xfig-3.2.5b-mkstemp.patch
index c672a27554d..931ac94e58a 100644
--- a/media-gfx/xfig/files/xfig-3.2.5b-mkstemp.patch
+++ b/media-gfx/xfig/files/xfig-3.2.5b-mkstemp.patch
@@ -3,8 +3,8 @@ Missed hunk noticed 
https://bugzilla.redhat.com/show_bug.cgi?id=505257#c1 is rec
 http://bugs.gentoo.org/show_bug.cgi?id=264575
 
 === modified file 'u_print.c'
 u_print.c  2010-01-14 19:50:08 +
-+++ u_print.c  2010-01-14 19:54:14 +
+--- a/u_print.c2010-01-14 19:50:08 +
 b/u_print.c2010-01-14 19:54:14 +
 @@ -202,14 +202,22 @@
  char  tmp_fig_file[PATH_MAX];
  char *outfile, *name, *real_lang;

diff --git a/media-gfx/xfig/files/xfig-3.2.5b-solaris.patch 
b/media-gfx/xfig/files/xfig-3.2.5b-solaris.patch
index a295b5227f0..2e93a7faac2 100644
--- a/media-gfx/xfig/files/xfig-3.2.5b-solaris.patch
+++ b/media-gfx/xfig/files/xfig-3.2.5b-solaris.patch
@@ -1,7 +1,7 @@
 * workaround some missing things on Solaris
 
 u_quartic.c
-+++ u_quartic.c
+--- a/u_quartic.c
 b/u_quartic.c
 @@ -21,4 +21,7 @@
   #include 
   
@@ -10,8 +10,8 @@
 + #endif
   
   static int
 w_intersect.c
-+++ w_intersect.c
+--- a/w_intersect.c
 b/w_intersect.c
 @@ -31,6 +31,11 @@
  #define ISET_P1 (1 << 0)
  #define ISET_P2 (1 << 1)

diff --git a/media-gfx/xfig/files/xfig-3.2.5b-urwfonts.patch 
b/media-gfx/xfig/files/xfig-3.2.5b-urwfonts.patch
index 6a5c3dff949..87ac63f838f 100644
--- a/media-gfx/xfig/files/xfig-3.2.5b-urwfonts.patch
+++ b/media-gfx/xfig/files/xfig-3.2.5b-urwfonts.patch
@@ -1,5 +1,5 @@
 u_fonts.c  2002-09-09 13:36:58.0 -0400
-+++ u_fonts.c  2006-10-11 00:29:07.0 -0400
+--- a/u_fonts.c2002-09-09 13:36:58.0 -0400
 b/u_fonts.c2006-10-11 00:29:07.0 -0400
 @@ -22,41 +22,41 @@
  /* X11 font names */
  

diff --git a/media-gfx/xfig/files/xfig-3.2.5c-png16.patch 
b/media-gfx/xfig/files/xfig-3.2.5c-png16.patch
new file mode 100644
index 000..f7a426295d3
--- /dev/null
+++ b/media-gfx/xfig/files/xfig-3.2.5c-png16.patch
@@ -0,0 +1,18 @@
+Source: https://bugzilla.redhat.com/show_bug.cgi?id=1150330
+
+From: David Kaufmann 
+Subject: Fix PNG reading
+
+--- a/f_readpng.c  2014-09-15 13:25:26.290813563 +0200
 a/f_readpng.c  2014-09-15 14:04:10.241297027 +0200
+@@ -90,8 +90,8 @@
+ png_get_IHDR(png_ptr, info_ptr, , , _depth, _type,
+   _type, _type, _type);
+ 
+-png_fixed_point gamma = 0.45;
+-png_get_gAMA_fixed(png_ptr,info_ptr,);
++double gamma = 0.45455;
++png_get_gAMA(png_ptr,info_ptr,);
+ png_set_gamma(png_ptr, 2.2, gamma);
+ 
+ if (png_get_valid(png_ptr,info_ptr,PNG_INFO_bKGD)) {

diff --git a/media-gfx/xfig/xfig-3.2.5c-r1.ebuild 
b/media-gfx/xfig/xfig-3.2.5c-r1.ebuild
new file mode 100644
index 000..bbe838eccc2
--- /dev/null
+++ b/media-gfx/xfig/xfig-3.2.5c-r1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils multilib
+
+MY_P=${PN}.${PV}
+
+DESCRIPTION="A menu-driven tool to draw and manipulate objects interactively 
in an X window"
+HOMEPAGE="http://www.xfig.org;
+SRC_URI="mirror://sourceforge/mcj/${MY_P}.full.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="nls"
+
+RDEPEND="x11-libs/libXaw
+   x11-libs/libXp
+   x11-libs/libXaw3d
+   nls? ( 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/xfig/files/

2016-12-28 Thread Göktürk Yüksek
commit: 259f780a0cb56182531c874df7dac505b209cbd9
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Wed Dec 28 16:02:15 2016 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Wed Dec 28 16:47:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=259f780a

media-gfx/xfig: remove unused patches

 .../xfig/files/xfig-3.2.5b-CVE-2010-4262.patch |  22 --
 media-gfx/xfig/files/xfig-3.2.5b-darwin.patch  |  22 --
 media-gfx/xfig/files/xfig-3.2.5b-edit-menu.patch   | 332 -
 .../xfig/files/xfig-3.2.5b-figparserstack.patch|  61 
 .../xfig/files/xfig-3.2.5b-fix-eps-reading.patch   |  46 ---
 media-gfx/xfig/files/xfig-3.2.5b-libpng-1.5.patch  |  70 -
 media-gfx/xfig/files/xfig-3.2.5b-spelling.patch|  29 --
 .../xfig/files/xfig-3.2.5b-zoom-during-edit.patch  |  22 --
 8 files changed, 604 deletions(-)

diff --git a/media-gfx/xfig/files/xfig-3.2.5b-CVE-2010-4262.patch 
b/media-gfx/xfig/files/xfig-3.2.5b-CVE-2010-4262.patch
deleted file mode 100644
index eb85513..
--- a/media-gfx/xfig/files/xfig-3.2.5b-CVE-2010-4262.patch
+++ /dev/null
@@ -1,22 +0,0 @@
 w_msgpanel.c   
-+++ w_msgpanel.c 2010-12-03 14:21:07.931926127 +
-@@ -60,7 +60,7 @@ DeclareStaticArgs(12);
- /* for the popup message (file_msg) window */
- 
- static intfile_msg_length=0;
--static char   tmpstr[300];
-+static char   tmpstr[512];
- static Widget file_msg_panel,
-   file_msg_win, file_msg_dismiss;
- 
-@@ -582,8 +582,8 @@ file_msg(char *format,...)
- }
- 
- va_start(ap, format);
--/* format the string */
--vsprintf(tmpstr, format, ap);
-+/* format the string (but leave room for \n and \0) */
-+vsnprintf(tmpstr, sizeof(tmpstr)-2, format, ap);
- va_end(ap);
- 
- strcat(tmpstr,"\n");

diff --git a/media-gfx/xfig/files/xfig-3.2.5b-darwin.patch 
b/media-gfx/xfig/files/xfig-3.2.5b-darwin.patch
deleted file mode 100644
index 0c4fa29..
--- a/media-gfx/xfig/files/xfig-3.2.5b-darwin.patch
+++ /dev/null
@@ -1,22 +0,0 @@
 fig.h
-+++ fig.h
-@@ -374,7 +374,7 @@
- externlongrandom();
- externvoidsrandom(unsigned int);
- 
--#elif !defined(__osf__) && !defined(__CYGWIN__) && !defined(linux) && 
!defined(__FreeBSD__) && !defined(__GLIBC__)
-+#elif !defined(__osf__) && !defined(__CYGWIN__) && !defined(linux) && 
!defined(__FreeBSD__) && !defined(__DARWIN__) && !defined(__GLIBC__)
- externvoidsrandom(int);
- 
- #endif
 w_keyboard.c
-+++ w_keyboard.c
-@@ -41,7 +41,7 @@
- #define REG_NOERROR REG_OKAY
- #endif
- 
--#if defined(__FreeBSD__) && !defined(REG_NOERROR)
-+#if (defined(__FreeBSD__) || defined(__DARWIN__)) && !defined(REG_NOERROR)
- #define REG_NOERROR 0
- #endif
- 

diff --git a/media-gfx/xfig/files/xfig-3.2.5b-edit-menu.patch 
b/media-gfx/xfig/files/xfig-3.2.5b-edit-menu.patch
deleted file mode 100644
index ea396f1..
--- a/media-gfx/xfig/files/xfig-3.2.5b-edit-menu.patch
+++ /dev/null
@@ -1,332 +0,0 @@
-diff -Naur 
/var/tmp/portage/media-gfx/xfig-3.2.5b-r2/work/xfig.3.2.5b/Imakefile 
/root/xfig.3.2.5b/Imakefile
 /var/tmp/portage/media-gfx/xfig-3.2.5b-r2/work/xfig.3.2.5b/Imakefile   
2012-04-20 09:46:26.217957716 +0200
-+++ /root/xfig.3.2.5b/Imakefile2012-04-20 09:16:28.744362135 +0200
-@@ -251,7 +251,7 @@
- #endif /* USEJPEG */
- 
- #ifdef I18N
--I18N_DEFS = -DI18N -DSETLOCALE
-+I18N_DEFS = -DI18N -DSETLOCALE -DXAW_INTERNATIONALIZATION
- I18N_SRC = w_i18n.c
- I18N_OBJ = w_i18n.o
- #endif
-diff -Naur /var/tmp/portage/media-gfx/xfig-3.2.5b-r2/work/xfig.3.2.5b/e_edit.c 
/root/xfig.3.2.5b/e_edit.c
 /var/tmp/portage/media-gfx/xfig-3.2.5b-r2/work/xfig.3.2.5b/e_edit.c
2007-04-04 18:18:32.0 +0200
-+++ /root/xfig.3.2.5b/e_edit.c 2012-04-20 10:02:04.209542848 +0200
-@@ -3211,7 +3211,7 @@
-   XtAddCallback(but1, XtNcallback,
-   (XtCallbackProc) grab_button, (XtPointer) NULL);
- 
--  if ( cur_image_editor != NULL && *cur_image_editor != (char) NULL) {
-+  if ( cur_image_editor != NULL && *cur_image_editor != '\0' ) {
-   FirstArg(XtNlabel,"Edit Image");
-   NextArg(XtNfromHoriz, but1);
-   NextArg(XtNfromVert, label);
-@@ -3501,7 +3501,7 @@
- {
- Widget  but_spline[3];
- Dimension label_height, label_width;
--int   i, dist;
-+int i, dist;
- 
- static char use_item[]="Edit the behavior\nof the control point";
- 
-@@ -3598,7 +3598,7 @@
-   below = but_spline[i] = XtCreateManagedWidget(sfactor_type[i].label,
-  commandWidgetClass, form, Args, ArgCount);
-   XtAddCallback(but_spline[i], XtNcallback,
--(XtCallbackProc) toggle_sfactor_type, (XtPointer) i);
-+(XtCallbackProc) toggle_sfactor_type, (XtPointer) 
(intptr_t) i);
-   XtSetArg(Args[0], XtNfromVert, below);/* here are the direct */
-