summaryrefslogtreecommitdiff
path: root/dev-ros/navfn/files
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-09-30 13:21:09 +0200
committerAlexis Ballier <aballier@gentoo.org>2015-09-30 14:03:50 +0200
commit8180f9d39f5f4c2dcc0707b082cd14b493fc7b2a (patch)
treebea2043a0d6259113cc902be38627aab1cfea323 /dev-ros/navfn/files
parent61b812216841a9ac06ce96e4a4deaf0aceff34a5 (diff)
downloadgentoo-8180f9d39f5f4c2dcc0707b082cd14b493fc7b2a.tar.gz
gentoo-8180f9d39f5f4c2dcc0707b082cd14b493fc7b2a.tar.xz
dev-ros/navfn: Initial import. Ebuild by me.
Package-Manager: portage-2.2.22
Diffstat (limited to 'dev-ros/navfn/files')
-rw-r--r--dev-ros/navfn/files/pgm_h_location.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-ros/navfn/files/pgm_h_location.patch b/dev-ros/navfn/files/pgm_h_location.patch
new file mode 100644
index 00000000000..683a9556ddc
--- /dev/null
+++ b/dev-ros/navfn/files/pgm_h_location.patch
@@ -0,0 +1,26 @@
+Index: navigation-1.13.0/navfn/src/navtest.cpp
+===================================================================
+--- navigation-1.13.0.orig/navfn/src/navtest.cpp
++++ navigation-1.13.0/navfn/src/navtest.cpp
+@@ -21,7 +21,7 @@ using namespace navfn;
+ extern "C" {
+ #include <stdio.h>
+ // pgm.h is not very friendly with system headers... need to undef max() and min() afterwards
+-#include <pgm.h>
++#include <netpbm/pgm.h>
+ #undef max
+ #undef min
+ }
+Index: navigation-1.13.0/navfn/src/read_pgm_costmap.cpp
+===================================================================
+--- navigation-1.13.0.orig/navfn/src/read_pgm_costmap.cpp
++++ navigation-1.13.0/navfn/src/read_pgm_costmap.cpp
+@@ -37,7 +37,7 @@
+ extern "C" {
+ #include <stdio.h>
+ // pgm.h is not very friendly with system headers... need to undef max() and min() afterwards
+-#include <pgm.h>
++#include <netpbm/pgm.h>
+ #undef max
+ #undef min
+ }