mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
dev-embedded/qdl: Drop version 1.0
Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
#Created by Quincy Fleming
|
||||
#Failure to compile without include "<stdlib.h>"
|
||||
#Bug: https://bugs.gentoo.org/927801
|
||||
--- a/patch.c
|
||||
+++ b/patch.c
|
||||
@@ -30,6 +30,7 @@
|
||||
*/
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
+#include <stdlib.h>
|
||||
#include <libxml/parser.h>
|
||||
#include <libxml/tree.h>
|
||||
|
||||
--- a/program.c
|
||||
+++ b/program.c
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
+#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <libxml/parser.h>
|
||||
#include <libxml/tree.h>
|
||||
@@ -1,17 +0,0 @@
|
||||
#Created by Quincy Fleming
|
||||
#CFLAGS and LDFLAGS were not being respected
|
||||
#Bug links: https://bugs.gentoo.org/910480 https://bugs.gentoo.org/910481
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,8 +1,8 @@
|
||||
OUT := qdl
|
||||
|
||||
-CFLAGS := -O2 -Wall -g `xml2-config --cflags`
|
||||
-LDFLAGS := `xml2-config --libs`
|
||||
-prefix := /usr/local
|
||||
+CFLAGS += `${PKG_CONFIG} --cflags libxml-2.0`
|
||||
+LDFLAGS += `${PKG_CONFIG} --libs libxml-2.0 libudev`
|
||||
+prefix = ${EPREFIX}/usr
|
||||
|
||||
SRCS := firehose.c qdl.c sahara.c util.c patch.c program.c
|
||||
OBJS := $(SRCS:.c=.o)
|
||||
Reference in New Issue
Block a user