pkgsrc/misc/celestia/patches/patch-src_celmath_mathlib.h
dholland ebcd261201 Update to 1.6.1. Reset PKGREVISION from 38 (!).
Upstream changes: 5+ years of development; try these links:
   http://www.shatters.net/celestia/161changes.txt
   http://www.shatters.net/celestia/features/160-features.html
   http://www.shatters.net/celestia/151changes.txt
   http://www.shatters.net/celestia/150-feature-summary.html

Restrictions:
   1. The Lua support still does not build, and given that I had to
      patch it to compile at all with Lua disabled it may not work all
      that well this way.
   2. The optional KDE (kde3) build is almost certainly broken; I will
      get to this in a few days if nobody beats me to it.
2013-10-27 21:21:26 +00:00

13 lines
319 B
C

$NetBSD: patch-src_celmath_mathlib.h,v 1.3 2013/10/27 21:21:26 dholland Exp $
--- src/celmath/mathlib.h.orig 2011-06-05 16:11:15.000000000 +0000
+++ src/celmath/mathlib.h
@@ -11,7 +11,7 @@
#define _CELMATH_MATHLIB_H_
#include <cmath>
-#include <stdlib.h>
+#include <cstdlib>
#define PI 3.14159265358979323846