shithub: jbig2

Download patch

ref: f80c59f558ed476a6e6c37c5ca7b95a135b64bcf
parent: b7ea9085507dcf31450067a869dc8788be00f8b8
author: Sebastian Rasmussen <[email protected]>
date: Sun Sep 29 08:09:22 EDT 2019

jbig2dec: Remove trailing whitespace.

--- a/CHANGES
+++ b/CHANGES
@@ -79,7 +79,7 @@
  * successfully decodes ubc test streams 042_21, 042_22 and 042_23
  * generic region template 3 handling with arbitrary AT locations
  * successfully decodes ubc test streams 042_6 and 042_7
- 
+
 Version 0.6 (2003 December 31)
 
  * minor portability fix for cygwin
@@ -94,7 +94,7 @@
 
 Version 0.4 (released 2003 August 1)
 
- * redid license header to simplify relabelling for commercial 
+ * redid license header to simplify relabelling for commercial
    distribution, borrowing from Ghostscript.
 
 Version 0.3 (released 2003 May 20)
--- a/autogen.sh
+++ b/autogen.sh
@@ -96,7 +96,7 @@
   AM_NEEDED=`fgrep AUTOMAKE_OPTIONS Makefile.am | $VERSIONGREP`
   AM_MAJOR_REQ=`echo $AM_NEEDED |cut -d. -f1`
   AM_MINOR_REQ=`echo $AM_NEEDED |cut -d. -f2`
-  
+
   echo "checking for automake $AM_NEEDED or later..."
 
   if [ $AM_MAJ -lt $AM_MAJOR_REQ -o $AM_MIN -lt $AM_MINOR_REQ ] ; then
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -32,7 +32,7 @@
 
 # Checks for libraries.
 dnl by default we want png support if possible
-AC_ARG_WITH([libpng], 
+AC_ARG_WITH([libpng],
   AC_HELP_STRING([--with-libpng[=prefix]],
     [include support for png output (if libpng is available)]),
   [ac_cv_want_libpng="$withval"], [ac_cv_want_libpng="yes"])
@@ -68,9 +68,9 @@
 AC_CHECK_HEADERS([libintl.h stddef.h unistd.h strings.h])
 
 dnl We assume the fixed-size types from stdint.h. If that header is
-dnl not available, look for the same types in a few other headers. 
+dnl not available, look for the same types in a few other headers.
 dnl We also attempt to define them ourselves, but only use those if
-dnl the native versions aren't available. The substitutions happen 
+dnl the native versions aren't available. The substitutions happen
 dnl in a file config_types.h, whose template is created by autogen.sh
 
 stdint_types_in="no_replacement_found"
@@ -113,7 +113,7 @@
   elif test "x$stdint_types_discovered" = "xno"; then
     AC_MSG_ERROR([
 Unable to find suitable definitions of the stdint.h types (uint32_t and friends)
-You will have to define these yourself in a separate header. 
+You will have to define these yourself in a separate header.
 See config_win32.h for an example.
     ])
   fi
@@ -136,7 +136,7 @@
 AC_CHECK_FUNCS([memset strdup])
 
 dnl use our included getopt if the system doesn't have getopt_long()
-AC_CHECK_FUNC(getopt_long, 
+AC_CHECK_FUNC(getopt_long,
 	AC_DEFINE(HAVE_GETOPT_LONG,,
 	  [Define if the local libc includes getopt_long()]
 	),[
--- a/msvc.mak
+++ b/msvc.mak
@@ -33,7 +33,7 @@
 EXE=.exe
 OBJ=.obj
 NUL=
-CFLAGS=-nologo -W4 -Zi -DHAVE_STRING_H=1 -D_CRT_SECURE_NO_WARNINGS $(LIBPNG_CFLAGS) 
+CFLAGS=-nologo -W4 -Zi -DHAVE_STRING_H=1 -D_CRT_SECURE_NO_WARNINGS $(LIBPNG_CFLAGS)
 CC=cl
 FE=-Fe
 
@@ -55,7 +55,7 @@
 all: jbig2dec$(EXE)
 
 jbig2dec$(EXE): $(OBJS)
-	$(CC) $(CFLAGS) $(FE)jbig2dec$(EXE) $(OBJS) $(LIBPNG_LDFLAGS) 
+	$(CC) $(CFLAGS) $(FE)jbig2dec$(EXE) $(OBJS) $(LIBPNG_LDFLAGS)
 
 getopt$(OBJ): getopt.c getopt.h
 	$(CC) $(CFLAGS) -c getopt.c