mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
While here add a couple of patches obtain from the fedora project to fix compilation with modern compilers and allows to build with lua 5.2 Switch lua to lua 5.2 version Use desktop file provided by upstream instead of the version provided in the ports (the upstream version is more complete) Switch to USES=libtool Now that overlinking is not happening anymore fix the glut version not linking properly because it lacks an explicit link to libGL.
22 lines
846 B
Diff
22 lines
846 B
Diff
diff -up celestia-1.6.1/src/celengine/frametree.h.gcc47 celestia-1.6.1/src/celengine/frametree.h
|
|
--- celestia-1.6.1/src/celengine/frametree.h.gcc47 2012-03-22 12:56:56.096087430 -0400
|
|
+++ celestia-1.6.1/src/celengine/frametree.h 2012-03-22 12:57:04.333022427 -0400
|
|
@@ -13,6 +13,7 @@
|
|
#ifndef _CELENGINE_FRAMETREE_H_
|
|
#define _CELENGINE_FRAMETREE_H_
|
|
|
|
+#include <unistd.h>
|
|
#include <vector>
|
|
|
|
class Star;
|
|
diff -up celestia-1.6.1/src/celengine/planetgrid.cpp.gcc47 celestia-1.6.1/src/celengine/planetgrid.cpp
|
|
--- celestia-1.6.1/src/celengine/planetgrid.cpp.gcc47 2012-03-22 12:53:01.496950513 -0400
|
|
+++ celestia-1.6.1/src/celengine/planetgrid.cpp 2012-03-22 12:53:08.812891865 -0400
|
|
@@ -12,6 +12,7 @@
|
|
|
|
#include <cstdio>
|
|
#include <cmath>
|
|
+#include <celmath/mathlib.h>
|
|
#include <celmath/intersect.h>
|
|
#include "planetgrid.h"
|
|
#include "body.h"
|