diff options
Diffstat (limited to 'app-laptop/pommed/files/pommed-1.21-r1.patch')
-rw-r--r-- | app-laptop/pommed/files/pommed-1.21-r1.patch | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/app-laptop/pommed/files/pommed-1.21-r1.patch b/app-laptop/pommed/files/pommed-1.21-r1.patch new file mode 100644 index 000000000000..5b899a369f1b --- /dev/null +++ b/app-laptop/pommed/files/pommed-1.21-r1.patch @@ -0,0 +1,75 @@ +diff -ru pommed-1.21~/gpomme/Makefile pommed-1.21/gpomme/Makefile +--- pommed-1.21~/gpomme/Makefile 2008-12-21 13:38:27.000000000 +0100 ++++ pommed-1.21/gpomme/Makefile 2008-12-21 14:06:46.000000000 +0100 +@@ -17,8 +17,8 @@ + + INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H) + +-CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(GLADE_CFLAGS) $(INOTIFY_CFLAGS) +-LDFLAGS = -lpthread $(DBUS_LIBS) $(DBUSGLIB_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) $(GLADE_LIBS) ++CFLAGS += -g -Wall $(DBUS_CFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(CONFUSE_CFLAGS) $(GLADE_CFLAGS) $(INOTIFY_CFLAGS) ++LDFLAGS += -lpthread $(DBUS_LIBS) $(DBUSGLIB_LIBS) $(GTK_LIBS) $(CONFUSE_LIBS) $(GLADE_LIBS) + + SOURCES = gpomme.c theme.c conffile.c \ + ../client-common/dbus-client.c \ +@@ -33,6 +33,7 @@ + mo: $(MOFILES) + + gpomme: $(OBJS) $(LIBS) ++ ${CC} -o $@ ${OBJS} ${LIBS} ${LDFLAGS} + + gpomme.o: gpomme.c gpomme.h theme.h ../client-common/dbus-client.h ../client-common/video-client.h + +diff -ru pommed-1.21~/pommed/Makefile pommed-1.21/pommed/Makefile +--- pommed-1.21~/pommed/Makefile 2008-12-21 13:38:27.000000000 +0100 ++++ pommed-1.21/pommed/Makefile 2008-12-21 14:04:52.000000000 +0100 +@@ -16,9 +16,9 @@ + + INOTIFY_CFLAGS = $(shell test -e /usr/include/sys/inotify.h || echo -DNO_SYS_INOTIFY_H) + +-CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) ++CFLAGS += -g -Wall $(DBUS_CFLAGS) $(ALSA_CFLAGS) $(AUDIOFILE_CFLAGS) $(CONFUSE_CFLAGS) $(INOTIFY_CFLAGS) + +-LDFLAGS = -pthread -lrt $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS) ++LDFLAGS += -pthread -lrt $(DBUS_LIBS) $(ALSA_LIBS) $(AUDIOFILE_LIBS) $(CONFUSE_LIBS) + + ifneq (, $(findstring ppc, $(ARCH))) + OFLIB ?= +@@ -50,6 +50,7 @@ + + CFLAGS += $(LIBPCI_CFLAGS) + LDFLAGS += $(LIBPCI_LIBS) ++ LIBS = $(LIBPCI_LIBS) + else + LIBS = /usr/lib/libpci.a + LDFLAGS += -lz +@@ -66,6 +67,7 @@ + + + pommed: $(OBJS) $(LIBS) ++ ${CC} -o $@ ${OBJS} ${LIBS} ${LDFLAGS} + + pommed.o: pommed.c pommed.h evloop.h kbd_backlight.h lcd_backlight.h cd_eject.h evdev.h conffile.h audio.h dbus.h beep.h + +diff -ru pommed-1.21~/wmpomme/Makefile pommed-1.21/wmpomme/Makefile +--- pommed-1.21~/wmpomme/Makefile 2008-12-21 13:38:27.000000000 +0100 ++++ pommed-1.21/wmpomme/Makefile 2008-12-21 14:07:09.000000000 +0100 +@@ -3,8 +3,8 @@ + DBUS_CFLAGS = $(shell pkg-config dbus-1 --cflags) -DDBUS_API_SUBJECT_TO_CHANGE + DBUS_LIBS = $(shell pkg-config dbus-1 --libs) + +-CFLAGS = -g -O2 -Wall $(DBUS_CFLAGS) +-LDFLAGS = -lXpm -lXext -lX11 $(DBUS_LIBS) ++CFLAGS += -g -Wall $(DBUS_CFLAGS) ++LDFLAGS += -lXpm -lXext -lX11 $(DBUS_LIBS) + + SOURCES = wmgeneral.c wmpomme.c \ + ../client-common/dbus-client.c \ +@@ -13,6 +13,7 @@ + OBJS = $(SOURCES:%.c=%.o) + + wmpomme: $(OBJS) ++ ${CC} -o $@ ${OBJS} ${LDFLAGS} + + wmpomme.o: wmpomme.c wmgeneral.h wmpomme-master.xpm ../client-common/dbus-client.h + |