gc/gc-7.0-compat_header.patch

26 lines
938 B
Diff

diff -up /dev/null gc-7.0/include/extra/gc.h
--- /dev/null 2007-08-28 14:44:51.958644302 -0500
+++ gc-7.0/include/extra/gc.h 2007-08-29 10:02:34.000000000 -0500
@@ -0,0 +1,2 @@
+/* This file is installed for backward compatibility. */
+#include <gc/gc.h>
diff -up /dev/null gc-7.0/include/extra/gc_cpp.h
--- /dev/null 2007-08-28 14:44:51.958644302 -0500
+++ gc-7.0/include/extra/gc_cpp.h 2007-08-29 10:02:34.000000000 -0500
@@ -0,0 +1,2 @@
+/* This file is installed for backward compatibility. */
+#include <gc/gc_cpp.h>
diff -up gc-7.0/include/include.am.compat_header gc-7.0/include/include.am
--- gc-7.0/include/include.am.compat_header 2005-10-10 17:33:34.000000000 -0500
+++ gc-7.0/include/include.am 2007-08-29 10:03:21.000000000 -0500
@@ -52,3 +52,9 @@ dist_noinst_HEADERS += \
include/cord.h \
include/ec.h \
include/javaxfc.h
+
+# unprefixed header
+include_HEADERS += \
+ include/extra/gc.h \
+ include/extra/gc_cpp.h
+