procmail/reproducible2.patch

24 lines
698 B
Diff

Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: 2020-11-26
always set setrgid_RUNTIME_CHECK
without this patch, builds with preinstallimage did not have this flag
but builds without preinstallimage did have setrgid_RUNTIME_CHECK defined
causing problems for verification of binaries
diff --git a/src/autoconf b/src/autoconf
index b0fef8a..f2f8351 100755
--- a/src/autoconf
+++ b/src/autoconf
@@ -1302,8 +1302,7 @@ int main(argc,argv)int argc;const char*argv[];
if(!setrgid(groups[i])&&getgid()!=groups[i])
puts("#define setrgid_BRAIN_DAMAGE");
}
- else
- puts("#define setrgid_RUNTIME_CHECK");
+ puts("#define setrgid_RUNTIME_CHECK");
}
#endif
skipsetrgid:;