HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to Ticket #245

Ticket #245: libebml-1.0.0.patch_v3

File libebml-1.0.0.patch_v3, 1.3 KB (added by disreali, 5 years ago)

fixes extra else error

Line 
1diff -urN libebml-1.0.0/ebml/c/libebml_t.h libebml-1.0.0-haiku/ebml/c/libebml_t.h
2--- libebml-1.0.0/ebml/c/libebml_t.h    2010-03-23 11:58:36.007077888 +0000
3+++ libebml-1.0.0-haiku/ebml/c/libebml_t.h      2010-06-30 15:54:51.796131328 +0000
4@@ -72,7 +72,7 @@
5     typedef uint16_t uint16;
6     typedef uint8_t uint8;
7 # endif // __GNUC__
8-#elif defined(__BEOS__)
9+#elif defined(__BEOS__) || defined(__HAIKU__)
10 #include <SupportDefs.h>
11 #elif defined(DJGPP)                           /* SL : DJGPP doesn't support POSIX types ???? */
12     typedef signed long long int64;
13@@ -98,7 +98,7 @@
14     typedef uint32_t uint32;
15     typedef uint16_t uint16;
16     typedef uint8_t uint8;
17-#elif defined(__BEOS__)
18+#elif defined(__BEOS__) || defined (__HAIKU__)
19 # include <support/SupportDefs.h>
20 #else // anything else (Linux, BSD, ...)
21 # include <inttypes.h>
22diff -urN libebml-1.0.0/make/linux/Makefile libebml-1.0.0-haiku/make/linux/Makefile
23--- libebml-1.0.0/make/linux/Makefile   2010-06-04 08:44:54.013107200 +0000
24+++ libebml-1.0.0-haiku/make/linux/Makefile     2010-06-30 15:56:44.801374208 +0000
25@@ -13,6 +13,9 @@
26 # BeOS wants the libs and headers in /boot/home/config
27 ifeq (BeOS,$(shell uname -s))
28 prefix=/boot/home/config
29+endif
30+# Haiku wants the libs and headers in /boot/common
31+ifeq (Haiku,$(shell uname -s))
32+prefix=/boot/common
33 else
34 prefix=/usr/local
35 endif

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/