forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
warmux-11.04.1-gentoo.patch
40 lines (37 loc) · 1.51 KB
/
warmux-11.04.1-gentoo.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
diff -ru warmux-11.04.orig/configure.ac warmux-11.04/configure.ac
--- warmux-11.04.orig/configure.ac 2011-04-18 16:46:12.000000000 -0400
+++ warmux-11.04/configure.ac 2011-04-19 11:17:27.380256500 -0400
@@ -43,8 +43,6 @@
AC_MSG_ERROR([*** No C++ compiler can be found!])
fi
-AX_CFLAGS_WARN_ALL([CXXFLAGS])
-
# ==========================================================================
# == Set flags for various environments =
# ==========================================================================
@@ -348,14 +346,9 @@
exit 1
fi
-dnl === Add Werror flag for gcc/g++ if debug mode is enabled, ==============
-dnl === but allow RTTI (ie dynamic_cast, typeid/typeinfo unavailable) ======
-if test "x${debug}" = "xyes"; then
+if test "x${debug}" != "xyes"; then
- CFLAGS="$CFLAGS -Werror"
- CXXFLAGS="$CXXFLAGS -Werror"
-else
CXXFLAGS="$CXXFLAGS -fno-rtti"
fi
dnl === Forbid exceptions (Android platform requirement) ===================
CXXFLAGS="$CXXFLAGS -fno-exceptions"
diff -ru warmux-11.04.orig/data/Makefile.am warmux-11.04/data/Makefile.am
--- warmux-11.04.orig/data/Makefile.am 2011-04-18 16:46:11.000000000 -0400
+++ warmux-11.04/data/Makefile.am 2011-04-19 11:17:45.134724536 -0400
@@ -1,8 +1,2 @@
-xdg_appsdir = $(prefix)/share/applications
-xdg_apps_DATA = warmux.desktop warmux_files.desktop
-pixmapsdir = $(prefix)/share/pixmaps
-pixmaps_DATA = icon/warmux_128x128.png
-
nobase_dist_pkgdata_DATA = @DATA_FILES@
pkgdatadir = @DATADIR@
-EXTRA_DIST = $(pixmaps_DATA)