summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-09-27 11:19:24 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-10-20 18:22:47 +0200
commitcc6be9c3577168805ec34b2d396e63361012282b (patch)
tree7dc794b08a1a6a786d540516c623cb1eebfb1863 /toolbin/headercompile.pl
parentImport Ghostscript 9.54 (diff)
downloadghostscript-gpl-patches-cc6be9c3577168805ec34b2d396e63361012282b.tar.gz
ghostscript-gpl-patches-cc6be9c3577168805ec34b2d396e63361012282b.tar.bz2
ghostscript-gpl-patches-cc6be9c3577168805ec34b2d396e63361012282b.zip
Import Ghostscript 9.55ghostscript-9.55
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'toolbin/headercompile.pl')
-rwxr-xr-xtoolbin/headercompile.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/toolbin/headercompile.pl b/toolbin/headercompile.pl
index 2b3a95b3..2b9c3220 100755
--- a/toolbin/headercompile.pl
+++ b/toolbin/headercompile.pl
@@ -99,7 +99,7 @@ sub pcompare($$)
return $v;
}
-# main: Work starts here
+# main: Work starts here
readdeps("base");
readdeps("psi");
@@ -267,7 +267,7 @@ for (my $ui=$mx-1; $ui >= 0; $ui--) {
if (!exists $dirs{$f}) {
next;
}
-
+
$h = $dirs{$f}."/".$f;
my $ret = system("cc -DHAVE_INTTYPES_H -Ibase -Ipsi -Ilcms2mt -Ilcms2 -Iopenjpeg/src/lib/openjp2 -Ijpeg -Ijbig2dec -Iobj -o tmp.o $h > tmp.err 2>&1");
@@ -385,9 +385,9 @@ sub rewrite_make($)
open(F, "$f") || die "WTF?";
while (<F>) {
$_ =~ s/[\r\n]*$//;
- if ($_ =~ m/^\# Dependencies:/) {
- last;
- }
+ if ($_ =~ m/^\# Dependencies:/) {
+ last;
+ }
if ($_ =~ m/^([a-z0-9_\-]+_h)=/) {
my $f = $1;
# Gather up the line, allowing for continuations
@@ -406,7 +406,7 @@ sub rewrite_make($)
}
$_ = $block;
}
-
+
my $makefile = 0;
if ($_ =~ m/\$\(MAKEFILE\)/) {
$makefile = 1;