Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37434322
en ru br
ALT Linux repos
S:0.9.1-alt2_59jpp11

Group :: System/Libraries
RPM: sdljava

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: sdljava-0.9.1-ruby19.patch
Download


--- sdljava-0.9.1/src/org/gljava/opengl/native/ftgl/post-process.rb~	2005-02-20 23:19:13.000000000 +0100
+++ sdljava-0.9.1/src/org/gljava/opengl/native/ftgl/post-process.rb	2012-07-26 12:45:18.738168697 +0200
@@ -1,7 +1,7 @@
 #!/usr/bin/ruby -w
 
 require "find"
-require "ftools"
+require "fileutils"
 
 # temporary hack until I can figure out a better way to do this
 #    process the given files, change the methods names to start
@@ -101,16 +101,16 @@ Find.find(".") do |path|
 
   f = File.new("#{path}.tmp", "w+")
   
-  f << lines
+  f.puts(lines)
   
-  f << post if not post == nil
+  f.puts(post) if not post == nil
 
-  f << "\n}"
+  f.puts("\n}")
 
   f.close
 
   # move it to the actual file now
-  File.move("#{path}.tmp", path)
+  FileUtils.move("#{path}.tmp", path)
 end
 
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin