summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-03-24 18:09:42 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-03-24 18:10:15 +0100
commitafc2bca12fe01504943f1587cd30a34911e266b8 (patch)
tree46ef746bb842e8bf3bdab2aac214d725875f2ba6 /media-gfx/xfig/files
parentnet-analyzer/netdata: version bump 1.6.0 (diff)
downloadgentoo-afc2bca12fe01504943f1587cd30a34911e266b8.tar.gz
gentoo-afc2bca12fe01504943f1587cd30a34911e266b8.tar.bz2
gentoo-afc2bca12fe01504943f1587cd30a34911e266b8.zip
media-gfx/xfig: Version bump
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'media-gfx/xfig/files')
-rw-r--r--media-gfx/xfig/files/xfig-3.2.6a-app-defaults.patch14
-rw-r--r--media-gfx/xfig/files/xfig-3.2.6a-solaris.patch26
-rw-r--r--media-gfx/xfig/files/xfig-3.2.6a-urwfonts.patch79
3 files changed, 119 insertions, 0 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
new file mode 100644
index 000000000000..7d11b571df39
--- /dev/null
+++ b/media-gfx/xfig/files/xfig-3.2.6a-app-defaults.patch
@@ -0,0 +1,14 @@
+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.000000000 +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.6a-solaris.patch b/media-gfx/xfig/files/xfig-3.2.6a-solaris.patch
new file mode 100644
index 000000000000..5c6cd023fe6f
--- /dev/null
+++ b/media-gfx/xfig/files/xfig-3.2.6a-solaris.patch
@@ -0,0 +1,26 @@
+* workaround some missing things on Solaris
+
+--- a/src/u_quartic.c
++++ b/src/u_quartic.c
+@@ -21,4 +21,7 @@
+ #include <math.h>
+
++ #ifndef M_PI
++ # define M_PI 3.14159265358979323846
++ #endif
+
+ static int
+--- a/src/w_intersect.c
++++ b/src/w_intersect.c
+@@ -31,6 +31,11 @@
+ #define ISET_P1 (1 << 0)
+ #define ISET_P2 (1 << 1)
+
++#if defined (__SVR4) && defined (__sun)
++#undef _Complex_I
++#define _Complex_I (__extension__ 1.0fi)
++#endif
++
+ intersect_state_e intersect_state = INTERSECT_INITIAL;
+
+ static INLINE Boolean
diff --git a/media-gfx/xfig/files/xfig-3.2.6a-urwfonts.patch b/media-gfx/xfig/files/xfig-3.2.6a-urwfonts.patch
new file mode 100644
index 000000000000..89957590af6d
--- /dev/null
+++ b/media-gfx/xfig/files/xfig-3.2.6a-urwfonts.patch
@@ -0,0 +1,79 @@
+--- a/src/u_fonts.c 2002-09-09 13:36:58.000000000 -0400
++++ b/src/u_fonts.c 2006-10-11 00:29:07.000000000 -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 xfont*) NULL},
++ {"-urw-nimbus sans l-bold-i-condensed--", (struct xfont*) NULL},
++ {"-urw-century schoolbook l-medium-r-normal--", (struct xfont*) NULL},
++ {"-urw-century schoolbook l-medium-i-normal--", (struct xfont*) NULL},
++ {"-urw-century schoolbook l-bold-r-normal--", (struct xfont*) NULL},
++ {"-urw-century schoolbook l-bold-i-normal--", (struct xfont*) NULL},
++ {"-urw-urw palladio l-medium-r-normal--", (struct xfont*) NULL},
++ {"-urw-urw palladio l-medium-i-normal--", (struct xfont*) NULL},
++ {"-urw-urw palladio l-bold-r-normal--", (struct xfont*) NULL},
++ {"-urw-urw palladio l-bold-i-normal--", (struct xfont*) NULL},
++ {"-urw-standard symbols l-medium-r-normal--", (struct xfont*) NULL},
++ {"-urw-urw chancery l-medium-i-normal--", (struct xfont*) NULL},
++ {"-urw-dingbats-medium-r-normal--", (struct xfont*) NULL},
+ };
+
+ /* Use the following font names for any font that doesn't exist in the table above.