diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-11-20 15:20:57 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-11-20 15:23:57 +0100 |
commit | 18c8587b2494fff7712b13021e54c16c8703cad6 (patch) | |
tree | 45fe82e8c69fefa96abf391304c72ebb8b5985d5 /x11-misc/habak/files | |
parent | media-video/rav1e: Initial ebuild (diff) | |
download | gentoo-18c8587b2494fff7712b13021e54c16c8703cad6.tar.gz gentoo-18c8587b2494fff7712b13021e54c16c8703cad6.tar.bz2 gentoo-18c8587b2494fff7712b13021e54c16c8703cad6.zip |
x11-misc/habak: Update HOMEPAGE/SRC_URI
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Fixes: https://bugs.gentoo.org/700712
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-misc/habak/files')
-rw-r--r-- | x11-misc/habak/files/habak-0.2.5-gentoo.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/x11-misc/habak/files/habak-0.2.5-gentoo.patch b/x11-misc/habak/files/habak-0.2.5-gentoo.patch new file mode 100644 index 000000000000..2dd77451f8ad --- /dev/null +++ b/x11-misc/habak/files/habak-0.2.5-gentoo.patch @@ -0,0 +1,30 @@ +--- a/src/Makefile +--- b/src/Makefile +@@ -2,22 +2,22 @@ + #LDFLAGS = -L/usr/X11R6/lib -lImlib2 -lm -g -ggdb + + CFLAGS += -I/usr/X11R6/include -Wall +-LDFLAGS += -L/usr/X11R6/lib -lImlib2 -lm ++LIBS = -lm $(shell $(PKG_CONFIG) --libs imlib2 x11) + + all: habak + ln -f habak ../habak + + habak: xcore.o random.o habak.o +- gcc $(LDFLAGS) -o habak xcore.o random.o habak.o ++ $(CC) $(CFLAGS) $(LDFLAGS) -o habak xcore.o random.o habak.o $(LIBS) + + habak.o: habak.c types.h defaults.h proto.h +- gcc $(CFLAGS) -c habak.c -o habak.o ++ $(CC) $(CFLAGS) -c habak.c -o habak.o + + random.o: random.c proto.h +- gcc $(CFLAGS) -c random.c -o random.o ++ $(CC) $(CFLAGS) -c random.c -o random.o + + xcore.o: xcore.c +- gcc $(CFLAGS) -c xcore.c -o xcore.o ++ $(CC) $(CFLAGS) -c xcore.c -o xcore.o + + clean: + rm habak *.o |