wok-next diff arj/stuff/patches/no_remove_static_const.patch @ rev 20068
Up libcanberra (gtk2 and gtk3 support), vala (0.36.4), dconf (0.26.0), gucharmap3 (10.0.0), pycairo (1.15.3), pygobject3 (3.26.0), libgtop. Add dconf-editor, gtksourceview3.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 24 17:49:57 2017 +0300 (2017-10-24) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/arj/stuff/patches/no_remove_static_const.patch Tue Oct 24 17:49:57 2017 +0300 1.3 @@ -0,0 +1,20 @@ 1.4 +#DPATCHLEVEL=1 1.5 +diff -Naur arj-3.10.22.orig/gnu/makefile.in arj-3.10.22/gnu/makefile.in 1.6 +--- arj-3.10.22.orig/gnu/makefile.in 2004-04-17 14:28:06.000000000 +0300 1.7 ++++ arj-3.10.22/gnu/makefile.in 2005-08-04 21:50:24.000000000 +0300 1.8 +@@ -192,6 +192,15 @@ 1.9 + dispose: 1.10 + 1.11 + # 1.12 ++# XXX: Do not use -O2, it removes the static const variable with gcc 4.x 1.13 ++# 1.14 ++ 1.15 ++INTEGR_DIRS = $(ARJ_DIR) $(REARJ_DIR) $(ARJCRYPT_DIR) $(REGISTER_DIR) 1.16 ++ 1.17 ++$(patsubst %,%/integr.o, $(INTEGR_DIRS)): $(SRC_DIR)/integr.c 1.18 ++ $(CC) -Wall -g -c -o$@ $< 1.19 ++ 1.20 ++# 1.21 + # The tools 1.22 + # 1.23 +