Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SilverRainZ/1ad7e905917be4e642500c01805a80dc to your computer and use it in GitHub Desktop.
Save SilverRainZ/1ad7e905917be4e642500c01805a80dc to your computer and use it in GitHub Desktop.
--- libnotify-0.7.6/libnotify/Makefile.am 2018-01-14 17:47:50.120733900 +0800
+++ libnotify-0.7.6/libnotify/Makefile.am 2018-01-14 17:50:06.243780700 +0800
@@ -60,7 +60,7 @@
s-enum-types-h: $(notify_headers) Makefile
$(AM_V_GEN) ( cd $(srcdir) && glib-mkenums \
--fhead "#ifndef _NOTIFY_ENUM_TYPES_H_\n#define _NOTIFY_ENUM_TYPES_H_\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
- --fprod "/* enumerations from \"@filename@\" */\n" \
+ --fprod "\n/* enumerations from \"@filename@\" */\n" \
--vhead "GType @enum_name@_get_type(void);\n#define NOTIFY_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
--ftail "G_END_DECLS\n\n#endif /* _NOTIFY_ENUM_TYPES_H_ */" \
$(notify_headers) ) > tmp-$(ENUM_FILE).h \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment