24803164 If sounds enabled, gnome apps die in new libcanberra
authorNiveditha Rau <Niveditha.Rau@Oracle.COM>
Thu, 06 Oct 2016 10:27:46 -0700
changeset 7064 b71ebfb2c255
parent 7063 c478967a99d2
child 7065 3b4c4feebc4f
24803164 If sounds enabled, gnome apps die in new libcanberra
components/desktop/libogg/Makefile
--- a/components/desktop/libogg/Makefile	Thu Oct 06 13:05:51 2016 -0700
+++ b/components/desktop/libogg/Makefile	Thu Oct 06 10:27:46 2016 -0700
@@ -41,4 +41,15 @@
 
 CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
 
+# Merge 32-bit & 64-bit versions of config_types.h 
+install: $(BUILD_DIR)/.merged-header
+
+$(BUILD_DIR)/.merged-header: $(BUILD_DIR_32)/.installed $(BUILD_DIR_64)/.installed
+	-$(RM) $(PROTO_DIR)/include/ogg/config_types.h
+	$(GDIFF) -D _LP64 \
+	    $(BUILD_DIR_32)/include/ogg/config_types.h $(BUILD_DIR_64)/include/ogg/config_types.h \
+	    > $(PROTO_DIR)/usr/include/ogg/config_types.h; \
+	diffstatus=$$? ; \
+	if (( $$diffstatus != 1 )) ; then exit $$diffstatus ; fi
+
 REQUIRED_PACKAGES += system/library/math