- Update to 3.10.2 * Fix crash in right-click / menu rendering code on some distributions - Drop 'feh-fix_pointer_arithmetics.patch' - Update keyring OBS-URL: https://build.opensuse.org/request/show/1142085 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/feh?expand=0&rev=126
29 lines
955 B
Diff
29 lines
955 B
Diff
Index: feh-3.10.2/config.mk
|
|
===================================================================
|
|
--- feh-3.10.2.orig/config.mk
|
|
+++ feh-3.10.2/config.mk
|
|
@@ -36,8 +36,8 @@ icon_dir = ${ICON_PREFIX}/hicolor
|
|
scalable_icon_dir = ${icon_dir}/scalable/apps
|
|
|
|
# default CFLAGS
|
|
-CFLAGS ?= -g -O2
|
|
-CFLAGS += -Wall -Wextra -pedantic
|
|
+OPTFLAGS = -g -O2
|
|
+CFLAGS += -Wall -Wextra -pedantic $(OPTFLAGS)
|
|
|
|
# Settings for glibc >= 2.19 - may need to be adjusted for other systems
|
|
CFLAGS += -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_DARWIN_C_SOURCE
|
|
Index: feh-3.9/src/Makefile
|
|
===================================================================
|
|
--- feh-3.10.2.orig/src/Makefile
|
|
+++ feh-3.10.2/src/Makefile
|
|
@@ -42,7 +42,7 @@ I_SRCS = ${shell echo *.raw}
|
|
I_DSTS = ${I_SRCS:.raw=.inc}
|
|
|
|
feh: deps.mk ${OBJECTS} ${I_DSTS}
|
|
- ${CC} ${LDFLAGS} ${CFLAGS} -o $@ ${OBJECTS} ${LDLIBS}
|
|
+ @${CC} ${LDFLAGS} ${CFLAGS} -o $@ ${OBJECTS} ${LDLIBS}
|
|
|
|
include deps.mk
|
|
|