diff options
author | M.Dinslage <daedra@charter.net> | 2010-05-13 00:59:28 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:59:28 +0200 |
commit | fd43ae99e22a223602e5fa8e9932f005900fe965 (patch) | |
tree | ee8cbfe38660726da7afb239e8eaf9fa7b787c02 /misc/nvclock/patches/nvclock-use_most_CFLAGS.patch | |
parent | 771aacb37dc03e2ea87f64c157e179934b0c595a (diff) | |
download | slackbuilds-fd43ae99e22a223602e5fa8e9932f005900fe965.tar.gz |
misc/nvclock: Added to 13.0 repository
Diffstat (limited to 'misc/nvclock/patches/nvclock-use_most_CFLAGS.patch')
-rw-r--r-- | misc/nvclock/patches/nvclock-use_most_CFLAGS.patch | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/misc/nvclock/patches/nvclock-use_most_CFLAGS.patch b/misc/nvclock/patches/nvclock-use_most_CFLAGS.patch new file mode 100644 index 0000000000..ffab3c83e2 --- /dev/null +++ b/misc/nvclock/patches/nvclock-use_most_CFLAGS.patch @@ -0,0 +1,93 @@ +diff -Nur nvclock0.8b4.orig/Makefile.in nvclock0.8b4/Makefile.in +--- nvclock0.8b4.orig/Makefile.in 2008-05-11 05:25:44.000000000 -0500 ++++ nvclock0.8b4/Makefile.in 2009-01-07 16:19:12.437689102 -0600 +@@ -5,6 +5,9 @@ + mandir=${prefix}/man + DOCS= ABOUT AUTHORS ChangeLog FAQ README + ++CFLAGS=@CFLAGS@ ++CXXFLAGS=@CXXFLAGS@ ++ + all: + $(MAKE) -C src all + +diff -Nur nvclock0.8b4.orig/configure nvclock0.8b4/configure +--- nvclock0.8b4.orig/configure 2008-08-16 11:53:59.000000000 -0500 ++++ nvclock0.8b4/configure 2009-01-07 16:24:27.896687454 -0600 +@@ -3726,7 +3726,6 @@ + + + +-CFLAGS= + HAVE_GTK2=no + HAVE_QT=no + HAVE_NVCONTROL=no +diff -Nur nvclock0.8b4.orig/src/Makefile.in nvclock0.8b4/src/Makefile.in +--- nvclock0.8b4.orig/src/Makefile.in 2009-01-03 11:02:54.000000000 -0600 ++++ nvclock0.8b4/src/Makefile.in 2009-01-07 16:26:38.506689444 -0600 +@@ -1,5 +1,6 @@ + CC=@CC@ + INSTALL=@INSTALL@ ++CFLAGS=@CFLAGS@ + + nvclock_SOURCES=nvclock.c + smartdimmer_SOURCES=smartdimmer.c +@@ -31,10 +32,10 @@ + + + nvclock: $(DEPS) $(LIB) nvclock.c +- $(CC) -o nvclock $(nvclock_SOURCES) $(INCLUDES) $(LIBS) ++ $(CC) $(CFLAGS) -o nvclock $(nvclock_SOURCES) $(INCLUDES) $(LIBS) + + smartdimmer: $(DEPS) $(LIB) smartdimmer.c +- $(CC) -o smartdimmer $(smartdimmer_SOURCES) $(INCLUDES) $(LIBS) ++ $(CC) $(CFLAGS) -o smartdimmer $(smartdimmer_SOURCES) $(INCLUDES) $(LIBS) + + + clean: clean-recursive clean-app +diff -Nur nvclock0.8b4.orig/src/gtk/Makefile.in nvclock0.8b4/src/gtk/Makefile.in +--- nvclock0.8b4.orig/src/gtk/Makefile.in 2008-05-11 05:25:46.000000000 -0500 ++++ nvclock0.8b4/src/gtk/Makefile.in 2009-01-07 16:28:51.865688400 -0600 +@@ -1,7 +1,8 @@ + CC=@CC@ + INSTALL=@INSTALL@ + +-CFLAGS=@GTK_CFLAGS@ -I../backend -I../nvcontrol -I../.. ++CFLAGS=@CFLAGS@ ++CFLAGS+=@GTK_CFLAGS@ -I../backend -I../nvcontrol -I../.. + HAVE_GTK2=@HAVE_GTK2@ + HAVE_NVCONTROL=@HAVE_NVCONTROL@ + libbackend=../backend/libbackend.a +diff -Nur nvclock0.8b4.orig/src/nvcontrol/Makefile.in nvclock0.8b4/src/nvcontrol/Makefile.in +--- nvclock0.8b4.orig/src/nvcontrol/Makefile.in 2005-12-09 13:46:05.000000000 -0600 ++++ nvclock0.8b4/src/nvcontrol/Makefile.in 2009-01-07 16:29:09.340689195 -0600 +@@ -2,7 +2,8 @@ + AR=ar + RANLIB=@RANLIB@ + system=@system@ +-CFLAGS=@X11_CFLAGS@ -I../backend ++CFLAGS=@CFLAGS@ ++CFLAGS+=@X11_CFLAGS@ -I../backend + HAVE_X11=@HAVE_NVCONTROL@ + OBJECTS=libnvcontrol.o nvcontrol.o + +@@ -26,4 +27,4 @@ + rm -f Makefile + + install: +-uninstall: +\ No newline at end of file ++uninstall: +diff -Nur nvclock0.8b4.orig/src/qt/Makefile.in nvclock0.8b4/src/qt/Makefile.in +--- nvclock0.8b4.orig/src/qt/Makefile.in 2008-05-11 05:25:46.000000000 -0500 ++++ nvclock0.8b4/src/qt/Makefile.in 2009-01-07 16:29:42.410690235 -0600 +@@ -3,7 +3,8 @@ + MOC=@MOC@ + + OBJECTS=main.o qt_nvclock.o qt_nvclock.moc.o qt_xfree.o qt_xfree.moc.o +-CXXFLAGS=@QT_CFLAGS@ -I../backend ++CXXFLAGS=@CXXFLAGS@ ++CXXFLAGS+=@QT_CFLAGS@ -I../backend + HAVE_NVCONTROL=@HAVE_NVCONTROL@ + HAVE_QT=@HAVE_QT@ + libbackend=../backend/libbackend.a |