Browse Source

fix C++ typechecking

Michael van Elst 23 years ago
parent
commit
b7170d8824
1 changed files with 4 additions and 1 deletions
  1. 4 1
      xplanet/xplanet.spec

+ 4 - 1
xplanet/xplanet.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
 Group:        XWindow
 License:      GPL
 Version:      0.94
-Release:      20030708
+Release:      20030715
 
 #   list of sources
 Source0:      http://osdn.dl.sourceforge.net/sourceforge/xplanet/xplanet-nomap-%{version}.tar.gz
@@ -62,6 +62,9 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %{l_shtool} subst \
+        -e 's;ctime(\(&current_time.tv_sec\));ctime((time_t *) \1);' \
+        xplanetbg.cc
 
 %build
     CC="%{l_cc}" \