Skip to content

Commit

Permalink
fig2dev: Update to 3.2.8b.
Browse files Browse the repository at this point in the history
Patchlevel 8b (Aug 2021)

NEW FEATURES:
	o Detect the output language from the output file name.
	o On the command line, a minus (-) as input or output file name refers
	  to standard input or standard output.

BUGS FIXED:
	Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#.
	o Correct buffer overflows and segfaults, mainly due to maliciously
	  crafted input files, tickets #113-117, #122, #123, #125-#135.
	o With -Lepic -P, generate a complete tex file.
	o Correctly produce a gif if a transparent color is given, ticket #121.
	o Return with error if no space is left on the device. Ticket #101.
  • Loading branch information
fcambus committed Dec 7, 2022
1 parent b2eaa5b commit a3d5291
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 6 deletions.
4 changes: 2 additions & 2 deletions print/fig2dev/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.9 2022/08/09 12:08:31 jperkin Exp $
# $NetBSD: Makefile,v 1.10 2022/12/07 15:30:09 fcambus Exp $

DISTNAME= fig2dev-3.2.8a
DISTNAME= fig2dev-3.2.8b
CATEGORIES= graphics print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mcj/}
EXTRACT_SUFX= .tar.xz
Expand Down
11 changes: 7 additions & 4 deletions print/fig2dev/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
$NetBSD: distinfo,v 1.9 2021/10/26 11:12:05 nia Exp $
$NetBSD: distinfo,v 1.10 2022/12/07 15:30:09 fcambus Exp $

BLAKE2s (fig2dev-3.2.8a.tar.xz) = 1965a3c8b2a463c199b22aa8ff8d1789da3398c704c05b3234c6dd4293e18faf
SHA512 (fig2dev-3.2.8a.tar.xz) = b205a820743d38405d1348ccb926650e8279a3adad8b5e3ec262cbbfa570f9ff39ba366138256a6c494e5a6df66ca6ae1e59ac9c4ca37b354da6226c5ae700e8
Size (fig2dev-3.2.8a.tar.xz) = 520000 bytes
BLAKE2s (fig2dev-3.2.8b.tar.xz) = 9428f1a543f9d61ac2a14dfd60b02aeff77fa6e860ae9c8a37c52a0f9db73baa
SHA512 (fig2dev-3.2.8b.tar.xz) = b1f083db6c38d84e1df82c430fabda5ad13413e4d42eb20b6fd06fae5626911413c93846b7935873687b82f601e0674c3f3e1d36441dcfa1da6626bafc9d2139
Size (fig2dev-3.2.8b.tar.xz) = 522756 bytes
SHA1 (patch-fig2dev_dev_genbitmaps.c) = 638c1a858a53b7d0eca756de46c7525716ad3d06
SHA1 (patch-fig2dev_dev_readeps.c) = 082b477ac3e47ad5541f4df20f4dfacf161a2939
SHA1 (patch-fig2dev_dev_readpics.c) = a12e16eb94f395e9941de2aa256ef4c49d9a06cc
SHA1 (patch-fig2dev_tests_atlocal.in) = a4440e467472ba02b8a67cab0287f5859a5eb631
14 changes: 14 additions & 0 deletions print/fig2dev/patches/patch-fig2dev_dev_genbitmaps.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$NetBSD: patch-fig2dev_dev_genbitmaps.c,v 1.1 2022/12/07 15:30:09 fcambus Exp $

Fix undefined references to `WIFEXITED' and `WEXITSTATUS'.

--- fig2dev/dev/genbitmaps.c.orig 2022-12-07 15:02:13.774357198 +0000
+++ fig2dev/dev/genbitmaps.c
@@ -36,6 +36,7 @@
#include <stdlib.h>
#include <string.h>
#include <signal.h>
+#include <sys/wait.h>

#include "bool.h"
#include "fig2dev.h" /* includes bool.h and object.h */
14 changes: 14 additions & 0 deletions print/fig2dev/patches/patch-fig2dev_dev_readeps.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$NetBSD: patch-fig2dev_dev_readeps.c,v 1.1 2022/12/07 15:30:09 fcambus Exp $

Fix undefined references to `WIFEXITED' and `WEXITSTATUS'.

--- fig2dev/dev/readeps.c.orig 2022-12-07 15:02:30.866814168 +0000
+++ fig2dev/dev/readeps.c
@@ -29,6 +29,7 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
+#include <sys/wait.h>

#include "fig2dev.h" /* includes bool.h and object.h */
//#include "object.h"
14 changes: 14 additions & 0 deletions print/fig2dev/patches/patch-fig2dev_dev_readpics.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$NetBSD: patch-fig2dev_dev_readpics.c,v 1.1 2022/12/07 15:30:09 fcambus Exp $

Fix undefined references to `WIFEXITED' and `WEXITSTATUS'.

--- fig2dev/dev/readpics.c.orig 2022-12-07 15:02:25.050115348 +0000
+++ fig2dev/dev/readpics.c
@@ -31,6 +31,7 @@
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
+#include <sys/wait.h>

#include "messages.h"
#include "xtmpfile.h"

0 comments on commit a3d5291

Please sign in to comment.