File: Include-netpbm-files-from-netpbm-subdir.patch

package info (click to toggle)
astrometry.net 0.93%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 19,372 kB
  • sloc: ansic: 163,192; python: 18,357; makefile: 1,522; sh: 138; cpp: 78; pascal: 67; awk: 56; perl: 9
file content (49 lines) | stat: -rw-r--r-- 1,190 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
From: Ole Streicher <olebole@debian.org>
Date: Fri, 5 Aug 2022 14:10:35 +0200
Subject: Include netpbm files from netpbm subdir

---
 util/an-pnmtofits.c     | 2 +-
 util/cairoutils.c       | 2 +-
 util/os-features-test.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/util/an-pnmtofits.c b/util/an-pnmtofits.c
index a9ce928..4ae394d 100644
--- a/util/an-pnmtofits.c
+++ b/util/an-pnmtofits.c
@@ -9,7 +9,7 @@
 #include "os-features-config.h" // for HAVE_NETPBM.
 
 #if HAVE_NETPBM
-#include <pam.h>
+#include <netpbm/pam.h>
 #else
 #include <arpa/inet.h>
 #endif
diff --git a/util/cairoutils.c b/util/cairoutils.c
index 58eef53..c46f699 100644
--- a/util/cairoutils.c
+++ b/util/cairoutils.c
@@ -18,7 +18,7 @@
 #include "os-features.h"
 
 #if HAVE_NETPBM
-#include <ppm.h>
+#include <netpbm/ppm.h>
 #endif
 
 #include "ioutils.h"
diff --git a/util/os-features-test.c b/util/os-features-test.c
index 0c1e615..e466dd1 100644
--- a/util/os-features-test.c
+++ b/util/os-features-test.c
@@ -5,7 +5,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 
-#include <pam.h>
+#include <netpbm/pam.h>
 int main(int argc, char** args) {
     struct pam img;
     pm_init(args[0], 0);