File: missing_include_header.patch

package info (click to toggle)
vienna-rna 2.7.0%2Bdfsg-1
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 52,744 kB
  • sloc: ansic: 190,110; python: 18,223; cpp: 18,009; perl: 6,445; pascal: 4,668; makefile: 3,184; sh: 1,084; xml: 350; fortran: 183; javascript: 5
file content (19 lines) | stat: -rw-r--r-- 627 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: adding missing inclusion of parent directory in the cflags
Author: Pierre Gruet <pgt@debian.org>
Forwarded: no
Last-Update: 2025-09-20

--- a/src/ViennaRNA/Makefile.am
+++ b/src/ViennaRNA/Makefile.am
@@ -2,9 +2,9 @@
 
 include $(top_srcdir)/silent_rules.mk
 
-AM_CFLAGS = $(RNA_CFLAGS) $(PTHREAD_CFLAGS)
+AM_CFLAGS = $(RNA_CFLAGS) -I../ $(PTHREAD_CFLAGS)
 AM_CXXFLAGS = $(RNA_CXXFLAGS) $(PTHREAD_CFLAGS)
-AM_CPPFLAGS = $(RNA_CPPFLAGS) -I$(top_srcdir)/src ${JSON_INC}
+AM_CPPFLAGS = $(RNA_CPPFLAGS) -I../ -I$(top_srcdir)/src ${JSON_INC}
 AM_LDFLAGS = $(RNA_LDFLAGS) $(PTHREAD_LIBS)
 
 SUBDIRS = static @NAVIEW_DIR@