freebsd-ports/graphics/jbig2dec/files/patch-jbig2dec.c
Sunpoet Po-Chuan Hsieh 76bfabb776 - Update to 0.12
- Add LICENSE_FILE
- Convert to new options helper
- Convert to new options target helper
- Convert to new test framework
- Remove EXTRACT_AFTER_ARGS
- Sort USES
- Use USES=shebangfix
- Repack test tarball
- Cosmetic change
- Split and rename patch files
- Regenerate patch files with makepatch:
- Update WWW
- Add git repository to WWW
- Take maintainership

Changes:	http://git.ghostscript.com/?p=jbig2dec.git;a=blob;f=CHANGES;hb=HEAD
2015-12-04 12:32:58 +00:00

14 lines
259 B
C

--- jbig2dec.c.orig 2014-10-31 13:30:04 UTC
+++ jbig2dec.c
@@ -41,7 +41,10 @@
#endif
#include "os_types.h"
-#include "sha1.h"
+#include <sha.h>
+#ifndef SHA1_DIGEST_SIZE
+# define SHA1_DIGEST_SIZE 20
+#endif
#include "jbig2.h"
#include "jbig2_priv.h"