freebsd-ports/print/ghostscript9-agpl/files/patch-lips:gdevlips.h
Hiroki Sato ed102396a2 Add print/ghostscript9-agpl{,-nox11}. Ghostscript 9.x has released under
GNU Affero GPL version 3 since 9.07 while print/ghostscript9 (version 9.06)
was under GNU GPL version 3.  The difference between the two licenses is
whether SaaS loophole is closed or not.  For more detail, see
http://www.gnu.org/licenses/why-affero-gpl.html.
2013-04-28 16:59:29 +00:00

17 lines
589 B
C

--- contrib/lips4/gdevlips.h.orig Thu Nov 2 12:09:18 2000
+++ contrib/lips4/gdevlips.h Tue Jan 13 01:23:47 2004
@@ -188,6 +188,14 @@
bool faceup;\
char mediaType[LIPS_MEDIACHAR_MAX];
+/* added by shige 11/06 2003 */
+#define USE_LIPS_SIZE_ERROR
+#define LIPS_SIZE_ERROR_VALUE 2
+
+/* added by shige 11/09 2003 */
+#define LIPS_HEIGHT_MAX_720 11906
+#define LIPS_WIDTH_MAX_720 8419
+
int lips_media_selection(int width, int height);
int lips_packbits_encode(byte * inBuff, byte * outBuff, int Length);
int lips_mode3format_encode(byte * inBuff, byte * outBuff, int Length);