freebsd-ports/multimedia/k9copy-kde4/files/patch-libk9copy_k9dvdtitle.cpp
Edwin Groothuis f0098e5d43 [UPDATE PORT] multimedia/k9copy
This is port update for newer 1.0.2 version of k9copy.
	Previous port version don't build on 4.x due to missing
	stdint.h so in this version of port every include of stdint.h
	wrapped with ifdef falling back to inttypes.h where stdint.h
	isn't availible and inttypes.h present. So now k9copy should
	be buildable on 4.x. I cant check it cause I do not have
	any 4.x box around.

PR:		ports/91356
Submitted by:	Alexander V. Ribchansky <triosoft@triosoft.com.ua>
2006-01-07 00:43:19 +00:00

15 lines
402 B
C++

--- libk9copy/k9dvdtitle.cpp.orig Thu Jan 5 06:16:57 2006
+++ libk9copy/k9dvdtitle.cpp Thu Jan 5 06:17:14 2006
@@ -31,7 +31,11 @@
#include <stdlib.h>
#include <unistd.h>
#include <qvaluelist.h>
-#include <stdint.h>
+#ifdef HAVE_STDINT_H
+ #include <stdint.h>
+#elif defined(HAVE_INTTYPES_H)
+ #include <inttypes.h>
+#endif
//*******************k9DVDAudioStream**************