View | Details | Raw Unified | Return to bug 192177 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (+3 lines)
Lines 28-33 Link Here
28
	@${REINPLACE_CMD} \
28
	@${REINPLACE_CMD} \
29
		-e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/umurmur.conf.example
29
		-e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/umurmur.conf.example
30
30
31
pre-build:
32
	${PREFIX}/bin/protoc-c -I${WRKSRC}/src --c_out=${WRKSRC}/src ${WRKSRC}/src/Mumble.proto
33
31
post-install:
34
post-install:
32
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/umurmur
35
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/umurmur
33
	${INSTALL_DATA} ${WRKSRC}/umurmur.conf.example ${STAGEDIR}${PREFIX}/etc/umurmur/umurmur.conf.sample
36
	${INSTALL_DATA} ${WRKSRC}/umurmur.conf.example ${STAGEDIR}${PREFIX}/etc/umurmur/umurmur.conf.sample
(-)files/patch-configure (+54 lines)
Line 0 Link Here
1
--- configure.orig	2013-06-09 11:59:19.000000000 -0700
2
+++ configure	2014-07-27 14:46:31.000000000 -0700
3
@@ -4233,9 +4233,9 @@
4
 
5
 done
6
 
7
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for protobuf_c_data_buffer_init in -lprotobuf-c" >&5
8
-$as_echo_n "checking for protobuf_c_data_buffer_init in -lprotobuf-c... " >&6; }
9
-if ${ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init+:} false; then :
10
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for protobuf_c_version_number in -lprotobuf-c" >&5
11
+$as_echo_n "checking for protobuf_c_version_number in -lprotobuf-c... " >&6; }
12
+if ${ac_cv_lib_protobuf_c_version_number+:} false; then :
13
   $as_echo_n "(cached) " >&6
14
 else
15
   ac_check_lib_save_LIBS=$LIBS
16
@@ -4246,30 +4246,31 @@
17
 /* Override any GCC internal prototype to avoid an error.
18
    Use char because int might match the return type of a GCC
19
    builtin and then its argument prototype would still apply.  */
20
+#include <stdint.h>
21
 #ifdef __cplusplus
22
 extern "C"
23
 #endif
24
-char protobuf_c_data_buffer_init ();
25
+uint32_t protobuf_c_version_number ();
26
 int
27
 main ()
28
 {
29
-return protobuf_c_data_buffer_init ();
30
+return protobuf_c_version_number () == 0;
31
   ;
32
   return 0;
33
 }
34
 _ACEOF
35
 if ac_fn_c_try_link "$LINENO"; then :
36
-  ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init=yes
37
+  ac_cv_lib_protobuf_c_version_number=yes
38
 else
39
-  ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init=no
40
+  ac_cv_lib_protobuf_c_version_number=no
41
 fi
42
 rm -f core conftest.err conftest.$ac_objext \
43
     conftest$ac_exeext conftest.$ac_ext
44
 LIBS=$ac_check_lib_save_LIBS
45
 fi
46
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init" >&5
47
-$as_echo "$ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init" >&6; }
48
-if test "x$ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init" = xyes; then :
49
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_protobuf_c_version_number" >&5
50
+$as_echo "$ac_cv_lib_protobuf_c_version_number" >&6; }
51
+if test "x$ac_cv_lib_protobuf_c_version_number" = xyes; then :
52
   cat >>confdefs.h <<_ACEOF
53
 #define HAVE_LIBPROTOBUF_C 1
54
 _ACEOF

Return to bug 192177