File reproducible.patch of Package triplane

https://github.com/vranki/triplane/pull/5

commit b3358a39b9bca60211ea770085736f78fb3e1377
Author: Bernhard M. Wiedemann <bwiedemann@suse.de>
Date:   Sun Sep 25 10:51:02 2022 +0200

    Initialize the whole buffer
    
    without this patch, the fokker.dks file produced by dksbuild
    varied in byte 17 depending on the type of emulated VM CPU.
    
    This patch was done while working on reproducible builds for openSUSE.

diff --git a/src/tools/dksbuild/dksbuild.cc b/src/tools/dksbuild/dksbuild.cc
index 8537704..ab06567 100644
--- a/src/tools/dksbuild/dksbuild.cc
+++ b/src/tools/dksbuild/dksbuild.cc
@@ -130,6 +130,7 @@ int main(int argc,char **argv)
     exit(1);
   }
  
+  memset(tekstia+16, 0, sizeof(tekstia)-16);
   strcpy(tekstia,"DKS Datafile\n\032\n"); 
 
   printf("\nReading file %s\n",argv[1]);
openSUSE Build Service is sponsored by