[Scribus] scribus-0.9.10 Patch for hpux 11.00

Gansser, Martin MGansser
Mon May 19 12:47:10 CEST 2003


Hi,

I tried to compile scribus-0.9.10 on hpux 11.00 but it fails with
a error message like this:

scfonts_ttf.cpp:556: `u_int16_t' undeclared (first use this function)

with the following patch, it compiles fine.

--- scribus-0.9.10/scribus/scfonts_ttftypes.h.orig      2003-05-19 12:20:37.000000000 +0200
+++ scribus-0.9.10/scribus/scfonts_ttftypes.h   2003-05-19 11:00:10.000000000 +0200
@@ -1,6 +1,12 @@
 #ifndef SCFONTS_TTFTYPES_H
 #define SCFONTS_TTFTYPES_H

+#if defined(__hpux)
+  typedef unsigned char u_int8_t;
+  typedef unsigned short u_int16_t;
+  typedef unsigned int u_int32_t;
+#endif
+
 #include <sys/types.h>

 #ifndef MAKE_ID

could someone comitte this patch ?

thanks Martin



More information about the scribus mailing list